Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.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如何检索;“保单申请状态”;从Exchange移动设备?_Powershell_Exchange Server_Mobile Devices_Activesync - Fatal编程技术网

使用Powershell如何检索;“保单申请状态”;从Exchange移动设备?

使用Powershell如何检索;“保单申请状态”;从Exchange移动设备?,powershell,exchange-server,mobile-devices,activesync,Powershell,Exchange Server,Mobile Devices,Activesync,我正在编写一个脚本来处理exchange 2019中隔离的移动设备,在允许它们之前,我需要确认“策略应用程序状态”是“完全应用”,但我不认为这是使用Get-MobileDevice引用的选项 您要检索策略应用程序状态的命令是: 下面是一个示例,它将拉取设备策略应用程序状态: Get MobileDeviceStatistics-邮箱邮箱用户名|选择设备ID、设备类型、设备策略应用程序状态 MS给出的一个示例也可能有帮助: 此示例使用Get-CASMailbox cmdlet确定 组织具有Exc

我正在编写一个脚本来处理exchange 2019中隔离的移动设备,在允许它们之前,我需要确认“策略应用程序状态”是“完全应用”,但我不认为这是使用Get-MobileDevice引用的选项


您要检索策略应用程序状态的命令是:

下面是一个示例,它将拉取
设备策略应用程序状态

Get MobileDeviceStatistics-邮箱邮箱用户名|选择设备ID、设备类型、设备策略应用程序状态

MS给出的一个示例也可能有帮助:

此示例使用Get-CASMailbox cmdlet确定 组织具有Exchange ActiveSync移动设备。每部手机 设备,则检索Exchange ActiveSync设备统计信息


$UserList=Get CASMailbox-Filter{HasActiveSyncDevicePartnership-eq$true-and-not DisplayName-like“CAS{*}Get Mailbox;$UserList | foreach{Get MobileDeviceStatistics-Mailbox$.Identity}

非常感谢jrider!