Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[byte[]] $CurrentUserSid = 1,2,3
[byte[]] $JobScheduleOwnerSid = 1,2,3
if ($CurrentUserSid -notmatch $JobScheduleOwnerSid)
Write-Host "Not owner of the schedule - current method"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.