问问题
88 次
1 回答
0
尝试这个
[uint32]$atsc = 1
[uint32]$mfe = 1
$ts = Get-CimInstance -Namespace Root\CIMv2\TerminalServices -ClassName Win32_TerminalServiceSetting
Invoke-CimMethod -InputObject $ts -MethodName SetAllowTSConnections -Arguments @{AllowTSConnections = $atsc; ModifyFirewallException = $mfe}
于 2018-09-07T14:56:00.673 回答