Using Powershell how can I retrieve “Policy Application Status” from Exchange?

Welcome Forums General PowerShell Q&A Using Powershell how can I retrieve “Policy Application Status” from Exchange?

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
1 week, 4 days ago.

  • Author
    Posts
  • #165409

    Participant
    Topics: 1
    Replies: 0
    Points: 54
    Rank: Member

    I am writing a script to process quarantined mobile devices in exchange 2019 and before allowing them I need to confirm that the "Policy application status" is "Applied in full" but I am not seeing that as an option to reference using Get-MobileDevice.

  • #165673

    Participant
    Topics: 2
    Replies: 991
    Points: 1,902
    Helping Hand
    Rank: Community Hero

    How are you determining you have looked at all possibilities via that cmdlet?

    Are you just selecting properties, or using the Get-Member cmdlet on one device to see all properties and methods, etc.?

    Or did you read the full online help dog and not see what is / is not possible?

    I don't have any E2K19 servers in play, yet, but the E2K16 cmdlet specifically states there is no such option(s) for what you are after.

    (Get-MobileDevice)[0] | Get-Member -Force

    So, that means you are using the wrong cmdlet to get what you are after.

    It's ...

    # get function / cmdlet details
    Get-Command -Name Get-MobileDeviceStatistics -Syntax
    (Get-Command -Name Get-MobileDeviceStatistics).Parameters.Keys
    Get-help -Name Get-MobileDeviceStatistics -Full
    Get-help -Name Get-MobileDeviceStatistics -Online
    Get-help -Name Get-MobileDeviceStatistics -Examples
    
    

     

     

     

     

You must be logged in to reply to this topic.