
How to Detach and Attach Office365 Accounts to Hybrid User
Learn how to detach and attach O365 users to on-prem user accounts with ease! ... Read More

Query deleted AD accounts or get a list of all removed AD users with PowerShell ... Read More

Learn how to get the filesystem information about a directory itself, NOT it's contents, using ls in unix ... Read More

In this exercise we go through the process of setting up a Hyper-V environment on a regular computer, with multiple virtual switches and subnets configured on them ... Read More

A simple function to mimic the Unix recursive grep command ... Read More

Do you have an older computer, with a traditional HDD on the slow side? Is that computer running the drive with 100% utilization, and the response time is super high, possibly 1000-5000ms? You might have tried to disable the Windows ... Read More

Converting date and time to Epoch (Unix) time, and Epoch time back to human readable date ... Read More

Two ways to decrypt a SecureString in PowerShell ... Read More

Here is an example script that encodes an arbitrary text with Base64 method using PowerShell and breaks up the output into fixed-length lines to make it more easily readable. We use 76 character long rows as the MIME (Multipurpose Internet ... Read More

A one-liner to split up a long string into fixed-length rows in PowerShell ... Read More

The following method will help you set up a shared mailbox to automatically accept calendar requests without getting any annoying email notification messages ... Read More

List the total size, the subfolder-count, and the file-count of a folder or subfolder in PowerShell ... Read More

So you want to delete all traces of certain commands from the Bash history? Here's how to do it! ... Read More

This script is for cloning a Role Assignment Policy in Exchange. For example, if you want to allow certain users to add/remove members to the distribution groups they own, you need to enable the "MyDistributionGroups" option in the role assignment ... Read More

Have you ever found yourself in a situation where you wanted to export the output of a PowerShell cmdlet or script, but needed to add an extra column to the output to export to a CSV file? Let's see how ... Read More

With certain network changes you might end up with nodes in your network having issues contacting other hosts outside of their subnet. A typical scenario is when the default gateway's IP is re-assigned to a new router and the old ... Read More

Ping sweeping is a basic technique to find active hosts on a network. You might be looking for a particular host in your infrastructure, like a network printer, or you simply want to assign a static IP to a new ... Read More

This script is for exporting all the mailboxes that have users auto-mapped with FullAccess rights. The script is for on-prem Exchange environments ... Read More

In a Windows domain it's very simple to check what users are currently logged in on a server or client computer, and remotely leg them out if their session is frozen or they simply need to be logged out ... Read More

A guide on how to fix SSH cert authentication when it doesn't work ... Read More

Set up Auto Reply messages that goes out everytime an email arrives. No admin intervention is needed! ... Read More