jan-h
11/17/2016 - 1:27 PM

Manage SDL Web 8 services

Manage SDL Web 8 services

# Stop services
Get-Service | Where {$_.DisplayName -Like "SDL Web*" -and $_.StartType -ne "Disabled"} | Stop-Service

# Restart services
Get-Service | Where {$_.DisplayName -Like "SDL Web*" -and $_.StartType -ne "Disabled"} | Restart-Service

# Disable services for the live site
Get-Service | Where {$_.DisplayName -Like "SDL Web Live * Service"} | Set-Service -StartupType Disabled