Skip to main content

Recently Updated Pages

Get Unique Departments From Active Directory

Active Directory - One Liners

get-aduser -filter * -property department | Select-Object -ExpandProperty department | sort-objec...

Updated 1 year ago by Ryan

Get Groups From AD User

Active Directory - One Liners

Get-ADPrincipalGroupMembership adminrgastineau | Select-Object name

Updated 1 year ago by Ryan

Get Drive/Folder Owner

Windows - One Liners File System

GET-ACL “$Path”| Select-Object path, Owner -expand access | Select-Object @{n=”Path”;e={$_.Path...

Updated 1 year ago by Ryan

List Local Group Membership

Windows - One Liners Security

net localgroup “Administrators” > C:\Servers.txt Original Article

Updated 1 year ago by Ryan

List all users hidden from the GAL

Active Directory - One Liners

Get-ADUser -Filter {msExchHideFromAddressLists -eq "TRUE"} |Select-Object UserPrincipalName Or...

Updated 1 year ago by Ryan

Get Deleted Users From Azure AD

Azure - One Liners

connect-msolservice Get-MsolUser -ReturnDeletedUsers

Updated 1 year ago by Ryan

Get LAPS Password

Active Directory - One Liners

Get-LapsADPassword mut7gpc202 -AsPlainText  

Updated 1 year ago by Ryan

Count Members of an AD Group

Active Directory - One Liners

(Get-ADGroup "Enforce MFA" -Properties *).Member.Count  

Updated 1 year ago by Ryan

Manage Who Can Create Microsoft 365 Groups

Microsoft 365 - Walkthroughs Group Management

In this article Licensing requirements Step 1: Create a group for users who need to create ...

Updated 1 year ago by Ryan

Delete Email From All Mailboxes In Office 365

M365 - Scripts Email Management

For full details please go to the following page Delete Email From All Mailboxes In Office 365 T...

Updated 1 year ago by Ryan

Force Active Directory replication on a domain controller

Active Directory - One Liners

To force Active Directory replication run the command ‘repadmin /syncall /AeD’ on the domain cont...

Updated 1 year ago by Ryan

proxyAddress Attribute doesn't copy when using Active Directory Migration Tool (ADMT)

Active Directory - Walkthroughs

By default, ADMT excludes these attributes from the migration, meaning you're going to be left wi...

Updated 1 year ago by Ryan

Get-AllEventLogsTimeFrame

Windows - Scripts System

Make changes to the variables $startTime and $endTime for exact dates/times, otherwise utilize th...

Updated 1 year ago by Ryan

Extend the Windows RE Partition

Windows - Scripts System

  Resize_script.ps1   The sample script below can be used to increase the size of recovery par...

Updated 1 year ago by Ryan

CHDMan Linux Instructions

Emulation Management - One Liners

Introduction The file formats to adopt for CDs and other optical supports. We have talked abo...

Updated 1 year ago by Ryan

CHDMan Windows Instructions

Emulation Management - One Liners

Introduction The file formats to adopt for CDs and other optical supports. We have talked abo...

Updated 1 year ago by Ryan

Create .CHD From .GDI Files

Emulation Management - One Liners

      Windows     Linux convertFromGdiToChd.sh #!/bin/bash # Grab .gdi file for f in ...

Updated 1 year ago by Ryan

Create .GDI From .CHD Files

Emulation Management - One Liners

    Windows     Linux convertFromChdToGdi.sh #!/bin/bash # Grab .chd file for f in ./*...

Updated 1 year ago by Ryan

Create .CUE From .CHD Files

Emulation Management - One Liners

Windows chd2cue.bat for /r %%i in (*.chd) do chdman extractcd -i "%%i" -o "%%~ni.cue" >> log ...

Updated 1 year ago by Ryan

Create .ISO From .CHD Files

Emulation Management - One Liners

Windows CHD2ISO.bat for %%i in (*.chd) do ( chdman extractcd -i "%%i" -o "%%~ni.cue" -ob "%%...

Updated 1 year ago by Ryan