Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "sessionId":"442a8cc7-0145-47a5-8814-e48aa2d26ef6",
- "completed":"True",
- "results":[
- {
- "isEnabled":true,
- "requiresNLA":true,
- "ports":[3389],
- "enabledSource":"System"
- }
- ],
- "errors":[
- {
- "errorType":"RemoteException",
- "message":"You must specify an object for the Get-Member cmdlet.",
- "detailRecord":{
- "hResult":-2146233087,
- "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
- "line":"if ((Get-Member -InputObject $registryKey -name \"fDenyTSConnections\" -MemberType Properties) -and ($registryKey.fDenyTSConnections -ne $null)) {\n",
- "offsetInline":6,
- "scriptLineNumber":26,
- "scriptStackTrace":"at Get-RdpGroupPolicySettings, <No file>: line 26\r\nat Test-RdpEnabled, <No file>: line 77\r\nat Get-RdpSettings, <No file>: line 57\r\nat <ScriptBlock>, <No file>: line 110"
- },
- },{
- "errorType":"RemoteException",
- "message":"You must specify an object for the Get-Member cmdlet.",
- "detailRecord":{
- "hResult":-2146233087,
- "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
- "line":"if ((Get-Member -InputObject $registryKey -name \"UserAuthentication\" -MemberType Properties) -and ($registryKey.UserAuthentication -ne $null)) {\n",
- "offsetInline":6,
- "scriptLineNumber":15,
- "scriptStackTrace":"at Get-RdpNlaGroupPolicySettings, <No file>: line 15\r\nat Test-RdpUserAuthentication, <No file>: line 105\r\nat Get-RdpSettings, <No file>: line 58\r\nat <ScriptBlock>, <No file>: line 110"
- }
- },{
- "errorType":"RemoteException",
- "message":"You must specify an object for the Get-Member cmdlet.",
- "detailRecord":{
- "hResult":-2146233087,
- "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
- "line":"if ((Get-Member -InputObject $registryKey -name \"fDenyTSConnections\" -MemberType Properties) -and ($registryKey.fDenyTSConnections -ne $null)) {\n",
- "offsetInline":6,
- "scriptLineNumber":26,
- "scriptStackTrace":"at Get-RdpGroupPolicySettings, <No file>: line 26\r\nat Get-RdpSettings, <No file>: line 61\r\nat <ScriptBlock>, <No file>: line 110"
- }
- }
- ],
- "progress":[
- {
- "id":0,
- "parentId":-1,
- "activity":"Preparing modules for first use.",
- "status":" ",
- "percent":-1,
- "secondsRemaining":-1,
- "type":"Completed"
- },{
- "id":0,
- "parentId":-1,
- "activity":"Preparing modules for first use.",
- "status":" ",
- "percent":-1,
- "secondsRemaining":-1,
- "type":"Completed"
- },{
- "id":0,
- "parentId":-1,
- "activity":"Preparing modules for first use.",
- "status":" ",
- "percent":-1,
- "secondsRemaining":-1,
- "type":"Completed"
- },{
- "id":647631704,
- "parentId":-1,
- "activity":"Get-NetFirewallRule -Group $RdpFirewallGroup | Where-Object { $_.Profile -match \"Domain\" } | ForEach-Object {",
- "status":"1/1 completed",
- "percent":100,
- "secondsRemaining":0,
- "type":"Completed"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement