Advertisement
guyrleech

Monitor Citrix client auto reconnections in real time

Jan 14th, 2020
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $last=$null ; while( $true ) { $latest = Get-CimInstance -ClassName Citrix_Euem_AutoReconnect -Namespace root\citrix\euem ; if ( ! $last -or $latest.TimeStamp -gt $last.TimeStamp ) { Get-Date;$latest;$last=$latest};start-sleep -Seconds 15}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement