jplusc / PowerShell

My PowerShell stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a list of the scripts included here plus a short description.

  • Get-FreePCs - This will list any PCs on the domain that do not have any logged on users so you can remote into it for testing.
  • Add-ADUsersForenameSurname - This script will read a list of usernames, forenames, and surnames from a CSV file and adds those to existing AD user accounts. If the script can't find any of the users in AD those are listed at the completion of the script.
  • Install-Panda - This is to be used as a startup script to install the Panada Cloud agent. It also fixes the problem of semi-installed Panda Agents that can occur if you deploy the MSI via GPO.
  • Get-WannaCryPatchState - Scans an AD domain to find all Windows Computers, try to connect to them, get the installed hotfixes and sees if one of 'KB4012212', 'KB4012213', 'KB4012214', 'KB4012215', 'KB4012216', 'KB4012217', 'KB4012598', 'KB4013429', 'KB4015217', 'KB4015438', 'KB4015549', 'KB4015550', 'KB4015551', 'KB4015552', 'KB4015553', 'KB4016635', 'KB4019215', 'KB4019216', 'KB4019264', 'KB4019472' are installed. The status of each machine is output to a log in the user's My Documents and a full summary is given at the end.

About

My PowerShell stuff

License:MIT License


Languages

Language:PowerShell 100.0%