Script de ki GetUpdateServer() call kismini GetUpdateServer(
[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") | out-null
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer();
$wsus.GetSubscription().StartSynchronization();
uzak WSUS sunucunuz icin degistirilmis haline ornek ise.
[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") | out-nullWSUS Team in cok yararli olacagini dusundugum Blog Sitesi.
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(WSUSSunucunuz,false);
$wsus.GetSubscription().StartSynchronization();
No comments:
Post a Comment