Write-Host "Servers in the farm:" Get-SPServer | select name, role
Powershell command to Get machines in the farm
- Powershell command to get Get config db name, build version, and Farm account
- Powershell command to get Service Application Pools
Write-Host "Servers in the farm:" Get-SPServer | select name, role