Back

Microsoft Scripting Windows PowerShell

Overview of scripting with Windows Powershell.

IT TRAINING
The 24-Hour Solution
Try it out,
24 hrs for $24

Prepare for an upcoming exam. Make corporate training decisions without risk. Access all of our IT training for 24 hours. Learn More
How do you make Windows administration more exciting? By automating all your repetitive tasks with PowerShell.

After watching this terrific on-the-job training, you'll say goodbye to tedium. Don Jones shows you how to remotely command your entire enterprise from a single desktop by using advanced functions to create custom commands.

While this training is not certification oriented, like all CBT Nuggets training, it gives you solid expertise in the topics it covers.

All trademarks and copyrights are the property of their respective holders.
  • Videos
  • Purchase Options
Title Duration
 
Windows Powershell - Series Intro
Overview of the series, introduction to Windows PowerShell
00:07:57
 
Introduction to Windows Powershell
This nugget covers the reasons why Microsoft developed a command-line interface and a look at how PowerShell operates as an administrative engine - not just a CLI, products that support Windows PowerShell, installing Windows PowerShell, customizing the console window.
00:26:55
 
Securing the Shell
View scripts as a security concern and how past scripting languages like VBScript created security issues; controlling script execution via the shell's Execution Policy; a primer on script signing, digital signatures, and trust; How PowerShell profiles can become a "back door" through your security; PowerShell requires a path in order to run scripts; PowerShell doesn't associate script filename extensions with the shell itself.
00:30:11
 
Using the Shell for File and Folder Management
Use the same commands you've always used - although there are some differences in how they work now; understand that spaces and quotation marks have special meaning to the shell; PSDrives adapt different forms of storage into the shell as disk drives; add and use PSDrives, differences between PSDrive capabilities, including filtering; display the contents of text files; redirect command output to text files.
00:21:11
 
Command-Line Tips, Tricks, and Gotchas
Learn how to properly use single and double quotation marks; how to use escape characters; using tab completion and command history; using -path and -literalPath parameters; using console transcripts; understanding that different console hosts may exhibit different behaviors.
00:22:52
 
Command-lets, Snap-Ins, Aliases, and Help
Understand the relationship between aliases and cmdlets; use Get-Command to discover cmdlets; obtain and read PowerShell help; runn cmdlets with parameter prompting; make, import, and export aliases; adding cmdlets via PSSnapins; create custom consoles and profiles.
00:33:53
 
Basic Command-lets for Processes, Services, and Event Logs
Learn to manage processes in the shell; Manage services in the shell; manage Event Logs in the shell; understand what information is missing from the shell; display all of the data the shell can obtain; work with remote vs. local computers.
00:22:58
 
Retrieving Management Information from Remote Computers
Understanding and Exploring Windows Management Instrumentation (WMI); using WMI with the local machine; using WMI with remote machines; specifying alternate credentials for remote connections; filtering WMI data.
00:27:17
 
Using Variables, Objects, and Members
Understanding what variables are and why they're used; creating, populating, and displaying variables; introducing objects; using simple objects like strings, numbers, and dates; viewing object members; storing and using objects in variables; removing variables; storing credentials in a variable.
00:29:09
 
Understanding the Pipeline
What is the pipeline and why does the shell use it; visualizing the pipeline; using services in the pipeline; using processes in the pipeline; piping objects to files and printers; writing simple objects to the pipeline; writing text to the console window.
00:26:58
 
Mathematical and Comparison Operators
Basic math operators; Basic comparison operators; Advanced comparisons; Case sensitivity in comparisons; command-parsing and expression-parsing modes in the shell.
00:12:38
 
Sorting, Measuring, Selecting and Filtering Objects in the Pipeline
Sorting objects; measuring objects; selecting object properties; selecting a subset of objects; filtering objects out of the pipeline; developing a workflow for creating more complex command lines in the shell.
00:26:39
 
Working with Collections of Objects in the Pipeline
Understanding and using collections/arrays; working with groups of objects as a unit; working with individual objects from a group; using objects returned from WMI to perform individual tasks.
00:15:11
 
Understanding and Using the Formatting Subsystem
Using Out-Default to turn objects into text for display; writing to the console window using Out-Host; understanding how the formatting subsystem works; using format-wide; using format-list; using format-table; creating custom table columns.
00:22:08
 
Exporting, Importing, Comparing, and Converting Objects
Exporting objects to CSV files; importing CSV files; importing and exporting from XML files; comparing collections of objects; converting objects to HTML tables.
00:20:08
 
Managing Active Directory and Local Users and Groups
Using the ADSI provider for local accounts; using ADSI for domain accounts; using the Quest cmdlets for domain accounts; importing users from CSV into AD; examining the future of AD support in the shell
00:25:16
 
Windows Powershell Scripts
Using scripts vs. using the shell interactively; reviewing script security procedures and requirements; writing a basic script; adding parameters to a script.
00:13:14
 
Windows Powershell Scripting Language
Using logical constructs; using looping constructs; using enumeration constructs; reviewing the remainder of the scripting language.
00:23:44
 
Modularization: Scriptblocks and Functions
Making and executing a scriptblock; Making a simple function; passing input to a function; producing output and returning a value from a function; writing a Ping-Host function.
00:18:14
 
Creating Functions that Work in the Pipeline
Working with multiple objects in the pipeline; creating a pipeline function; producing pipeline output from a function; converting a regular function into a pipeline function.
00:19:11
 
Creating Functions that Produce Custom Objects
Why objects are important - keeping all the info you need; creating a custom object; attaching a custom property to a custom object; outputting a custom object; converting a pipeline function to output custom objects; formatting and re-using custom object output in the pipeline.
00:16:12
 
Error Trapping and Handling in Scripts
Examining error messages and exceptions; using the -ErrorAction parameter; trapping an exception; specifying how to exit a trap; following trap scope; reviewing errors and capturing errors into a variable.
00:18:12
 
The Purpose of Debugging
Understanding the purpose of debugging; reviewing a buggy script; preventing syntax bugs; adding trace code to spot logic bugs; using the step debugger to find logic bugs.
00:21:28
 
Introduction to Regular Expressions
Recognizing data based on format; writing simple regular expressions; using the -match operator, using wildcards and repetition; using character sets and ranges; using character classes; grouping patterns; resources and examples for regular expressions; using Select-String with regular expressions to scan for text patterns in files.
00:43:05
 
Creating a Practical Administrative Tool in Windows Powershell
Define the task; break the task into components; write and test code to implement each task; assemble the final script; test and debug the final script; implement scripting best practices.
00:30:09
Total Series Duration: 9 hours
Which option is right for you?
Buy a Single Series
"Focus your training on one series, for one month, for one low price."
StreamOne
StreamOne SUBSCRIPTION
StreamOne is your monthly option for streaming access to Microsoft Scripting Windows PowerShell. One multi-user license gives you and a small team access to one full series. Cancel at any time. A StreamOne subscription gives you plenty of time to explore the benefits of CBT Nuggets, while paying for just the specific series you want.
MULTI-USER
$199
per license
$499
EDM
Download
Download Microsoft Scripting Windows PowerShell.
$499
DVD
DVD
Have Microsoft Scripting Windows PowerShell delivered on DVD.
 
Buy an Annual Subscription to Everything IT
"Eliminate your limitations. An IT Nuggets streaming subscription puts our complete IT training library at the fingertips of IT pros."
All topics. From admin to programming.
Image
IT Nuggets
Productivity for Companies and IT Advancement for Professionals
Get access to better training, and never lose it, with an IT Nuggets subscription. IT Nuggets is a multi-user product that supports all levels of your IT department, even as employees come and go. One locked-in rate gets you access to our IT training catalog, which is updated regularly and automatically at no additional charge. As long as your subscription is maintained, the rate won't change, and neither will your budget. Our full IT library is designed for Pros to keep current for career advancement and companies that want their IT Pros to reach their full potential.
YEARLY
MULTI-USER
$1999
per license
Bookmarks

No Bookmarks