PowerShell first cmdlets to remember…

 To start using PowerShell you most remember the following cmdlets:

1.       Get-Command

2.       Get-Help

3.       Get-PSDrive

4.       Get-Member

5.       Get-Alias


GetThese are very power commands and can get you going pretty fast.  When using the Get-Help will give you a list of what you can do with this command.  Then, with the Get-Alias you will see a list cmdlets shortcuts and you will recognized some like DIR, CD, ECHO, and DEL to name a few.

Also,  you  can use the powerful  TAB key which will help you search and/or complete your cmdlet.  Go ahead and try it:

PS> Get-P ->press the TAB key, then keep pressing the TAB key until you find the command to execute.

PS> Get-Process

And, wildcards are allow when executing the cmdlets, such as:

PS> dir a*

PS>dir  [a-e]* {WIldcard is needed}

PS> dir *a*

Of course, there’s a lot more you can do with wildcards.  So, I recommend you to execute;

PS> Get-Help Get-Content   {because DIR is really an alias of Get-Content}

I hope this will get you all started.


About maxt2posh

I’m from Puerto Rico, have been working with computers since 1979. Throughout many years, I have worked with SQL Server Technologies, provided support to Windows Servers/Client machines, Microsoft Virtualization Technologies, and build some Visual Studio solutions. I’m a Microsoft PowerShell MVP since 2009 and MVP SAPIEN Technologies since 2010. I speak in most of the SQLSaturday, IT Pro and .NET camps events around the Florida’s State. Also founder of the Florida PowerShell User Group which meeting every 3rd Tuesday evening of the month.
This entry was posted in PowerShell. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s