Knowledgebase

Viewing articles tagged 'Scripting'

PowerShell REST API Calls with Invoke-RestMethod: A Practical Guide While working on a monitoring integration for a logistics client, I got an idea for a small helper script that would pull ticket counts from their ITSM API every 15 mi… PowerShell OutBuffer: How Pipeline Buffering Actually Works We had a client whose nightly reconciliation script was melting a SQL server every night around 3AM. The script pulled roughly 40,000 objects from an API and shoved ea… PowerShell Select-Object: Master Object Properties Fast One of our managed services clients had a junior admin exporting process lists to Excel, then deleting columns by hand. Every morning. For compliance evidence. That is… PowerShell Variables: Scope, Types, and Best Practices Last month we inherited a 3,000-line PowerShell deployment script from a manufacturing client. The thing was riddled with global variables bleeding into functions, typ… PowerShell For, ForEach, and While Loops Explained Last quarter we inherited a client environment with 140 Windows servers. The previous admin had been manually checking disk space on each one. Every. Single. Morning… InterfaceAlias vs InterfaceDescription: Targeting NICs in PowerShell A healthcare client came to us after a PowerShell script someone wrote six months earlier started throwing errors across 40 Windows Server boxes. The script targeted n… PowerShell Scripts, Functions, and Script Blocks Guide PowerShell scripts, functions, and script blocks are the three core building blocks of IT automation for system administrators. Knowing which to use – and how to struc…
Back