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 (转载请注明出处)

转载于:https://www.cnblogs.com/jalenwang/archive/2012/08/01/power-shell.html

扫描二维码关注公众号,回复: 6588962 查看本文章

猜你喜欢

转载自blog.csdn.net/weixin_33853827/article/details/93414937