Presented by Bill Stewart
Running Time: 183 minutes
The venerable Cmd.exe command shell has been with us for many years, but it suffers from numerous syntax and behavioral quirks, most of which exist due to backward compatibility, that make writing robust scripts (batch files) difficult and error-prone. Now that PowerShell is built into Windows, it's time to leave batch files behind.
This class will teach you why you should write new scripts using PowerShell rather than Cmd.exe shell scripts (batch files).
By the end of this course, you will learn:
- Why you should write new scripts for PowerShell instead of Cmd.exe
- Why PowerShell is so much better than Cmd.exe for scripting
- Helpful tips on how to transition from Cmd.exe to PowerShell
- How to get started with scripting in PowerShell
Session 1: Introduction to PowerShell
This session will provide you with a brief history of Microsoft command shells, the explanation of why they determined to create a new scripting approach, and a brief demo of PowerShell basics for the uninitiated.
Session 2: Why Switch?
In this session, Bill will give attendees a list of a number of Cmd.exe features and limitations and how PowerShell solves them, along with a demonstration of each one.
Session 3: Real-world Scripting Examples
In the final session, Bill will present some script use cases: How we would write the code in Cmd.exe vs. how we would write the code in PowerShell. Attendees will see how PowerShell code is simpler, easier to read, and how it will save coding effort.
About Our Instructor:
Bill Stewart is a scripting guru who works with the Enterprise Technology Services group at Indian Health Service in Albuquerque, New Mexico. He has written numerous articles about Windows scripting and is a moderator for Microsoft's Official Scripting Guys Forum. He has also written some useful free tools for the Windows IT community, which are available from his website at http://www.westmesatech.com
Need to be invoiced or interested in registering 2 or more people? Please contact our customer service team at firstname.lastname@example.org or by phone at 800-262-1954 or 913-967-1719. Invoicing options and group discounts are available.