December 19, 2019

Run powershell on macOS

I often need to run a remote session in powershell e.g. managing online exchange. This may sound crazy but you can run powershell on a Mac. Before I discovered this I always had to first remote desktop in to a Windows Machine or fire up a VM to be able to start the remote session. If you google a bit you will find lots of instructions to install powershell on Mac. Read more

August 2, 2019

Using Windows Powershell for System Administration

I am more of a Unix guy but I get to administer more and more Microsoft systems as time goes by. Back in the day Windows had very limited commandline options to manage systems. It often felt that you were working on a car with the bonnet welded shut. Luckily things changed when Powershell arrived on the scene. Powershell is a bit counter intuitive for someone that used Unix shells for 30 years but it is very powerful and you can do a lot with it. Read more

July 12, 2018

Outlook is rubbish!

Microsoft Outlook especially older versions is junk, but you probably knew that already. For some reason Outlook often sends out a message with incorrect syntax e.g. “[email protected]”. Mail servers like postfix will reject these messages but Outlook will not warn its user that there is a problem. Instead it will keep the message in the outbox and continously retry sending. If you are a postfix admin you can strip the apostrophes with a command filter. Read more

May 28, 2018

Clear windows DNS cache

Windows sometimes has a mind of its own when it comes to DNS. To clear the windows DNS cache when you have issues do the following. Open cmd or powershell as administrator. Run ipconfig /flushdns

July 19, 2017

WSUS is not setup and forget

Windows Software Update Services provides a way for Windows sysadmins to control the distribution of updates to windows computers. It also helps to save a lot of bandwidth if you don’t have a superfast internet connection. Unfortunately many think that it is easy to setup and maintain. On newer version of Windows Server it is easy to setup but it needs a lot of care and feeding. I you want to run WSUS you will have to run the “Server Cleanup Wizard” at least once a month, or run Invoke-WSUSCleanup in a scheduled task. Read more

© Arnold Greyling 2020

Powered by Hugo & Kiss.