Get-CalendarDiagnosticObjects -Identity user1@xyz.com -StartDate "2026-02-01" -EndDate "2026-02-28"
IT Admin Assist
Cheat Sheet for Quick IT Administration
Convert SSL certificate from PFX to PEM (OpenSSL)
Install OpenSSL
Open PowerShell and cd to OpenSSL install location -
C:\Program Files\OpenSSL-Win64\bin
Extract private key with password (encrypted) -
.\openssl pkcs12 -in certificate.pfx -nocerts -out privatekey.pem
OR
Extract private key without password (unencrypted) -
.\openssl rsa -in privatekey.pem -out privatekey-nopass.pem
Extract certificate -
.\openssl pkcs12 -in certificate.pfx -clcerts -nokeys -out certificate.pem
Combine Certificate and Private key (if required) -
Get-Content privatekey_unencrypted.pem, certificate.pem | Set-Content fullcertificate.pem
Universal Bulk Script
$ids = Get-Content C:\New_Folder\123.txt | Where-Object { $_ -match '\S' }
$ids | ForEach-Object { Get-Mailbox -Identity $_ } |Select-Object PrimarySmtpAddress, RecipientTypeDetails |Export-Csv C:\New_Folder\checkmailbox-type.csv -NoTypeInformation -Encoding UTF8
get meeting room booking permission
Get-mailboxfolderpermission -identity room1@xyz.com:\calendar
Get-CalendarProcessing -Identity room1@xyz | Select-Object Identity,AutomateProcessing,ResourceDelegates,AllBookInPolicy,AllRequestInPolicy,AllRequestOutOfPolicy,BookInPolicy,RequestInPolicy,RequestOutOfPolicy,AllowConflicts,EnforceCapacity,MaximumDurationInMinutes
Bulk Script to extract mentioned meeting room booking access groups and its group members. -