EXECUTING COMMANDS ON WINDOWS POWERSHELL ISE

To get the list of commands starting with “Get” on windows PowerShell ISE following command can be executed. Here “*” works as a wildcard character.

help get*

12 23 2013 10 55 59 AM
Command comes with auto complete feature, so by writing command’s first word it will auto populate related commands list and required command can be selected from dropdown of can be completed by TAB

Get-Alias gives the list of command with their alias name, for example cd command is being used as changed directory in DOS prompt which can be used in PowerShell as well, but its actual command for PowerShell is Set-Location.

Commands may contain some list of parameters and executing commands with those parameters will customized results as per the requirement. These parameters are also known as Filters. For example command Get-History gives the list of commands executed.

But if we execute the same command with –Id parameter it gives different result.

Some cmdlets requires a parameter by default. If parameter is missed by mistake it will ask for the required parameter. For example Get-LogProperties requires a log name but if it was not passed for following execution.

If cmdlets are passed with required parameters it will give results directly.

Tags

Related articles

Contact us

Let's Talk Solutions

Don’t face obstacles alone – tell us about your needs. We’ll listen, suggest options, and together build technology to accomplish your goals.

Guaranteed Follow-Up — Within One Business Day

No chasing. No hassle. It’s easy.

Schedule a Free Consultation
General Form