Skip to content

BaileyFurrow/PowerShell-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Scripts

Welcome to my PowerShell scripts! These are random scripts that I create occassionally and use either rarely or almost daily; there's no inbetween.

Folder Descriptions

Cheat sheets for various PowerShell commands.

Automated install script for ShareX. To deploy in a corporate environment with uploading disabled by default.

A copy of ThioJoe's Super God Mode repo with the UI removed.

File Descriptions

Counts the number of lines in a file using the built-in Measure-Object cmdlet.

Pretty-prints JSON using only one command. By default, two piped commands are needed to achieve this. This bring it down to one.

Formats a given byte value to the specified unit (GB, KB, etc).

Using the registry, finds all applications installed for all users. Accomplishes this by searching HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Gives you the size of a given directory. Can take multiple directories. Provides size options from bytes to terabytes; defaults to megabytes.

Prototype of the Get-Application script. Has a field for specifying if it is 64 or 32 bit.

The most basic script in the world. Retrieves the last modified file in the Downloads folder.

Note

This script is very dumb and assumes that you have a $DW variable set to your Downloads folder. Mine is set in my profile script. I might create an updated version that pulls the Downloads folder from the GUID by invoking the SHGetKnownFolderPath function from shell32.dll.

Pulls the monitor information from WMI and displays them.

Using the YouTube Data API, takes a YouTube playlist and calculates the amount of time needed to watch an entire playlist.

Follows a PowerShell GUI tutorial from Dan Stolts.

Imports an HTML file as a COM object, allowing for easier parsing.

Sorts files into multiple folders based on file extension.

Includes a bunch of commands to run to quickly navigate to various folders and tools.

Automates restarting my Chromebox server (runs my OctoPrint setup and a couple of monitoring tools).

Automates restarting the OctoPrint service on the Chromebox.

Literally just change main audio output to headphones.

Literally just change main audio output to speakers.

An exact copy of this script from SS64. Really, it's just a good reference for ms-settings shortcuts.

Parses the wifiscan.txt file and outputs an organized file into wifiscan.json. Written with some help from ChatGPT.