Save Output Of Powershell Command To Restart