Forum Discussion
Tachik0ma
Mar 14, 2024Copper Contributor
Re: Intune Default Compliance Policy
I've had a look into this but I don't think I can use this for what I need. When I use Get-DeviceManagement_DeviceCompliancePolicies I don't get a policy ID for the in-built compliance policy
1 Reply
- SebastiaanSmitsIron ContributorYou do not really need the Compliancy cmdlet, I think, maybe I am misunderstanding you. If you use this for example:
(Get-MgDeviceManagementManagedDevice).LastSyncDateTime
You get al the last-check in dates and you can base the notification actions around that...