I am new to PowerShell and I am trying to create a script what will uninstall Dell Data Protection with parameters that are specific to this .exe file.
Here is what I have minus the actual creds I would use:
Start-Process -Filepath C:\Programfiles (x86)\Dell\Dell Data Protection\DataSecurityUninstaller.exe" -argumentlist "CMG_DECRYPT=1 FORENSIC_ADMIN="ExampleUser" FORENSIC_PWD="Passw0rd" NOREBOOT /silent"
I get:
A positional parameter cannot be found that accepts argument "ExampleUser" FORENSIC_PWD="Passw0rd" NOREBOOT
When I put this into CMD it, works. I guess I don't know how to handle the run parameters correctly.