This document provides an overview of a PowerShell Basics training session. It discusses the curriculum, which will cover topics like the basics of PowerShell, cmdlets, piping, and scripting over 4 days. It highlights why PowerShell is useful for system administrators by providing a simplified syntax and being more secure than VBScript. PowerShell allows familiar commands and integrates with Microsoft products like Windows, Exchange, and SQL Server.
WELCOME TO PSBASIC MODULE DEMO
This is an Overview Session, of what is
expected in the actual Power shell Basic
Training session.
We will discuss about what is the curriculum
for the Basic Module.
We will also look into the scope of the
various chapters in Basic Module.
Finally we will take a look at the Powershell .
3.
BASIC MODULE
What isPowershell ? - DAY 1
Native command Support. - DAY 1
Cmdlet Overview. – DAY 1
Cmdlet in Detail. – DAY 2
Powershell Host Implementation. DAY 2
Piping and its Significance. – DAY 3
Working with object and Powershell Formatting. – DAY 3
Understanding Powershell Output Types. – DAY 4
Intro to Scripting. – DAY 4
Conclusion – DAY 4
4.
WHY USE WINDOWSPOWERSHELL?
P O W E R S H E L L I S A G R E AT W AY T O M A N I P U L AT E S E R V E R A N D / O R
W O R K S TAT I O N C O M P O N E N T S
I T ’ S G E A R E D T O W A R D S Y S T E M A D M I N I S T R AT O R S B Y C R E AT I N G A
M O R E S I M P L I F I E D S Y N TA X B A S E
POWERSHELL IS MORE SECURE THAN RUNNING VBSCRIPTS
Q U I C K A N A LY S I S O F VA R I O U S C O M P U T E R S P E C S
5.
FAMILIAR COMMANDS
You canuse commands that you are familiar
with such as CD, PING, IPCONFIG or DIR
There are also some Unix commands that
can be used such as LS or MAN (these
commands are aliases to the actual
PowerShell commands)
Get-Alias will list the preloaded Alias’s and
will show you what Cmdlet they are mapped
to
6.
CMDLETS
The majority ofthe PowerShell functionality
comes from Cmdlet’s
Always in Verb-Noun format and never plural
(Get-WmiObject or Get-Process)
Cmdlet’s return objects not text
Retrieve list of Cmdlet’s (Get-Command)
Can tab complete
7.
PIPING
One of thetime savers in PowerShell is
giving the user the ability to pipe commands
together
Ex. Get-process | select ProcessName, ID |
Sort ProcessName | FL
OUT, SELECT, EXPORT
8.
SCRIPTS
PowerShell scripts differfrom most scripts
PowerShell scripts end in .ps1 and have to
be run inside a PowerShell window
Double clicking a PowerShell script will open
the script in notepad
Scripts must also be run in this format
9.
MICROSOFT PRODUCTS
Server 2008R2
Window 7
Exchange 2007/2010
System Center 2008 Suite
SQL 2008/2008 R2
SharePoint 2010