I have a very simple issue. I want to run this command in a worklet policy…
manage-bde -Status
I then want the output of this to show in the activity log. As far as I can tell, this isn’t possible, as I’ve tried a whole host of ways to get it working but always end up with a blank log (unless I do something useless like “write-host hello”). I’d be really happy for someone to prove me wrong.
Cheers, Mark.
Page 1 / 1
Hey Mraybone,
“manage-bde -Status” doesn’t work in 32-bit Powershell, which is what we use for Worklets. Instead, you can use the code below to pipe the command to 64-bit, which will show up in the Activity Log. This code block will work for anything else you wish to pipe to 64-bit PS as well.