Skip to content
Utility scripts that I've written
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ActiveDirectory Adding Get-ADUserBadPasswords May 9, 2019
ActiveSessions New cmdlet - Close-ActiveSessions Apr 4, 2019
InactiveUserProfiles commit of remove-inactiveuserprofiles Apr 18, 2019
Misc Adding Get-InstalledSoftware Mar 14, 2019
.gitattributes Initial commit May 25, 2018
LICENSE Initial commit May 25, 2018
README.md Clarified usage of functions May 9, 2019

README.md

Utilities

Hey! You've stumbled upon my collection of tools and utilities. Most, hopefully all, are documented on my blog: https://theposhwolf.com.

Most of these scripts are written as functions, so there are a couple of ways to use them:

  1. Put them all in a single directory with a module file as I outline in this post and them use Import-Module.
  2. Copy and paste the code directly into your PowerShell session, though you'd have to do this every time you wanted access to them.
  3. Paste them into your favorite code editor like VS Code or the ISE and then run the script to import the function into your session.
  4. Save the file as a .ps1 and use Import-Module on that file directly.
  5. Paste the code into your profile so it loads every time you launch PowerShell.

I prefer #1 so you can have a large number of custom functions and import them all with one command. In fact, you could just put the Import-Module command in your profile and have it run automatically!

You can’t perform that action at this time.