• You shouldn't paste the Powershell script in the command windows. Instead for SQL 2008 setup a job with a Powershell command step and only have the path to the script plus and ampersand:

    For example:

    &C:\backupAnalysis.ps1

    Modify the above with your path and ensure the service account has access to the path.