Within PowerShell 2.0 running in Windows XP, I execute the following command:
And get the following message:
Windows cannot end this program. It may need more time to complete an operation.
To return to Windows and check the status of the program, click Cancel.
If you choose to end the program immediately, you will lose any unsaved data. To end the program now, click End Now.
This happens whether I restart from PowerShell or from Windows itself. Any idea how I can restart a computer that will close a PowerShell console without prompt?