Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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;$last|export-csv -NoTypeInformation -Append autoreconnect.csv};start-sleep -Seconds 15}
Add Comment
Please, Sign In to add comment