PowerShell Parameter Alias

PowerShell alias provides an alternate name or shortcut name for the parameter instead of using the full name of the parameter or argument. Using the …

Read more

Get Current User name in PowerShell

To get current username in PowerShell, use whoami, GetCurrent() method of WindowsIdentity .Net class or Get-WMIObject cmdlet in PowerShell. In PowerShell, there are different ways …

Read more

PowerShell Get Variables

The Get-Variable cmdlet is used to get PowerShell variables in the current scope. You can get PowerShell variable names or values only. PowerShell variables are …

Read more