

$Form.Text = "Connect via $ConnectionType" $Form.Icon = ::ExtractAssociatedIcon($PSHome + "\powershell.exe") & "$ExtensionsFolder\tvnviewer.exe" $ComboBox.SelectedItem $IPAddresses = Get-WmiObject -Namespace "root\SMS\site_$(Get-SCCMSiteCode)" -Class SMS_R_System -ComputerName $SiteServer -Filter "ResourceID like '$($ResourceID)'" | Select-Object -ExpandProperty IPAddresses


$SCCMSiteCode = Get-WmiObject -Namespace "root\SMS" -Class SMS_ProviderLocation -ComputerName $SiteServer | Select-Object -ExpandProperty SiteCode
#Install putty mac os mac os x#
# Mac OS X Remote Control - VNC (TightVNC) and SSH (putty)
