Beginning of the PowerShell Script
What?
Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.
Check wiki for more information.
Learn it
To learn it, I download a PowerShell cheat sheet, it is very clear to tell out what this language is designed as.
Use Windows PowerShell ISE
The Windows PowerShell ISE is shipped with PowerShell, you can find it in the start menu list.
And with it, you can run and debug your script. When the bp is hit, you can inspect your variable by moving mouse on the variable or type the variable in command panel.
It is very useful to use 'Get-Member' CmdLet to inspect the type and avaible members of the variable.
$_ | Get-Member
Post by: Jalen Wang (转载请注明出处)
posted on 2012-08-01 09:31 Jalen Wang 阅读(125) 评论(0) 编辑 收藏 举报