I’ve looked at the example worklets. I’ve looked at the Chrome worklet I have for installing Chrome. I’ve looked at other powershell code. Nothing seems to work for me.
Every time I try to create a worklet it fails.
Is there a simple worklet example for Windows I can look at?
Here’s what I’m trying to do
- check to see if the app is installed
- If it isn’t installed, Install the app
- If the app is installed, mark the policy as compliant