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

2 thoughts on “Powershell Tip #35: List and remove a function

  1. Pingback: Powershell Tip #36: Create a temporary file | Powershell Guru

  2. Pingback: Powershell Tip #34: List parameter aliases for a cmdlet | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *