Archive for the Powershell Category

Powershell Commands

| October 24th, 2016

Close all opened sessions

Get-PSSession | Remove-PSSession

Remove all variables from session

Get-Variable -Exclude PWD,*Preference | Remove-Variable -EA 0