Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powershell图形API SDK更新语句_Powershell_Microsoft Graph Api_Microsoft Graph Sdks - Fatal编程技术网

Powershell图形API SDK更新语句

Powershell图形API SDK更新语句,powershell,microsoft-graph-api,microsoft-graph-sdks,Powershell,Microsoft Graph Api,Microsoft Graph Sdks,我正在探索msgraph sdk powershell模块,以便对Azure AD执行一些自动操作。我无法为Update-MgAdministrativeUnit cmdlet创建哈希表。我想更新管理单元的成员(添加和删除成员),但帮助没有提供有关如何定义哈希表的足够信息: MEMBERS <IMicrosoftGraphDirectoryObject[]>: Users and groups that are members of this Adminsitrative Unit

我正在探索msgraph sdk powershell模块,以便对Azure AD执行一些自动操作。我无法为Update-MgAdministrativeUnit cmdlet创建哈希表。我想更新管理单元的成员(添加和删除成员),但帮助没有提供有关如何定义哈希表的足够信息:

 MEMBERS <IMicrosoftGraphDirectoryObject[]>: Users and groups that are members of this Adminsitrative Unit.
    HTTP Methods: GET (list members), POST (add members), DELETE (remove members).
      [Id <String>]: Read-only.
      [DeletedDateTime <DateTime?>]:
成员:属于此管理单元成员的用户和组。
HTTP方法:获取(列出成员)、发布(添加成员)、删除(删除成员)。
[Id]:只读。
[DeletedDateTime]:
有人有过这个命令的经验吗

问候,,
Ognyan当前不支持添加或删除成员。

请包括您尝试的代码和出现的错误。