PowerShell Remoting with WinRM and SSH

For a long time, PowerShell remoting usually meant WinRM. That is still true in many Windows domains. With PowerShell 7 and OpenSSH, SSH is now a practical option too, especially when Linux or mixed environments are involved. So, which protocol should you use? WinRM or SSH? There is no single best protocol. The right choice depends on the machines, authentication model, firewall rules, and whether you need rich PowerShell objects or simple cross-platform access. ...

December 14, 2025 · PwshTips

File Transfer Speed: SCP vs. Robocopy vs. Copy-Item

When I need to move large files between Windows systems, I do not pick a tool by habit. LAN copies, WAN copies, and PowerShell remoting copies behave very differently. This post compares SCP (OpenSSH), Robocopy (SMB), and Copy-Item (WinRM) for the kinds of transfers I actually run. The short version: Robocopy is usually best on a LAN, SCP or rsync is usually safer across untrusted or unstable networks, and Copy-Item is convenient for small files inside an existing PowerShell remoting workflow. ...

November 7, 2025 · PwshTips

Manage Pinned Taskbar Items with PowerShell

Standardizing the Windows taskbar sounds like a small desktop task, but it gets awkward fast when you need to automate it. Windows does not provide a clean built-in command for managing pinned items, partly to stop applications from pinning themselves without user consent. The methods below are the ones I use when I need to inspect or clean up pinned taskbar items with PowerShell. Quick answer Windows stores user-pinned taskbar shortcuts under the user’s profile, but it does not provide a clean supported cmdlet for fully managing pins. With PowerShell, you can list pinned .lnk files from the TaskBar folder and remove unwanted shortcuts. After changes, restart Explorer for the taskbar to refresh. Test this per Windows version because taskbar behavior changes across releases. ...

October 28, 2025 · PwshTips