locked
How to restart SSRS using Powershell? RRS feed

  • Question

  • Hi!

    I am trying to restart SSRS using powershell. When I run 'Get-Service'  I can see the service is called "ReportServer$POCDB".

    I am trying to run the following:

    Get-Service "ReportServer$POCDB" | Restart-Service;


    But I get the error:

    Get-Service : Cannot find any service with service name 'ReportServer'.

    Any idea what Im doing wrong?

    Thanks,

    Zoe

    Tuesday, November 5, 2019 1:51 PM

All replies

  • Use single quotes and not double quotes.


    \_(ツ)_/

    Tuesday, November 5, 2019 1:57 PM
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, December 6, 2019 9:46 AM