View Complete Thread
  • Re: Undefined object type Server

    May 16, 2019 06:43 AM|Jalpa Panchal|LINK

    Hi,

    Try to use the below steps to start and stop the application pool on the remote server:

    1. Run PowerShell as administrator.
    2. Run command:  Import-Module WebAdministration
    3. Run command: Invoke-Command -ComputerName "REMOTE_SERVER" -ScriptBlock { Start-WebAppPool -Name "apppool name" }

     

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.