Windows PowerShell

Clear the Recycle Bin for all users with PowerShell

When looking around for an easy way to clean up servers and the accounts that use the servers I wanted a way to clear the Recycle Bins for all users. Consultants leave a lot of crap around on servers apparently. However because we use various versions of PowerShell there are various methods of doing so. …

Clear the Recycle Bin for all users with PowerShell Read More »

Enable Spectre, Meltdown and MDS mitigations installed with Windows Update

Just installing the updates might not be enough in some cases. Some computers needs registry values and keys created and set to enable the mitigations that Microsoft released for Windows 10. To smooth out this process I created a simple script for myself that allows you to remotely set the registry keys and values required …

Enable Spectre, Meltdown and MDS mitigations installed with Windows Update Read More »

Increase signature field length in Exchange 2010 OWA with PowerShell

We recently ran into a problem with changing the mail signature of a client that the new signature that he wanted was simply to long for Outlook Web App to handle by default. After a long search on the web we found a great link that helped us with the problem and got it resolved. …

Increase signature field length in Exchange 2010 OWA with PowerShell Read More »

Retrieve the status of a Kyocera printer using PowerShell

To improve my workflow and department I needed to know what the current status was of the main office printer. Currently this is a Kyocera printer. Things like making sure that paper is available for users to print, detecting paper jams and managing toners is a simple job but very important in making sure the …

Retrieve the status of a Kyocera printer using PowerShell Read More »