Photo by Tadas Sar on Unsplash

Microsoft Exchange Services wont start after reboot

Sometime after a reboot you can notice all of the Microsoft Exchange Services do not started automatically . But if you go to server manager or services and start the pending services they start without fail. Easy way to do it after Microsoft Exchange 2016 reboot is just run the following script.

Get-Service *Exchange* | Start-Service

But you don’t want to start the services which are set to Start Manual or get a lot or warning service already started.. so lets add some steps to the above mentioned .

Get-Service *Exchange* | Where-Object {$_.Status -eq "Stopped" -and $_.StartType -eq "Automatic"} | Start-Service

Above line will check all Microsoft Exchange Services and check stopped services with startup type set to automatic . Next it send the output to Start-Service Cmdlet.

--

--

--

IT Infrastructure Specialist , Open-source enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why Ignoring System Will Expense You Sales.

Three Ways to Develop Voice Apps for Alexa

A solution to log collection problems of Kubernetes clusters by using log-pilot, Elasticsearch, and…

A Better Way to Develop Node.js with Docker

New Features in Android 8.0 (Oreo) — Part 1

Orchestrating Microservices in Nodejs using Kubernetes

Exploring the Python World Part III: Tales of a Python Apprentice

Git-ing Started (Low Hanging Fruit Sure Is Delicious)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Affan Javid

Affan Javid

IT Infrastructure Specialist , Open-source enthusiast

More from Medium

Give SAMLv2 Service Providers control over the Authentication at the IdP (Part I — Implementing…

SP initiated SAML Flow with ForgeRock’s Access Management

Windows 11 hijacking your Hyper-V manager?

Turn Windows features on or off Virtual Machine Platform and Windows Hypervisor platform.

Guide to 13 Best Workflow Management Systems in 2022

Enable SSL for local development