Select Page

PowerShell – Start-Service, Stop-Service, they work, but not always well enough!

Well as the title suggests, I’m happy with the code, but I always find myself adding more and more code around the cmdlets. Service control in Windows has been pretty straight forward for the past few decades. Obviously PowerShell can control the state and configuration of services, but one thing I’ve always run into with service control is reacting to how the service stops and starts and also managing the state of dependent services. I’m sharing some short code functions that I use.

Read More

PowerShell – Is your AD Sites and Services missing subnets?

This has been a very common pain point for Active Directory administrators. AD is perfectly planned according to Microsoft’s best practices and successfully deployed. But as time goes on, network admins change the network topology, devices are added here and there and if there is no formal process of adding new networks, AD Sites and Services will mostly likely not be updated to reflect these changes.

Read More

Windows Time Sync – The fixes!

As many of you know when running a simple standalone machine at home, at work, in a datacenter or in the cloud, time keeping can be tricky. Very odd though, it’s been around for over a decade and people/enterprises still can’t seem to figure out how it really works or how they should configure it.

Every Windows computer has a lovely service on it that is called W32Time with a description that reads “Windows Time Service”. This service is set to manual, and for all intents and purposes can be left that way.

Read More