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.
Using Powershell how can I retrieve "Policy Application Status" from an Exchange Mobile Device?
343 views Asked by Todd Welch At
1
There are 1 answers
Related Questions in POWERSHELL
- PowerShell Linphone Configuration
- How avoid \t being converted to Tab in Powershell
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Npm command not working in powershell but works in cmd
- Issue with path not being treated as encapsulated when calling cmd /C
- Native command throws error only when I redirect to a variable
- Logic Apps and long running Azure Function (Powershell)
- April fools - PsExec (PsTools)
- How to use nested ForEach-Object
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Execution Stuck at Get-PnPPage if function executed on Button Click
- How can I expand a column from group output?
- How to use expression in regex -replace with capturing group in powershell
- powershell where-object -cnotmatch filter unwanted lines
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
Related Questions in EXCHANGE-SERVER
- Directing proofpoint to ms exchange
- Allowing any member of a dynamic group to send as from a shared mailbox
- In Exchange 2019 on-prem, how do I configure send connectors to disable DNS lookups?
- List calculating each archive folders in Exchange On-Prem
- Share Outlook calendars with all members of specific security group
- Create exchange appointment using ews-javascript-api
- Microsoft outlook Caught exception in remote runspace creation, The WinRM service cannot process the request Redirect location reported
- Set-MailboxAutoReplyConfiguration not recognized even after installing as admin
- How to get the mailbox statistics data for more than 70,000 shared mailboxes in bulk
- Rails 7 send mail via Microsoft Exchange SMTP using oauth2
- Get .msg Copy by Criteria 'PR_INTERNET_MESSAGE_ID'
- MS Graph (Outlook) List messages 'ReceivedDateTime GT' operation failing by 1 second
- EWS Operation Item.Copy fails with 'full_access_as_app' permission
- EWS EmailMessage Move failed
- Can there be multiple DKIM and SPF records on one domain (alongside Microsoft Exchange hosted email)?
Related Questions in MOBILE-DEVICES
- How to change WooCommerce notice "info" background color on smaller screens?
- Sony Experia 5 Android Build.Class info
- Getting "JsonToWebElementConverter" exception when i am trying to connect with remote server to access the cloud devices
- Blocking YouTube video playback from specific links on iPads managed by Apple's MDM
- How can I configure Firebase Authentication to work with mobile devices?
- Android app not supported on some devices even though they are "supported" in the Play Console under supported devices
- Drag and Drop for mobile devices
- Screen arrow keys for mobile device do not work well
- Unity WebGL build to fullscreen on mobile devices
- Setting List at the bottom of the screen in JS
- svg text does not keep the same size as graphic on different devices
- Getting the information of a mobile device by connecting to it
- Strange behavior when I use addEventListener() on click. It only happens at mobile devices
- Web app mobile version after deploy is rendering with bugs
- Puppeteer: How to capture a screenshot with device frame?
Related Questions in ACTIVESYNC
- Create email in c# using Mailkit and send later in Outlook ActiveSync
- WMDC won't detect mobile device
- How to convert an EXE file for Windows CE without Active Sync
- using Exchange ActiveSync in c#
- Get MDM User Email Address Using c#
- Remove old/redundant activesync partnerships
- Unable to send mail using activesync SendMail request schema. Status return 102 / 119
- Using Powershell how can I retrieve "Policy Application Status" from an Exchange Mobile Device?
- Getting 505 error in HTTP OPTIONS Command Request and Response of active sync in swift
- How to develop android mobile app with Exchange active-sync protocol
- Windows XP SQL Server CE issue with INDEXING on Windows Mobile Embedded 7
- Access Outlook Android app events locally from custom app
- Need the URL of windows phone activesync
- Exchange ActiveSync - get unseen emails count
- Connecting to WinCE 5.0 Device - ActiveSync vs Windows Mobile Device Center
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)

The command you are looking for to retrieve the Policy application status is:
Get-MobileDeviceStatistics
Here is an example that will pull the
DevicePolicyApplicationStatus:Get-MobileDeviceStatistics -Mailbox mailboxusername | select DeviceID, DeviceType, DevicePolicyApplicationStatusAn example MS gives that might be helpful as well:
$UserList = Get-CASMailbox -Filter {HasActiveSyncDevicePartnership -eq $true -and -not DisplayName -like "CAS_{*"} | Get-Mailbox; $UserList | foreach {Get-MobileDeviceStatistics -Mailbox $_.Identity}