摘要: 代码如下,请保存为人后辍名为ps1,用PowerShell来执行$snapin = Get-PSSnapin | where-object { $_.Name -eq'Microsoft.SharePoint.PowerShell' }if ($snapin -eq $null){write-host "Loading SharePoint PowerShell Snapin..." -foregroundcolor Blueadd-pssnapin "Microsoft.SharePoint.PowerShell"write-host 阅读全文
posted @ 2012-11-26 09:43 gzh4455 阅读(139) 评论(0) 推荐(0)