From Ping to Power, the IT Admin's CMD to PowerShell Cheat sheet
Goatee PFE - Free Download: CMD to PowerShell Guide for AD
New Years Resolution
Hi folks. It's your friendly, neighborhood PFE again. In order to avoid the long lines to buy a treadmill the first week of January I thought I would save you some time and give you an easier New Years Resolution… Learn PowerShell.
It's time to part with "blankie".
For years many of us have relied on trusty command line utilities like PING, IPCONFIG, and REPADMIN. Some of us are still hanging on to those instead of embracing the brave new world of PowerShell.
In an effort to assist with the transition and to introduce some of the cool new cmdlets in PowerShell v3 I have created a free reference guide showing how the old meets the new. For example, instead of PING try the PowerShell cmdlet Test-Connection, instead of NSLOOKUP use Resolve-DNSName, instead of GPUPDATE use Invoke-GPUpdate.
The guide attached at the bottom of this blog post contains four packed pages of PowerShell pleasure for your perusing.
Why?
Why would someone want to use PowerShell instead of command line utilities? There are several reasons:
...
Free Download
While studying the new 2012 cmdlets in preparation for conference talks last summer I created a quick cheat sheet for PowerShell equivalence to REPADMIN and DNSCMD. The other day I sat down and expanded this to include a raft of familiar utilities:
REPADMIN
DCPROMO
CSVDE
NETDOM
NLTEST
GPUPDATE
GPRESULTDSGET
DSQUERY
DSADD
DSMOD
DSRM
DSMOVE
DSACLSDNSCMD
NSLOOKUP
PING
IPCONFIG
NETSTATThis guide will get you off and running to convert any old batch files you still have lying around or hiding in scheduled tasks.
Four pages. Really?
Yes. I know that sounds like a lot to learn
..."
You can have my PING & IPCONFIG when you pry it from my cold, dead fingers... NOT! It's time to join the PowerShell age and start adjusting your typing muscle memory away from the tools that are decades old to a more modern set of tools. If you're not already a PowerShell user, think of these as your gateway drug... :)
No comments:
Post a Comment