PowerShell Tip of the Week: Create Invoke-WebRequest from Chrome

This week PowerShell tip will show you how to create Invoke-WebRequest from Chrome. Each scripter who wanted to properly use Invoke-WebRequest command to access some url knows that it is not so easy. Every time headers or some additional settings must be adjusted to properly gather all the data. Last update of Chrome web browser gives awesome functionality for PowerShell developers. In Chrome Dev Tools option to copy whole Invoke-WebRequest …

How to use Cloud Shell in Visual Studio Code

Today’s post will not show you any PowerShell script, but hope it will show you how to use cloud shell in Visual Studio Code 😉 What is Cloud Shell? If you follow our blog a little bit longer you can probably read article PowerShell in Azure Cloud Shell now available!. To make long story short, for those who are not familiar with Cloud Shell – it’s an interactive shell available from …

Get cryptocurrencies price using PowerShell

Today’s script will not be directly connected with Microsoft stuff, but it will show you how to get cryptocurrencies price using PowerShell. Cryptocurrencies every year become more popular and in my humble opinion will enter the mainstream very soon. I thought it can be very handfull for cryptotraders who are interesting in PowerShell to have function which will get cryptocurrencies price. Base on this script more experienced scripters can build …

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! …