Tip: You created a function and you want to remove it:
1 2 3 4 5 6 |
# List Get-Item -Path Function:\Get-Something Get-ChildItem -Path Function:\Get-Something # Remove Remove-Item -Path Function:\Get-Something |
To remove several functions at the same time : Remove-Item -Path Function:Get-Something1, Function:Get-Something2
Note: PowerShell includes a function provider (acts as a file system drive):