Having problems using "Set-Privilege -Identity"

Topics: Developer Forum, User Forum
Nov 4, 2016 at 2:42 AM
Can someone please, please help me.

I have deposited a code on github.

The URL is https://github.com/DanielAdeniji/LocalSecurityPolicySettingThruPSCX/blob/master/LocalSecurityPolicies_PSCX.ps1

Somehow I can not get the Set-Privilege to work. It does not fail, but permissions are not given.

Thanks,

Daniel