Created
January 9, 2018 14:57
-
-
Save RichieBzzzt/9a0a5e542e6eb50eb1963884c9381713 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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