Windows Server & Desktop Admin
Event Log sign-in audits, printer & display inventory, SMB shares, TPM & SKU checks, lock-screen propagation, and PS-to-EXE compilation.
add-printer.ps1
0.5 KBWindows-Admin/add-printer.ps1
Extracts driver packages into DriverStore, installs driver, creates port, and maps printer.
check if host OS is a server.ps1
0.2 KBWindows-Admin/check if host OS is a server.ps1
Provides an Is-Server helper differentiating Windows Server vs. workstations.
- Is-Server
Code Compile Commands.ps1
0.4 KBWindows-Admin/Code Compile Commands.ps1
Reference commands for installing ps2exe and compiling scripts to executables.
code Compile.ps1
0.4 KBWindows-Admin/code Compile.ps1
Companion PowerShell-to-EXE build snippet for packaging scripts.
Create SMB share and assign permisisons.ps1
0.6 KBWindows-Admin/Create SMB share and assign permisisons.ps1
Provisions a local folder, SMB file share, and share/NTFS permissions.
Eventlog signin search.ps1
0.4 KBWindows-Admin/Eventlog signin search.ps1
Filters Security Event IDs 4624/4634 over 5 hours for target account sign-ins.
Get Connected Displays.ps1
0.5 KBWindows-Admin/Get Connected Displays.ps1
Queries connected monitor hardware descriptors for workstation inventory.
Get TPM info.ps1
0.1 KBWindows-Admin/Get TPM info.ps1
Queries Win32_Tpm to inspect TPM hardware availability and version.
Get-SystemSku.ps1
0.2 KBWindows-Admin/Get-SystemSku.ps1
Retrieves SystemSKUNumber from Win32_ComputerSystem and stores in UDF 14.
Lock Screen Propegation.ps1
2.1 KBWindows-Admin/Lock Screen Propegation.ps1
Validates paths and distributes custom Windows lock-screen image settings.
- Confirm-Path
- Write-file
Mass outage alert notification.ps1
2.4 KBWindows-Admin/Mass outage alert notification.ps1
Displays a WinForms alert dialog notifying users during active service outages.
Printer Audit.ps1
1.2 KBWindows-Admin/Printer Audit.ps1
Audits installed Windows printers and filters TCP/IP printer ports.
Search for VMIDs.ps1
0.2 KBWindows-Admin/Search for VMIDs.ps1
Checks Hyper-V host VMs via Get-VM to verify whether a target VMID exists.
Task Schedular run powershell job.xml
4.1 KBWindows-Admin/Task Schedular run powershell job.xml
Windows Task Scheduler XML template configured with a 5-minute logon trigger.