在powershell中可以直接调用dotnet framework的类库
PS C:Documents and SettingsAdministrator> $obj = new-object net.webclient
PS C:Documents and SettingsAdministrator> $obj.downloadstring("http://www.baidu.com")简单的两行就把百度的首页html代码显示出来了
有了dotnet的强大后盾,powershell 还有什么事情不能干呢
推荐一本powershell的书
Manning.Windows.PowerShell.in.Action.Feb.2007.eBook-BBL.pdf
对powershell讲得很深入