Powershell to Check if message is resumed RRS feed

  • Question

  • I am running this script:

    but After resuming the message, I want to check first if message is resumed or not and then send the notification accordingly

    ex: if $msgSuspended.ServiceStatus -eq 4 then"Message is not resumed "

    else "Message was resumed succefully"

    Can anyone please help me with the PowerShell script.

    I am new to PowerShell.

    This is probabbly my first script.

    Thank you very much.

    • Edited by BizTLearner Wednesday, July 20, 2016 8:30 AM
    Wednesday, July 20, 2016 7:54 AM


All replies