hashmat00
-
Power Shell
Copy Log files from remote machine
Use this script to copy log file from a remote machine and save it locally $device = Get-Content -Path "C:\clients…
Read More » -
Featured
Check Multiple Patch IDs installed on Remote Machine
Use this script to find out if multiple Patch using KB IDs installed on remote machine it checks if machine…
Read More » -
Scripts
SCCM Primary Site Missing Boundaries – Alert
Use this script to create a task schedule to alert when there is new boundaries discovered in SCCM Primary site.…
Read More » -
Power Shell
Capture Screen PS Script
Use this script to capture screenshot of remote machine desktop if needed $Path = "C:\ScreenCapture" # Make sure that the…
Read More » -
Featured
Clean SCCM Primary Site IIS Logs
$logs = Get-ChildItem -Path C:\inetpub\logs -Recurse -Filter *.log $oldest = (get-date).AddDays(-30) foreach($log in $logs){ if($log.LastWriteTime -lt $oldest){ $log.Delete() } }…
Read More » -
Featured
sccm client boundary group validation
Use this script to find remote machines sccm client has associate to any boundary group $dpservers = Get-Content "C:\test\dpservers.txt" foreach($dp…
Read More » -
Scripts
Get Pending Reboot – remote machine
Use following scripts to find status of remote machine pending reboot Function Get-PendingRebootStatus { [CmdletBinding()] Param ( [Parameter( Mandatory =…
Read More » -
Featured
Remove & Clean SCCM CLient
This script will stop sccm service, uninstall , clean registry and remove folders # Attempt to run the SCCM uninstaller…
Read More » -
Find DotNet Version
Use this simple Powershell command script to find your DotNet version installed on your machine Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP'…
Read More »