PoshCode Archive  All files named "Set-Privilege.ps1"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for Set-Privilege.ps1

Added: I thought that it’s impossible. Some guy who calls himself gregzakh wrote a demo module called Func which allows you to invoke some WinAPI functions without defining dynamic modules in memory. This module correctly works on PowerShell v2, 4 and 5 (I have not got PowerShell v3 to test it). The script below uses Func library to set SeShutwondPrivilege privilege up for current PowerShell host. file: [b20d6a67d9] check-in: [1865d9fead] user: Dan Jones branch: trunk, size: 1292