Automating Office & Active Directory: A Comprehensive Guide

Managing Microsoft Office and Active Directory are core responsibilities for any Windows administrator. This comprehensive guide provides a complete toolkit for automating and troubleshooting these critical systems. You will learn how to perform silent installations of Office 2021 while removing older versions, resolve complex firewall-related activation issues, master the Get-ADUser cmdlet to query and report on AD users, and navigate the tricky process of rejoining a machine to a domain in a hybrid Azure AD environment. This pillar post consolidates four essential guides into a single, indispensable resource for streamlined IT administration. ...

December 25, 2025 · The PwshTips Team

PowerShell for Cross-Platform Administration

In today’s hybrid IT landscape, administrators rarely work within a single operating system. Mastering cross-platform skills is essential. This guide focuses on leveraging PowerShell as a bridge between Windows and Linux environments. We will explore the core concepts of interoperability, showing you how to seamlessly call Bash from PowerShell, PowerShell from Bash, and mix PowerShell with legacy CMD scripts. We’ll then apply these concepts to a practical, real-world scenario: accessing and managing USB drives within the Windows Subsystem for Linux (WSL). This consolidated guide provides the foundation for building powerful, cross-platform automation. ...

December 25, 2025 · The PwshTips Team

PowerShell for IT Inventory: Getting All Installed Apps from Remote Windows PCs

In the dynamic world of IT administration, keeping an accurate inventory of software installed across all machines is not just a best practice—it’s a necessity. Whether you’re conducting a security audit, ensuring license compliance, troubleshooting application conflicts, or planning system upgrades, knowing exactly what’s running where is paramount. Manually checking each machine is impractical, especially in environments with dozens or hundreds of computers. This guide provides a comprehensive, step-by-step approach to leverage PowerShell’s robust capabilities for remote system management. We’ll show you how to discover target machines within your network using DNS queries, remotely connect to them, extract a detailed list of all installed applications (including DisplayName, DisplayVersion, Publisher, and InstallDate) from both user and system contexts, and finally, compile this invaluable data into a single, easy-to-digest CSV report. By the end of this guide, you’ll have a powerful, automated solution to maintain an up-to-date software inventory across your Windows infrastructure. ...

December 25, 2025 · The PwshTips Team

Manage Pinned Taskbar Items with PowerShell

For system administrators, creating a standardized desktop environment often involves customizing the Windows taskbar. While pinning items is easy for a user, automating the process of listing or unpinning applications can be surprisingly difficult. Windows intentionally does not provide a simple, built-in command to manage pinned items to prevent applications from pinning themselves without user consent. However, with a bit of PowerShell scripting, I can gain control over the taskbar. This guide will walk through the most effective methods I use to list, unpin, and manage taskbar items programmatically. ...

October 28, 2025 · The PwshTips Team