Advertisement
_bolek_

Untitled

Dec 10th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.75 KB | None | 0 0
  1. {
  2.     "sessionId":"442a8cc7-0145-47a5-8814-e48aa2d26ef6",
  3.     "completed":"True",
  4.     "results":[
  5.         {
  6.             "isEnabled":true,
  7.             "requiresNLA":true,
  8.             "ports":[3389],
  9.             "enabledSource":"System"
  10.         }
  11.     ],
  12.     "errors":[
  13.         {
  14.             "errorType":"RemoteException",
  15.             "message":"You must specify an object for the Get-Member cmdlet.",
  16.             "detailRecord":{
  17.                 "hResult":-2146233087,
  18.                 "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
  19.                 "line":"if ((Get-Member -InputObject $registryKey -name \"fDenyTSConnections\" -MemberType Properties) -and ($registryKey.fDenyTSConnections -ne $null)) {\n",
  20.                 "offsetInline":6,
  21.                 "scriptLineNumber":26,
  22.                 "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"
  23.             },
  24.         },{
  25.             "errorType":"RemoteException",
  26.             "message":"You must specify an object for the Get-Member cmdlet.",
  27.             "detailRecord":{
  28.                 "hResult":-2146233087,
  29.                 "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
  30.                 "line":"if ((Get-Member -InputObject $registryKey -name \"UserAuthentication\" -MemberType Properties) -and ($registryKey.UserAuthentication -ne $null)) {\n",
  31.                 "offsetInline":6,
  32.                 "scriptLineNumber":15,
  33.                 "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"
  34.             }
  35.         },{
  36.             "errorType":"RemoteException",
  37.             "message":"You must specify an object for the Get-Member cmdlet.",
  38.             "detailRecord":{
  39.                 "hResult":-2146233087,
  40.                 "remoteExceptionMessage":"System.InvalidOperationException: You must specify an object for the Get-Member cmdlet.",
  41.                 "line":"if ((Get-Member -InputObject $registryKey -name \"fDenyTSConnections\" -MemberType Properties) -and ($registryKey.fDenyTSConnections -ne $null)) {\n",
  42.                 "offsetInline":6,
  43.                 "scriptLineNumber":26,
  44.                 "scriptStackTrace":"at Get-RdpGroupPolicySettings, <No file>: line 26\r\nat Get-RdpSettings, <No file>: line 61\r\nat <ScriptBlock>, <No file>: line 110"
  45.             }
  46.         }
  47.     ],
  48.     "progress":[
  49.         {
  50.             "id":0,
  51.             "parentId":-1,
  52.             "activity":"Preparing modules for first use.",
  53.             "status":" ",
  54.             "percent":-1,
  55.             "secondsRemaining":-1,
  56.             "type":"Completed"
  57.         },{
  58.             "id":0,
  59.             "parentId":-1,
  60.             "activity":"Preparing modules for first use.",
  61.             "status":" ",
  62.             "percent":-1,
  63.             "secondsRemaining":-1,
  64.             "type":"Completed"
  65.         },{
  66.             "id":0,
  67.             "parentId":-1,
  68.             "activity":"Preparing modules for first use.",
  69.             "status":" ",
  70.             "percent":-1,
  71.             "secondsRemaining":-1,
  72.             "type":"Completed"
  73.         },{
  74.             "id":647631704,
  75.             "parentId":-1,
  76.             "activity":"Get-NetFirewallRule -Group $RdpFirewallGroup | Where-Object { $_.Profile -match \"Domain\" } | ForEach-Object {",
  77.             "status":"1/1 completed",
  78.             "percent":100,
  79.             "secondsRemaining":0,
  80.             "type":"Completed"
  81.         }
  82.     ]
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement