Powershell Tip #35: List and remove a function

By | September 7, 2015

Tip: You created a function and you want to remove it:

list-and-delete-function

To remove several functions at the same time :  Remove-Item -Path Function:Get-Something1, Function:Get-Something2

remove-several-function

Note: PowerShell includes a function provider (acts as a file system drive):

psprovider-function-powershell


previous-buttonnext-button

Leave a Reply

Your email address will not be published.