Building Parameters for Commands
One of my favorite things with powershell is building out splat parameters for commands through the main parameter set. Today we are going to go over how that is done. We are going to do this through the Get-childitem and get-ACL. These are some mighty commands and they can help you find permission gaps quickly and easily. Let us Building...
Resource – SHD Get ACL
Ever need to combine Get-childitem and Get-ACL while only pulling the access information and users? Well, here we are. I hope you all can use it well. function Get-SHDACL { [cmdletbinding()] param ( [parameter(Mandatory = $true)][string]$Path, [string]$Filter,...
Exchange Online – Mailbox Size Audit
Here is a little powerhouse script I wrote to audit the mailbox sizes. The focus recently is to see who's mailbox sizes are about to be over and if it's the deleted folder. I can't show you all of the scripts, but I can show you part of it. This part will pull the...
SHD – Quickbook Search
This past week I needed to find all of the quickbook files on a computer without accessing quickbooks itself. The core of the script is a simple Get-Childitem command looped for each logical disk on the machine. Looking for one of the four main extensions for...