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

Blog

46 posts in powershell

PowerShell: Getting Started - Using the ISE and Creating Functions
PowerShell

PowerShell: Getting Started - Using the ISE and Creating Functions

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 discoveryWe will be exploringBasic...

Apr 7, 20166 min read
PowerShell Quick Tip: Basic use of the -f format operator
PowerShell

PowerShell Quick Tip: Basic use of the -f format operator

What the -f?There are many ways to manipulate/build strings in PowerShell. One of my favorite ways is to use the -f format operator. When you use the operator, it evaluates everything to...

Apr 5, 20162 min read
PowerShell: Getting Started - Command Discovery
← Prev1234Next →
PowerShell

PowerShell: Getting Started - Command Discovery

Welcome to my Getting Started with Windows PowerShell series! In case you missed the earlier posts, you can check them out here:Customizing your environmentWe will be exploring:A review of some...

Mar 31, 20168 min read
PowerShell: Getting Started - Customizing Your Environment!
PowerShell

PowerShell: Getting Started - Customizing Your Environment!

Welcome to my Getting Started with Windows PowerShell series!We will be exploring:Just what PowerShell is.The different versions of PowerShell.How PowerShell works.Customizing your PowerShell...

Mar 24, 20169 min read
PowerShell: List out your PuTTY sessions
PowerShell

PowerShell: List out your PuTTY sessions

I wanted a way to export my PuTTY sessions as I was about to reformat my machine. You could export the registry keys and keep them, but I wanted something more visual as well. So I turned to my...

Mar 15, 20161 min read
PowerShell Quick Tip: Use a text file to omit values in an array
PowerShell

PowerShell Quick Tip: Use a text file to omit values in an array

After making the Lun Check Script I had an issue come up when somebody decommissioned a server. The LUNs that were mapped needed to be set offline for a week, then deleted. Since the script...

Mar 1, 20161 min read
PowerShell: NetApp LUN monitoring with a PRTG custom sensor
PowerShell

PowerShell: NetApp LUN monitoring with a PRTG custom sensor

When a LUN goes offline, bad things tend to happen on the host using it. It is good to know sooner rather than later if that happens. I was looking for a way to do this and what made the most sense...

Feb 24, 20164 min read
PowerShell: Easy function for connecting to sessions on remote domain controllers
PowerShell

PowerShell: Easy function for connecting to sessions on remote domain controllers

One of the things I love doing with PowerShell is enabling my team to learn how to use it while providing tools that make specific or repetitive commands easy to use. Enter-PSSession is easy and...

Feb 15, 20161 min read
PowerShell Quick Tip: Simple logging with time stamps
PowerShell

PowerShell Quick Tip: Simple logging with time stamps

Today I was writing a script at work to check sysvol replication. We have a DC that will sometimes not share the love outbound, yet inbound works just fine. That means to test it I needed to create a...

Feb 13, 20161 min read
PowerShell: Fun with Weather Underground's API (part 2)
PowerShell

PowerShell: Fun with Weather Underground's API (part 2)

In the last post we learned how to use Weather Underground's API to resolve a city name and get data back from it. Once we get those two URLs we can use them to get data back from the API.  I...

Feb 9, 20165 min read
PowerShell: Control your LIFX light!
PowerShell

PowerShell: Control your LIFX light!

LET THERE BE LIGHT!This post has been updated on 5/18/17 to reflect changes made to the Lifx API!I stumbled upon the fact that LIFX has an API you can use today. Having found that out I wanted to do...

Feb 7, 20163 min read
PowerShell: Fun with Weather Underground's API (part 1)
PowerShell

PowerShell: Fun with Weather Underground's API (part 1)

Free APIs can be fun!After doing some work with the Victor OPs API, I personally wanted to see what else was out there. I haven't messed with APIs too much in the past, but now I'm all about it. I'm...

Feb 5, 20162 min read