你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Add-AzureADDeviceRegisteredOwner
为设备添加已注册的所有者。
语法
Add-AzureADDeviceRegisteredOwner
-ObjectId <String>
-RefObjectId <String>
[<CommonParameters>]
说明
Add-AzureADDeviceRegisteredOwner cmdlet 为 Azure Active Directory 设备添加已注册的所有者。
示例
示例 1
PS C:\> {{ Add example code here }}
{{ Add example description here }}
参数
-ObjectId
指定对象 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-RefObjectId
指定要添加的 Active Directory 对象的 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
备注
请参阅 将 Add-AzureADDeviceRegisteredOwner 迁移到 Microsoft Graph PowerShell 的指南。