Applications Systems
AppInsight for IIS - Polling produces error: Unexpected token
After adding AppInsight for IIS it fails with Unexpected token 'xXBN*' or something similar. This can also occur after updating the password for an account.
First published date
Last published date
Overview
AppInsight for IIS polling produces an error similar to the following:
Unexpected token 'xXBN*' $uri = 'https: //xxx.xx.xx.xxx:xxxx/wsman/'
$uriTemplate = '' $configurationName = 'Microsoft.PowerShell'
$retryConnectUsingFdqn = $False
$macroMissingWindowsCredentials = 'IisPowerShellMissingWindowsCredentials'
$macroUnableConnect = 'IisUnableConnectWinRmWindows'
$macroSessionsDepleted = 'IisSessionsDepletedWinRmWindows'
$macroSessionClosed = 'IisSessionClosedWinRmWindows'
$sessWsman = SwiGetPsSession $ip $login $uri $password