I am using Group Policy to deploy a computer startup script that tries to uninstall one program and install another. I need this script to report its status (whether a certain file exists on the system, which would mean that the installation succeeded).
My first idea was to mount a network share and drop a text file in there. Is there a better way to do this? Right now, I am using a batch file, although I would be open to learning a bit of PowerShell if it was the best option.