PowerTip: Check to See if a Command Completes Properly

Summary: Learn how to check for proper completion of a Windows PowerShell command. How can I tell if a Windows PowerShell command completes successfully? a. Query the $error automatic variable. If $error[0] reports no in...