Add-WssComputerAccess
Add-WssComputerAccess
Creates a relationship between a user and a computer for Remote Web Access.
구문
Parameter Set: Default
Add-WssComputerAccess -ComputerName <String> [-GroupName <String> ] [-UserName <String> ] [ <CommonParameters>]
자세한 설명
The Add-WssComputerAccess cmdlet creates a relationship between a user account and a computer to use for Remote Web Access. You can use the Remove-WssComputerAccess cmdlet to delete an access relationship.
매개 변수
-ComputerName<String>
Specifies the name of a computer.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-GroupName<String>
Specifies the name of a group.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-UserName<String>
Specifies the user name of an account.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
Example 1: Add computer access for a user
This command creates a relationship between the user SarahJones and the computer named Workstation033. The user can now use Remote Web Access to connect to this computer.
PS C:\> Add-WssComputerAccess -ComputerName "Workstation033" -UserName "SarahJones"