feldrim / ANUC

ANUC Active Directory User Creation Tool v1.x
4 stars 3 forks source link

Elevate privileges #21

Open feldrim opened 7 years ago

feldrim commented 7 years ago

To tackle with UAC, self-elevate the script to run as Administrator.

https://blogs.msdn.microsoft.com/virtual_pc_guy/2010/09/23/a-self-elevating-powershell-script/