Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Import-Module -Name Citrix.DelegatedAdmin.Commands ## or for older CVAD Add-PSSnapin Citrix.DelegatedAdmin.*
- ## -adminaddress is not required when running on a delivery controller
- if( $newadmin = New-AdminAdministrator -Name "nt authority\system" -AdminAddress yourdeliverycontroller )
- {
- Add-AdminRight -Administrator $newadmin.Name -Role "Read Only Administrator" -Scope "All" -AdminAddress yourdeliverycontroller
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement