Skip to content

Commit 0d6699f

Browse files
Update Add-UserRights.ps1
1 parent a7858c6 commit 0d6699f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Powershell/Add-UserRights.ps1

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@
5050
Based heavily on the script found here: https://github.com/weloytty/QuirkyPSFunctions/blob/ab4b02f9cc05505eee97d2f744f4c9c798143af1/Source/Users/Grant-LogOnAsService.ps1
5151
I modified to my own needs: https://github.com/blakedrumm/SCOM-Scripts-and-SQL/blob/master/Powershell/Add-UserRights.ps1
5252
53+
My blog post: https://blakedrumm.com/blog/add-and-check-user-rights-assignment/#/
54+
5355
Author: Blake Drumm (blakedrumm@microsoft.com)
5456
First Created on: January 5th, 2022
5557
Last Modified on: January 5th, 2022
@@ -196,7 +198,7 @@ PROCESS
196198
}
197199
else
198200
{
199-
<# Edit line 203 to modify the default command run when this script is executed.
201+
<# Edit line 205 to modify the default command run when this script is executed.
200202
Example:
201203
Add-UserRights -UserRight SeServiceLogonRight, SeBatchLogonRight -ComputerName $env:COMPUTERNAME, SQL.contoso.com -UserName CONTOSO\User1, CONTOSO\User2
202204
#>

0 commit comments

Comments
 (0)