I have a batch file which disables BIOS updates in Dell command:
“%PROGRAMFILES%\Dell\CommandUpdate\dcu-cli.exe”/configure -autoSuspendBitLocker=disable -outputLog=C:\Temp\dell.log
The remediation code is:
Copy-Item -Path “dellcommand.bat” -Destination “c:\Temp”
New-Item -Path “C:\Program Files\Dell\CommandUpdate” -Name “BIOSudDisabled” -ItemType “Directory”
It copies the batch file to the temp folder and creates the new folder but there is no evidence of the batch file actually being executed.
I can’t seem to get my head around why as everything works fine when run locally. Any help appreciated.