Hello
I would like to create a powershell compliance script in intune to check if desktop central is installed and running, if not installed or running i would like to mark the computer as not compliance and apply conditional access so the user cannot access for example email.
I am attaching a link explining how this works:
https://www.petervanderwoude.nl/post/working-with-custom-compliance-settings/
Can anyone help in creating that script in powershell?
Thanks in advanced!
Albert