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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值