title: Enabling a Local User Right assignment in PowerShell
body: <p>I've asked a similar question like this before to get the Local User right in PowerShell of a certain domain user, now I would like to enable the right. There are a few rights I am looking to enable, but for this example I will use Logon as a Batch Job. Ntrights does not come with Windows Server 2008 by default, so I cannot use that method. The SID of the user is not passed from the program that I am using I cannot use secedit, but the domain and username are passed through so I can use that. I am stumped on an easy way to add multiple user rights without some arcane script. Is there a simple way to grant user rights without needing to download ntrights or without needing to know the SID of the user?</p>