• Home
  • About
  • Contact
  • Resources
  • News
  • Home
  • About
  • Contact
  • Resources
  • News
Powershell Newbie

Get | Set | Start

All the Facts

12/19/2017

0 Comments

 

When researching a command to discover if it is Cmdlet, Function, Alias, etc.; it helps to get as much information as possible. To do this combine the powers of help and the command cmdlets.

Picture
Here we lookup mkdir with Get-Help and it pulls the help file for New-Item. We might assume that it is an alias, but lets use Get-Command to get the full story.
Picture
Now with this added information, we see that it is indeed a function that uses New-Item. Using Get-Help and Get-Command together can help us learn and better understand what we have to work with and how exactly it is working.
0 Comments



Leave a Reply.

    Joshua B. Jones, VCP6-DCV

    Professional PowerShell Fan, Automation & Virtualization Expert

    Archives

    February 2018
    January 2018
    December 2017
    November 2017
    May 2017
    August 2016

    Categories

    All

    RSS Feed

Powered by Create your own unique website with customizable templates.