🎨
Sysadmin Solutions
  • PowerShell Administration Tools
Powered by GitBook
On this page
  • Network Tools
  • OSCP prep and CTF notes

Was this helpful?

PowerShell Administration Tools

A collection of Windows PowerShell tools for making system administration and troubleshooting easier.

Last updated 3 years ago

Was this helpful?

PowerShell scripts for automating common system administration tasks. Suggestions, submissions, updates, and requests are always welcome!

Script Name
Description

Clears all PIV certificates from the local store except for the current user's

Batch creates users in Active Directory from a .csv file.

Searches a domain for the computers specified (by computer name) and reports a list of inventory-related information for those computers. IP, MAC, Make, Model, Serial, and Last User.

Searches a domain for the computers specified (by computer name) and reports a list of inventory-related information for the attached Monitors. Make, Model, Serial

Searches a domain for the user ID specified. Returns a list of all of the computers that user has signed into.

Adds a printer to the computer specified (by computer name). Requires some information such as printer IP, Driver long name, and the name you want the printer to be displayed as.

Network Tools

Script Name
Description

Releases DHCP reservations for all active interfaces and renews them. Fully PowerShell equivilent to running ipconfig /release; ipconfig /renew.

A simple TCP port scanner. Takes in a comma separated list of IPs, and of ports. An output file (csv or txt) can be specified as well.

More content from Zweilosec:

If you like this content and would like to see more, please consider supporting me through Patreon at .

OSCP prep and CTF notes
https://www.patreon.com/zweilosec
Clear-ExcessCertificates
Create-ADUserFromCsv
Get-Computer_Inventory
Get-Monitor_Inventory
Get-User_Profile
Add-Printer
Renew-DHCP
Scan-TCPPorts