Minor change

Added some testing code to the .ps1 file, removed Out-String from the
AsAttachment check.