摘要:
$infos = @{}$infos.Path ='c:\Windows'$infos.Recurse =$true$infos.Filter ='*.log'$infos.ErrorAction ='SilentlyContinue'$infos.Remove('Recurse')dir@info...
阅读全文
posted @ 2014-06-13 17:53
momingliu11
阅读(281)
推荐(0)
编辑
摘要:
function Start-GPUpdate{param([String[]]$ComputerName)$code = {$rv = 1 |Select-Object -Property ComputerName, ExitCode$null = gpupdate.exe /force$rv.E...
阅读全文
posted @ 2014-06-13 17:46
momingliu11
阅读(638)
推荐(0)
编辑