只是尝试使用PowerShell获取分配了特定MS许可证的用户列表

只是尝试使用PowerShell获取分配了特定MS许可证的用户列表,powershell,Powershell,就PowerShell而言,我是个新手。我在ti做了很多事情,但通常都要查找它们 我正在尝试获取已在Office 365中分配特定许可证的用户列表。我正在使用一个我以前成功使用过的命令,但这次它不起作用,并不断给我以下错误 有没有办法增加超时时间?或者,除了手工操作之外,还有其他方法获取这些信息吗。该公司只有大约500名用户,而这一特定许可证只有42名用户在使用。 多谢各位 Get-MsolUser : The request channel timed out while waiting fo

就PowerShell而言,我是个新手。我在ti做了很多事情,但通常都要查找它们

我正在尝试获取已在Office 365中分配特定许可证的用户列表。我正在使用一个我以前成功使用过的命令,但这次它不起作用,并不断给我以下错误

有没有办法增加超时时间?或者,除了手工操作之外,还有其他方法获取这些信息吗。该公司只有大约500名用户,而这一特定许可证只有42名用户在使用。 多谢各位

Get-MsolUser : The request channel timed out while waiting for a reply after 00:00:59.9152154. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout. At line:1 char:1 + Get-MsolUser | Where-Object {($_.licenses).AccountSkuId -match "excha ... + ~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (:) [Get-MsolUser], TimeoutException + FullyQualifiedErrorId : System.TimeoutException,Microsoft.Online.Administration.Automation.GetUser
Get-MsolUser | Where-Object {($_.licenses).AccountSkuId -match "exchangestandard"}