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