[System.Environment]::OSVersion.Version
Get-ItemProperty -Path 'HKLM:/Software/Policies/Microsoft/Windows NT/Terminal Services/Client'
Get-NetFirewallRule -DisplayName "Remote Desktop - User Mode*" | ft Displayname,Enabled
[System.Environment]::OSVersion.Version
Get-ItemProperty -Path 'HKLM:/Software/Policies/Microsoft/Windows NT/Terminal Services/Client'
Get-NetFirewallRule -DisplayName "Remote Desktop - User Mode*" | ft Displayname,Enabled