PowerShell Exports and Exit Codes