Guest User

Untitled

a guest
Jan 18th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. [byte[]] $CurrentUserSid = 1,2,3
  2. [byte[]] $JobScheduleOwnerSid = 1,2,3
  3.  
  4. Clear-Host
  5.  
  6. if ($CurrentUserSid -notmatch $JobScheduleOwnerSid)
  7. {
  8. Write-Host "Not owner of the schedule - current method"
  9. }
Add Comment
Please, Sign In to add comment