Skip to content

Various PowerShell code that I upload here - do with it what you want

License

Notifications You must be signed in to change notification settings

thoru/Various-Code

 
 

Repository files navigation

Various-Code

Check-IsValidIPAddress

Small function to check if a given IP address is a valid one

Check-RebootPending

Checks various system settings to see if the machine is waiting for a reboot

CleanUserProfileFolders

Useful for terminal servers with lots of users. Removes all files and folders from the listed entires for all user profiles. It will try to detect the correct path, or if you have multiple paths, has an override parameter.

Manage-KeePass

Manage KeePass database from within PowerShell

PasswordGenerator

GUI form to generate random passwords for you

Remove-VMwareSnapshots

Quick an dirty script to remove any snapshots from VMware that contain the string "(Remove On dd/mm/yyyy)" anywhere in the description. I run this daily in my environment so that anyone creating snapshots can have them automatically removed on the specific date.

SCOM-MaintenanceMode.ps1

A PowerShell version of my SCOM Maintentance Mode tool. This works with SCOM 2016 only.

Show-InputForm

Multiple use GUI for asking for a variety of input types that can also perform simple validation. See https://imgur.com/a/ZRXGT for images

About

Various PowerShell code that I upload here - do with it what you want

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%