Arch Linux – UEFI, LVM, and LUKS

Posted on Posted in Arch

This post will be an onging update to my Arch install on an aging HP ultrabook and primarily for my own reference.  It could be helpful to others but I’d highly recommend running through a vanilla Arch install in virtualbox a few times to get an idea of the entire process vs relying on this […]

Search for Details on Installed Software with Powershell

Posted on Posted in Microsoft, Powershell

Anyone that has ever queried for installed software knows that win32_Product is annoyingly slow.  There are plenty of solutions out there to pull in all installed software, then filter, then act but I wanted something lightweight and could drill down to my target in a single function.  The script below doesn’t validate that targetAttribute name is […]

List Firewall Rules Set by Group Policy

Posted on Posted in Windows Client, Windows Server

I found this on a random note last modified in 2016 and it seems like google results are still sparse for returning only GPO firewall rules.  The following will give you a quick peek at GPO enforced firewall rules:

 

O365 License Discovery and Management

Posted on Posted in Office 365, Powershell

If you’ve ever had the pleasure of working with the built-in O365 cmdlets for viewing and modifying licenses you’ve probably come across: Set-MsolUserLicense : Unable to assign this license because it is invalid. Use the Get-MsolAccountSku cmdlet to retrieve a list of valid licenses. In every instance I ran across this “error” it was because […]

Get AD Group Member Details from Trusted Domains

Posted on Posted in Active Directory, Powershell

The vast majority of active directory powershell cmdlets don’t need any enhancement but there is one in particular that I felt could use an alteration:  Get-ADGroupMember.  When using this command it will return [Microsoft.ActiveDirectory.Management.ADObject] types which can be thrown to a switch statement depending on objectclass and you will get the object’s home AD info.  However, when […]