Advertisement
stephanlinke

[PRTG] Get Policy Runtime

Dec 4th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. param($computer)
  2. $Result = (Get-GPProcessingtime -Computer $computer)
  3. Write-Host ("{0}:Policy is running for {0} seconds" -f $Result.Usr_PolicyElaspedTimeInSeconds)
  4. exit 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement