# Add-PswaAuthorizationRule Syntax

**URL:** <https://forums.powershell.org/t/add-pswaauthorizationrule-syntax/3772>\
**Category:** PowerShell Help\
**Created:** [February 17, 2015, 7:36am UTC](https://forums.powershell.org/t/add-pswaauthorizationrule-syntax/3772 "2015-02-17T07:36:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete-long](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@pete-long](https://forums.powershell.org/u/pete-long)\
**Post date:** [February 17, 2015, 7:36am UTC](https://forums.powershell.org/t/add-pswaauthorizationrule-syntax/3772/1 "2015-02-17T07:36:18Z")

</div>

Hi

Im trying to add an ‘Add-PswaAuthorizationRule’ all the examples in get-help seem to be for users and not user groups?

I have a domain security Group called PowerShellAdmins, I want to grant access to domain computers, and I don’t want any restrictions, Ie ‘ConfigurationName \*’

I HAVE VERY LITTLE POWERSHELL EXP so Im guessing my user group and computer group naming is wrong?

-UserGroupName petenetlive\PowerShellAdmins it does not like  
-UserGroupName PowerShellAdmins it does not like

-ComputerGroupName “Domain Computers” it does not like  
-ComputerGroupName “petenetlive\Domain Computers” it does not like

Does anyone have an example of this commandlet use for a domain security group - and granting access to a domain computer group (with a space in it name’.

I appreciate this is a massive Noob question - but I’ve sat in one lecture and watched 3 powershell videos (bear with me.)

Pete

---

<div class="post-metadata">

**Author:** ![pete-long](https://avatars.discourse-cdn.com/v4/letter/p/3da27b/32.png) [@pete-long](https://forums.powershell.org/u/pete-long)\
**Post date:** [February 17, 2015, 10:07pm UTC](https://forums.powershell.org/t/add-pswaauthorizationrule-syntax/3772/2 "2015-02-17T22:07:34Z")

</div>

Not one reply ☹

I worked it out put domain computers in a security group

Add-PswaAuthorizationRule -ComputerGroupName “petenetlive\PSComputers” -UserGroupName “petenetlive\PSAdmins” -ConfigurationName \*

PL

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:46pm UTC](https://forums.powershell.org/t/add-pswaauthorizationrule-syntax/3772/3 "2024-05-16T20:46:20Z")

</div>


