PowerShell Script To Force A Local SMS 2003 Client To Rediscover It’s Site Code

This PowerShell script will force a local machine to rediscover its SMS site code.

 

PowerShell Script:

 

$smsClient = New-Object -Com Microsoft.SMS.Client

Write-Host "SMS Site Assignment: " $smsClient.ReAssignSite()

 

 

Published Sunday, November 25, 2007 6:54 AM by dhite
Filed under:

Comments

No Comments