How to Restart SharePoint Application Discovery and Load Balancer Services on All Node using PowerShell

///How to Restart SharePoint Application Discovery and Load Balancer Services on All Node using PowerShell
How to Restart SharePoint Application Discovery and Load Balancer Services on All Node using PowerShell2018-11-14T10:33:44+00:00

Front Page Forums SharePoint SharePoint Administration How to Restart SharePoint Application Discovery and Load Balancer Services on All Node using PowerShell

Viewing 1 post (of 1 total)
  • Author
    Posts
  • ScientistZ
    Keymaster
    Post count: 44

    How to Restart SharePoint Application Discovery and Load Balancer Services on All Node using PowerShell

    Solution:

    Run below command in any node in SharePoint PowerShell:

    You can change the Name of the Service to use it with Services instances.

    ¬†Get-SPServiceInstance -All | ?{$_.TypeName -eq “Application Discovery and Load Balancer Service”}| Select ID | ForEach-Object{

     

    $id = $_.ID

    Write-Host $id

     

    Stop-SPServiceInstance -Identity $id -confirm:$false

     

    Write-Host ‘waiting 3 sec’

     

    Start-Sleep 10

     

    Start-SPServiceInstance -Identity $id

     

    Write-Host “Done”

    Write-Host ” ”

     

     

    }

     

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Skip to toolbar