ipmo tentools -force; $null=Connect-TNServer -ComputerName localhost -Credential $cred; Get-TNPolicyDetail -Verbose | Get-TNPolicyLocalPortEnumeration
VERBOSE: [18:12:14][Get-TNSession] Connected sessions: 1
VERBOSE: [18:12:14][Get-TNSession] Connected sessions: 1
VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834
VERBOSE: GET https://localhost:8834/policies with 0-byte payload
VERBOSE: received 2543-byte response of content type application/json
VERBOSE: Found one inner object
VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0
VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834
VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload
WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request.
VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0
VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834
VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload
WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request.
VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0
VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834
VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload
WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request.
VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0
VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834
VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload
WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request.
ipmo tentools -force; $null=Connect-TNServer -ComputerName localhost -Credential $cred; Get-TNPolicyDetail -Verbose | Get-TNPolicyLocalPortEnumeration VERBOSE: [18:12:14][Get-TNSession] Connected sessions: 1 VERBOSE: [18:12:14][Get-TNSession] Connected sessions: 1 VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834 VERBOSE: GET https://localhost:8834/policies with 0-byte payload VERBOSE: received 2543-byte response of content type application/json VERBOSE: Found one inner object VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0 VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834 VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request. VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0 VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834 VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request. VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0 VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834 VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request. VERBOSE: [18:12:14][Get-TNPolicyDetail] Getting details for policy with id 0 VERBOSE: [18:12:14][Invoke-TNRequest] Connecting to https://localhost:8834 VERBOSE: GET https://localhost:8834/editor/policy/0 with 0-byte payload WARNING: [18:12:14][Invoke-TNRequest] The remote server returned an error: (400) Bad Request.