In Windows 2008 and in Windows 7 the wait command is replaced by the Timeout command;
For a timeout / wait of 10 seconds the command is:
timeout /T 10
This works in PowerShell and also in Command Prompt.
Can’t get the solution to work? Contact me and let me do the trick.