Kyle Metzer

Uptime Reboot Scripts

This set of scripts is designed to force a scheduled restart of a machine based on number of hours of operation. The script prompts the user to restart and allows the restart to be deferred for 1 day by default and then deferred in 2 hour increments up to 3 times. The two “prompt” scripts…

Read More

List All Windows Updates as CSV(WSUS)

Sometimes you want to assess new machines to make sure they have all the patches they should have installed. This script will ping WSUS and export a CSV file (which can be opened in excel) of all the installed Windows updates on the machine. This script is fairly accurate, however, it cannot report on windows…

Read More

Resume Windows 10 Preview Builds and Feature Updates

This script removes registry keys that were added to defer Windows feature upgrades. The latest feature update to be covered is 1903 which will be released in April 2019, the previous one being 1809 which was initially released in October 2018. in the “defer” script based on this article: https://pureinfotech.com/prevent-windows-10-installing-1093-april-2019-update/ Deploy this script to remove…

Read More

Defer Windows 10 Preview Builds and Feature Updates

This script will defer feature updates and preview builds for the time specified in the script prompt. You can defer these upgrades for up to 1 year using this script. This script will work with Windows 1809 released originally in October 2018 and also will work with preview build 1903 which is slated for release…

Read More

Open .js files in notepad

Imports a reg file to default .js extension action to Edit (instead of Open), and sets the Edit command to notepad.exe.

Read More

Enable Powershell

Sets permissions on powershell.exe to allow users to run powershell scripts. This reverses the effect of the Disable Powershell script. Can edit the first line of this script to change the user group if needed.

Read More

Disable PowerShell

Sets permissions on powershell.exe to prevent users from running powershell scripts. This will also prevent Kaseya from running powershell commands "as user" as well. Can edit the first line of this script to change the user group if needed.

Read More

Get connected NICs and speed

Makes a powershell call to get connected NICs and their connection speed. Can report using $NICs$

Read More