PowerShell – Function to configure UAC on local or remote computer


  1. Rohan says:

    Hi Jeff,

    Where we can add the remote computer Name


  2. Jeff Wouters says:

    Hi Rohan,
    You can use the -ComputerName parameter for that. It automatically connects to the remote computer when you use the -ComputerName parameter with the name of the remote computer.

  3. John says:

    Thanks this is very helpful, I am trying to do almost the same thing but I would like to enable UAC depending on the user account that logs in.

Leave a Reply

Your email address will not be published. Required fields are marked *