PowerShell
23 articles tagged PowerShell.
Install the Windows Server 2028 Preview in a Hyper-V Lab, Step by Step
Build a safe Windows Server 2028 preview test VM on Hyper-V: host checks, a generation 2 VM, Secure Boot, first boot and a snapshot plan, with sources.
PhoneBox: Turn an Old Android Phone Into a PC Desk Panel Safely
Set up PhoneBox on Windows, Linux or macOS to use a spare Android phone as a stats and control panel, with checksum, USB debugging and network safety checks.
Fix "python is not recognized" on Windows: PATH, Aliases and py
Python not found in Command Prompt or PowerShell? Check the Store alias, the py launcher and PATH in a fixed order, then confirm python and pip run.
20 Claude Prompts for IT Admins: PowerShell, Intune, Microsoft 365 and Troubleshooting
Twenty original, copy-paste Claude prompts for daily IT admin work: PowerShell scripts, Microsoft 365 and Entra reports, Intune checks, troubleshooting and documentation, with safety rules.
Check CPU, RAM, Storage and GPU in Windows 11 and macOS
Find your laptop's CPU, RAM, storage, graphics card and serial number with the built-in tools in Windows 11 and macOS. No downloads needed.
Room and Equipment Mailboxes in Exchange Online: Booking Setup
Create room and equipment mailboxes in Exchange Online, group rooms into room lists, and control who can book them with Set-CalendarProcessing.
System Administrator Interview Questions: Active Directory, DNS and DHCP
Prepare for Windows sysadmin interviews with answer outlines on Active Directory, FSMO roles, replication, DNS and DHCP, plus the dcdiag and PowerShell commands interviewers expect you to know.
Windows 11 Hardware Requirements: Check TPM, Secure Boot and CPU Support
Check whether a PC meets the Windows 11 requirements: TPM 2.0, Secure Boot, UEFI, processor, RAM and storage, using PC Health Check and PowerShell.
Entra Password Protection for On-Premises AD: Deploy Agents Step by Step
Block weak and organization-specific passwords on Active Directory domain controllers with the Entra Password Protection proxy and DC agent, starting in audit mode.
Entra ID dynamic groups: rule syntax and examples that actually work
Write Microsoft Entra ID dynamic membership rules for users and devices: syntax, operators, tested examples for HR attributes, licences and Autopilot, validation, processing status and fixes for common rule errors.
Exchange Online mail flow rules: disclaimers, external tags and blocking
Build Exchange Online mail flow rules for outbound disclaimers, external sender warnings and attachment blocking, then test, order and troubleshoot them in the EAC and PowerShell.
Find and remove malicious inbox and forwarding rules after a BEC
After a compromised mailbox, find hidden inbox rules, SMTP forwarding and delegate access in Exchange Online, remove them safely and block external auto-forwarding so the attacker can't come back.
Fix ApplicationManagedBy isn't set and AADSTS700027 in Entra Connect Sync
Repair broken application-based authentication on Entra Connect Sync servers: restore cleared connector parameters, separate servers that share one app, and recover from expired certificates.
Fix Entra Connect AttributeValueMustBeUnique and duplicate proxy addresses
Find which object already holds the duplicated proxyAddresses or userPrincipalName value, remove it from the right side, and confirm the next Entra Connect sync exports cleanly.
Fix Microsoft Graph 429 throttling with Retry-After, batching and delta
Stop 429 Too Many Requests errors from Microsoft Graph: honour Retry-After, tune the SDK retry handler, batch correctly, cut request cost and replace polling with delta queries.
Fix Power Automate HTTP trigger URLs after the logic.azure.com retirement
Flows with HTTP or Teams webhook triggers stopped firing when the old logic.azure.com URLs were retired. Find affected flows, update callers and fix authentication failures.
IMAP to Exchange Online migration from cPanel and other hosts
Move mailboxes from cPanel or any IMAP host to Exchange Online with migration batches: CSV prep, endpoint, PowerShell, MX cutover and the cPanel email routing setting that catches people out.
Microsoft 365 audit log search: who deleted, shared or forwarded what
Use Microsoft Purview Audit and Search-UnifiedAuditLog to find who deleted a file, shared a link, purged email or created a forwarding rule, then export and read the AuditData.
Microsoft Graph PowerShell recipes for user, licence and sign-in reports
Replace retired MSOnline scripts with Microsoft Graph PowerShell recipes for user inventories, licence counts, unlicensed and inactive users, and recent failed sign-ins.
Remove the last Exchange server from a hybrid Exchange Online setup
Transfer Exchange-attribute source of authority to the cloud, tear down the hybrid configuration and uninstall the last on-premises Exchange server.
Replace Restricted SharePoint Search with Restricted Content Discovery
Restricted SharePoint Search is retiring. Inventory the allow list, apply Restricted Content Discovery to the sites that need it, verify propagation, then turn RSS off.
Upgrade Entra Connect Sync to 2.6 with application-based authentication
Entra Connect Sync must run 2.6.84.0 or later with application-based authentication by 7 April 2027. Check each server, upgrade safely, switch to the app identity and remove the old sync account.
Microsoft 365 Tenant-to-Tenant Migration Architecture: Cross-Tenant Mailbox, OneDrive, Teams and Domain Move
A practical guide to Microsoft 365 tenant-to-tenant migration for mergers and divestitures: native cross-tenant mailbox and OneDrive moves, SharePoint, Teams and the domain cutover.