I’ve created my first script and had it run the following PowerShell command:
Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Adobe\Adobe Acrobat\DC\Installer’ -Name ‘SCAPackageLevel’ | Select-Object -ExpandProperty SCAPackageLevel
When I run it in the debugger, the output is shown as the value of the key.
I then created this as a task and ran the task as a deployment. After the deployment runs, I’m not seeing the output of the command. What am I missing?