$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(value)
$obj.SetSpecifiedLicenseServerList("localhost")
$obj.GetSpecifiedLicenseServerList()
$obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
$obj.ChangeMode(value)
$obj.SetSpecifiedLicenseServerList("localhost")
$obj.GetSpecifiedLicenseServerList()