Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [byte[]] $CurrentUserSid = 1,2,3
- [byte[]] $JobScheduleOwnerSid = 1,2,3
- Clear-Host
- if ($CurrentUserSid -notmatch $JobScheduleOwnerSid)
- {
- Write-Host "Not owner of the schedule - current method"
- }
Add Comment
Please, Sign In to add comment