Created
October 9, 2020 15:23
-
-
Save alexverboon/2bdc93cde8cd536244d3364732bb415b to your computer and use it in GitHub Desktop.
service types
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
# convert service types | |
$sku_lookup1 = @{ | |
1 ="KernelDriver" | |
2 = "FileSystemDriver" | |
4 ="Adapter" | |
8 = "RecognizerDriver" | |
16= "Win32OwnProcess" | |
32 ="Win32ShareProcess" | |
48 = "Win32" | |
208 = "Win32OwnProcess" | |
224 = "Win32ShareProcess" | |
256= "InteractiveProcess" | |
} | |
$value = 48 | |
$decoded = $sku_lookup1.Keys | foreach {$sku_lookup1.item(($_ ) -band $value)} | |
$decoded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment