Issue:
There are some security patches of Microsoft exchange server which change the startup type of exchange services to disable from automatic, Due to which these services would not auto start after deploying the patches. changing the startup type of these services may be time consuming and the better option would be to use the following command in exchange PowerShell.
Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Set-Service -StartupType Automatic
Get-Service | Where-Object { $_.DisplayName -eq "IIS Admin Service" } | Set-Service -StartupType Automatic
Get-Service | Where-Object { $_.DisplayName -eq "Microsoft Filtering Management Service" } | Set-Service -StartupType Automatic
Get-Service | Where-Object { $_.DisplayName -eq "World Wide Web Publishing Service" } | Set-Service -StartupType Automatic
Get-Service | Where-Object { $_.DisplayName -like "Microsoft Exchange *" } | Start-Service
Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Start-Service
No comments:
Post a Comment