Networking
Test TCP Port
Test whether a remote host is reachable on a specific TCP port and return detailed diagnostics.
Test-NetConnection -ComputerName 'server01.contoso.com' -Port 443 -InformationLevel Detailed
Technician command center
Search common administration tasks, fill in the required values, and copy a complete command string without rebuilding syntax from memory.
Networking
Test whether a remote host is reachable on a specific TCP port and return detailed diagnostics.
Test-NetConnection -ComputerName 'server01.contoso.com' -Port 443 -InformationLevel Detailed
Networking
Query DNS directly for a hostname and requested record type without LLMNR or NetBIOS fallback.
Resolve-DnsName -Name 'contoso.com' -Type A -DnsOnly
System & troubleshooting
Restart a named Windows service and return its resulting state to the console.
Restart-Service -Name 'Spooler' -Force -PassThru
Local accounts
Create a local Windows account while prompting securely for the password instead of embedding it in clipboard history.
$Password = Read-Host 'Enter password for svc-backup' -AsSecureString; New-LocalUser -Name 'svc-backup' -FullName 'Backup Service' -Password $Password
Active Directory
Unlock a domain user account by sAMAccountName, distinguished name, GUID, or SID.
Unlock-ADAccount -Identity 'jsmith' -PassThru
Microsoft 365
Connect to Microsoft Graph and return commonly needed identity properties for one user.
Connect-MgGraph -Scopes 'User.Read.All' -NoWelcome; Get-MgUser -UserId 'jsmith@contoso.com' -Property DisplayName,UserPrincipalName,AccountEnabled,Mail
Microsoft 365
Connect to Exchange Online and return mailbox size, item count, and recent access information.
Connect-ExchangeOnline -UserPrincipalName 'admin@contoso.com'; Get-EXOMailboxStatistics -UserPrincipalName 'jsmith@contoso.com' | Format-List DisplayName,ItemCount,TotalItemSize,LastLogonTime
System & troubleshooting
Return the newest Windows System log errors from a configurable lookback period.
$start = (Get-Date).AddHours(-24); Get-WinEvent -FilterHashtable @{ LogName = 'System'; Level = 2; StartTime = $start } -ErrorAction SilentlyContinue | Select-Object -First 50 TimeCreated,Id,ProviderName,Message
Planned starter dataset