Office 365 Licensing Report (with On Premise Active Directory)

One thing that drives me insane is the thought of over paying for O365 licensing when it’s so easy to get right. In my opinion, the reason it gets out of whack is mostly poor communication on user status. Once we see where the hole is though, we can plug it. Since I run a hybrid environment with an On […]

Remotely Uninstall Software with Powershell

Like a lot of folks in IT there have been a lot of times where I have to uninstall something from a machine and don’t want to involve the user.  Sometimes the reason that the software has to come off is that the user shouldn’t have put it there in the first place too.  PSExec has always been an option […]

An Easier GUI Method for Powershell

I wrote a post in the past, which you can see here, about creating a GUI for a Powershell script.  That info is still valid but the catch with that one is that you need Visual Studio, Community Edition is just fine for it.  Recently I changed out my laptop and found it to be a good opportunity to start […]

Exchange Mobile Device Report as an HTML Email

That’s a nice descriptive title isn’t it, but that is exactly what we are going to accomplish here.  The end result that we are going for it is an HTML formatted email with a table that gives us a listing of all devices registered to Active Sync (device model and general device type), the account they are associated with, first […]

Using Powershell to create an HTML Email Report

I use Powershell a lot to do reporting on various things in my environment and one of the most useful is Active Directory. I went to a class once hosted by a company that makes an AD tool and the presenter actually asked in the class if anyone knew how to do a specific lookup with PS and of course […]

Checking Time on Remote Servers

I had an issue recently where the time on the workstations was off by a few minutes.  The workstations all receive their time from the Domain Controller….but, which one?  Remember that if you are running your DC as a VM then its getting its time from the host.  That being said, this environment is Hyper-V so I am checking the […]

Remote Software Uninstall with Powershell

Lets say you are in a position where you need to uninstall something from a remote machine for whatever reason…maybe it’s software that’s no longer needed, maybe the user shouldn’t have installed it, or maybe you just want to mess with someone.  Me personally, I would rather do this remotely than go to the person’s machine and interrupt whatever they […]

Exchange 2013/2016 – How to set an Out Of Office with Powershell

I can’t begin to count how many times I have been asked to set an Out Of Office message for someone over the years.  Standard reply has always seemed like a cop out to people I’m sure but generally it has kind of always come back to an HR thing and not accessing someone else’s email.  NO MORE!  While its […]

DHCP At 100%, the fix and automating it for the future…

I ran across an issue this week where my DHCP server started throwing “warnings” that there were only 11 addresses left.  Looking at the Leases it was pretty obvious that that wasn’t true though.  So, how do you handle that?  I did some looking around and probably about 90% of what I could find out there was to reduce the […]

Powershell to Find Service Accounts

A while back I had a need to check all the servers in my domain and see what services were logged in with “special” accounts.  In other words, find any service that’s not running off of a default builtin account.  A script like this comes in very handy when it comes time to update the password on an AD account that […]