Script not outputting properly need help

Welcome Forums General PowerShell Q&A Script not outputting properly need help

Viewing 2 reply threads
  • Author
    Posts
    • #196820
      Participant
      Topics: 37
      Replies: 114
      Points: 604
      Rank: Major Contributor

      Wrote this script to check Veeam Backup Copy Jobs

      My issue is I can not get the LastResult to display properly

       

      When I run this script this is my results

      PS C:\program files\nsclient++\scripts\powershell> .\check_veeam_backups.ps1 “cucm_storeonce-backupcopy”
      CUCM_StoreOnce-BackupCopy Idle 33% @{Result=Success}

      I would like to see

      CUCM_StoreOnce-BackupCopy Idle 33% Success

       

      Any ideas?

       

      Thank you

      Tom

      • This topic was modified 8 months, 2 weeks ago by Tom Grassi.
    • #196832
      Participant
      Topics: 5
      Replies: 330
      Points: 527
      Helping Hand
      Rank: Major Contributor

      Try this.

    • #196838
      Participant
      Topics: 37
      Replies: 114
      Points: 604
      Rank: Major Contributor

      Thank you

      Now working great.

Viewing 2 reply threads
  • The topic ‘Script not outputting properly need help’ is closed to new replies.