BRONZE PARTNER:
BRONZE PARTNER:
Industry News:

| |
 |
 |
 |
| PowerShell Script To Get A Local Machines Current SMS Assigned Site Code |
 |
|
|
By: Don Hite
Posted On: 12/10/2007
This article was Previously posted on Don Hite's Blog
This PowerShell script will return a local machines currently assigned site code.
PowerShell Script:
$smsClient = New-Object -Com Microsoft.SMS.Client Write-Host "SMS Site Assignment: " $smsClient.GetAssignedSite()
|
 |
 |
 |
|
|