Jan Reilink

Jan Reilink

Hi there, I'm Jan and this is my blog.

Get SQL database backup details with PowerShell

Microsoft SQL Server logo

Whenever I need to restore an SQL Server .bak backup file, I want to know some properties of the backup file to make sure I'm working with the correct file(s). Luckily, the .bak file and PowerShell provide all the information I need, so I don't have to start a Restore procedure in SQL Server Management Studio (SSMS) just to view the header information. As you know, SSMS is slow...

Install Windows Updates using PowerShell

PowerShell Get-Command PSWindowsUpdate lists all available cmdlets within the PSWindowsUpdate module

You can use PowerShell to install Windows Updates automatically, unattended and simple. Neat, right? For this, you don't have to have an enterprise environment with WSUS, or Windows Server, but since this is Sysadmins of the North, I assume you do. In this post I show you how to install Windows Updates with PowerShell and the PSWindowsUpdate module.