G
gnja.io
HomeBlogProjectsGalleryVideosAbout
System operational
© 2026 gnja.io•About•GitHub•YouTube•RSS
Blog

Blog

46 posts in powershell

PowerShell: Calculating Folder Sizes
PowerShell

PowerShell: Calculating Folder Sizes

Sometimes all you want to know, or need to know, is how big a folder is in PowerShell. To do that, we'll need to use Get-ChildItem and Measure-Object specifically.The quick and dirtyThe first command...

Sep 17, 20202 min read
Using $PSBoundParameters in PowerShell
PowerShell

Using $PSBoundParameters in PowerShell

NavigationWhat is $PSBoundParameters?Taking a look at $PSBoundParametersUsing a switch statementSplatting with $PSBoundParametersWrapping things upYou can view all of the example code on GitHub:...

Jan 19, 20203 min read
Visual Studio Code PowerShell Setup
PowerShell
12...4Next →

Visual Studio Code PowerShell Setup

Welcome to my Visual Studio Code/PowerShell series! What is Visual Studio Code?Installing VS CodeInstalling ExtensionsPowerShell extensionvscode-icons icon packRainglow theme packPowerShell...

Nov 9, 20196 min read
Using Discord Webhooks and Embeds With PowerShell (Part 2)
PowerShell

Using Discord Webhooks and Embeds With PowerShell (Part 2)

Welcome to part 2 of my series of using PowerShell to send Discord webhooks. In this post I will be going over how to send embeds. If you’re just getting started with the process, I recommend reading...

Oct 16, 20183 min read
PSElvUI, PowerShell ElvUI Updater Module
PowerShell

PSElvUI, PowerShell ElvUI Updater Module

This post is mostly for the World of Warcraft nerds out there. /raises handThis module allows you to:Check / Update ElvUI if there is a newer versionInstall ElvUI if it is not already installedSimply...

Sep 28, 20182 min read
Using Discord Webhooks With PowerShell (Part 1)
PowerShell

Using Discord Webhooks With PowerShell (Part 1)

A Discord Webhook allows you to send a message to a text channel auto-magically. It essentially provides a URL that is associated with a channel. You can customize the name of the sender, the avatar...

Mar 12, 20182 min read
PowerShell: Ninja Downloader (Modular File Downloading Utility)
PowerShell

PowerShell: Ninja Downloader (Modular File Downloading Utility)

Knowing PowerShell can come in handy when you need to download files. Invoke-WebRequest is the command to get to know when working with web parsing, and obtaining downloads.I've noticed,...

Mar 11, 20174 min read
PowerShell Quick Tip: Using ValidateSet
PowerShell

PowerShell Quick Tip: Using ValidateSet

PowerShell Quick Tip: Using ValidateSetWhy Use ValidateSet?ValidateSet is part of advanced parameters. It allows you to constrain the input of the parameter to a set of values. It also will...

Jan 21, 20172 min read
PowerShell: Configure Your Scripts With a GUI!
PowerShell

PowerShell: Configure Your Scripts With a GUI!

Making a GUI in PowerShell is a relatively easy process. GUIs can really come in handy, too! You can use them in scripts to guide execution a specific way, and even ease people into using PowerShell...

Dec 28, 20168 min read
PowerShell: Getting Started - Utilizing the Web: Part 4 (Controlling Internet Explorer via IE COM Object)
PowerShell

PowerShell: Getting Started - Utilizing the Web: Part 4 (Controlling Internet Explorer via IE COM Object)

Welcome to my Getting Started with Windows PowerShell series!In case you missed the earlier posts, you can check them out here:Customizing your environmentCommand discoveryUsing the ISE and basic...

Dec 5, 20166 min read
PowerShell: Getting Started - Utilizing the Web: Part 3 (More Invoke-RestMethod)
PowerShell

PowerShell: Getting Started - Utilizing the Web: Part 3 (More Invoke-RestMethod)

Welcome to my Getting Started with Windows PowerShell series! In case you missed the earlier posts, you can check them out here:Customizing your environmentCommand discoveryUsing the ISE and basic...

Aug 8, 20168 min read
PowerShell: Getting Started - Utilizing the Web: Part 2 (Invoke-RestMethod)
PowerShell

PowerShell: Getting Started - Utilizing the Web: Part 2 (Invoke-RestMethod)

Welcome to my Getting Started with Windows PowerShell series!In case you missed the earlier posts, you can check them out here:Customizing your environmentCommand discoveryUsing the ISE and basic...

Jul 25, 20167 min read