PowerShell for Admins
My TechEd 2014 "Patterns and Practices" Example Scripts
I’ll be using these examples in my TechEd 2014 session on PowerShell patterns and practices. They won’t make much sense, perhaps, until you see the session (live, or in the recordings - and I believe this session is one of the “Taste of TechEd” ones that will be live-streamed), but here are the scripts.
TechEd-NA-2014-Patterns-Examples
Related Articles
Nov 3, 2026
Find What Wakes a Windows PC With Get-WinEvent
A PC that turns itself on at night leaves a record in the System log every time it does. Windows writes one event when the PC …
Read moreSep 21, 2026
Find Free Azure CIDR Blocks with PowerShell
Suppose the network team assigns 10.172.0.0/16 to an Azure landing zone. You need to divide it into correctly aligned virtual …
Read moreMar 5, 2024
How to Toggle Logon Restrictions for AD Accounts
Written by Tino JR This script will allow an administrator to enable or disable logon restrictions for an Active Directory …
Read more