This lists some powershell scripts I have created which may be of interest to others.
To run a powershell script automatically using Task Scheduler, set the program to [ powershell.exe ] and the Add Arguments field to [ -File "PathToScript.ps1" ].
Link to more info on setting it.
If you have errors running powershell scripts, you need to run this command in an Admin Powershell window:
Set-ExecutionPolicy RemoteSigned
To run a powershell script and hide the powershell window, use this:
PowerShell.exe -windowstyle hidden -File "C:\Path\To\Script.ps1"
AD-CheckComputers - Query Active Directory for a list of all computers, check each computer to see it's OS, if it is online, IP, last login time, and current users.
AD-CheckComputers.ps1
FastPing - Ping multiple devices quickly - Use this to watch devices ping times, calculate ping losses, see when devices go offline. Double click a line to see more details.
FastPing.ps1
FlashTest - Test flash storage - This creates random data on a drive which can be validated by hashing. This will detect any corruption that is located within the files. Fill a drive up and if any file does not read exactly the same, you can tell which files have corruption.
FlashTest.ps1
Scan Network / Check for open TCP Ports - Use this tool I wrote to scan all devices on the LAN, find names/MAC's, and open ports.
Test-TCP_Probe.ps1
ScreenCapture - Take periodic screenshots of a computer screen. I use this to monitor my sons computer (he knows I do this), I save the files to a network share and I periodically review them. You can specify the folder to save them in, the file format, and the interval between captures (I use 5 minutes). It detects if the computer is idle (no mouse movements) and doesn't continue until the mouse moves.
ScreenCapture.ps1
Keywords: Scan, Network, Ping, TCP, Probe, Open, Analyze |