hashmat00
-
Power Shell
Check Patches Installed and send email
$RemoteComputers = get-content "C:\test\dpservers.txt" ForEach ($Computer in $RemoteComputers) { Try { Invoke-Command -Computername $Computer -ScriptBlock { $head=@” <style> @charset “UTF-8”;…
Read More » -
Featured
Post Patching Server Validation
Use This script to validate server after post patching installation up time auto service pending reboot # Descritption : This…
Read More » -
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 »