Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
[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"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment