Wednesday, July 18, 2018

PowerShell 1.6 : Alias , Get-alias , what is % in Powershell , what is ? in Powershell

Get-Alias cmdlet gets the aliases in the current session. This includes built-in aliases, aliases that you have set or imported, and aliases that you have added to your Windows PowerShell profile.
By default, Get-Alias takes an alias and returns the command name. When you use the Definitionparameter, Get-Alias takes a command name and returns its aliases.
what is % and ? in Powershell alias 
% - foreach-object
? - Where-object 



Featured Posts

Adding Accesspolicy to KeyVault for Service Principal Using Portal and Powershell

  Scripts path : https://drive.google.com/drive/folders/1sbBpnVFgXhUIXLdf2E9heyWDeU2f9427?usp=sharing  Adding Accesspolicy to KeyVault for S...