Generate patch report from WSUS

Hey scripters, today I want to share with you my script for generate patch report from WSUS. On our blog we already show you how to check if specific patch is installed on your machine. But what in case that we want to generate report for servers\workstations which are managed by WSUS? There are many of other tools which can better manage patch management process, however some environments still need …

Generating random password using PowerShell

Not so long time ago, I had to create a bunch of fake users for some testing purposes. Every user had to have a password set. I knew, that I could use one password for all users, but I wanted to try generating unique passwords for them. I knew we have Get-Random in PowerShell, but how to use it to generate a “random” password?

Get installed software on your machine

Today’s post will show how to get installed software on your machine. In one of my previous articles I show you script for uninstall of application. But what if you want only check when software was installed or how to uninstall it? This article for sure will help you! Function which I prepared is checking registry for all profiles created on machine and get installed software by command Get-ItemProperty, which …

Archive files using PowerShell

In this article I will show you how to archive files using PowerShell. Some of the administrative tasks like archiving old event logs require to use tool which will compress size of the folder. If we want to script those task is highly recommended to archiving files using PowerShell. PowerShell gives us possibility to archive files using .Net class called io.compression.zipfile. Basically script require only this class to be imported, …

Create-Table function – working with Data Tables in PowerShell

In this article, I will share with you one of the PowerShell modules I wrote for myself which I use every day for daily tasks and in my other scripts to simplify working with data and presenting them in the script or export to CSV, Excel, etc. The module is based on .NET Framework class “System.Data”. To create and work with a table containing a data you can use a …

PowerShell module browser is now available!

On 5th of August Microsoft announce general avaialability of PowerShell module browser. It can be found under this address https://docs.microsoft.com/en-us/powershell/module/ Why it is so cool? If you wrote some PowerShell scripts in your life you know that sometimes is hard to find proper command for your needs. Now you don’t need to search google in order to find proper solution for you, everything what you need is in one place! …