Add-AzureADDeviceRegisteredUser
디바이스에 등록된 사용자를 추가합니다.
Syntax
Add-AzureADDeviceRegisteredUser
-ObjectId <String>
-RefObjectId <String>
[<CommonParameters>]
Description
Add-AzureADDeviceRegisteredUser cmdlet은 Azure Active Directory 디바이스에 등록된 사용자를 추가합니다.
예제
예제 1: 등록된 사용자로 사용자 추가
PS C:\> $User = Get-AzureADUser -Top 1
PS C:\> $Device = Get-AzureADDevice -Top 1
PS C:\> Add-AzureADDeviceRegisteredUser -ObjectId $Device.ObjectId -RefObjectId $User.ObjectId
첫 번째 명령은 Get-AzureADUser(./Get-AzureADUser.md)cmdlet을 사용하여 사용자를 가져온 다음 $User 변수에 저장합니다.
두 번째 명령은 Get-AzureADDevice(./Get-AzureADDevice.md) cmdlet을 사용하여 디바이스를 가져온 다음 $Device 변수에 저장합니다.
최종 명령은 $User 사용자를 $Device 디바이스에 등록된 사용자로 추가합니다. 두 매개 변수 모두 지정된 개체의 ObjectId 속성을 사용합니다.
매개 변수
-ObjectId
@{Text=}
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RefObjectId
@{Text=}
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
참고
Microsoft Graph PowerShell 에 대한 Add-AzureADDeviceRegisteredUser 마이그레이션 가이드 를 참조하세요.
관련 링크
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기