hashmat00
-
Featured
get patch installed as background job
$servers = Get-Content -Path "C:\servers.txt" foreach($comp in $servers){ $pingtest = Test-Connection -ComputerName $comp -Quiet -Count 1 -ErrorAction SilentlyContinue if($pingtest){ Write-Host($comp…
Read More » -
Power Shell
Background job – examples
Use background job to run multiple script same time in background without waiting for session to complete $computer = @('server1',…
Read More » -
Featured
check Single Patch KB ID installed on Remote Machine
Use this script to check if a single patch kb id installed on remote server use single line of command…
Read More » -
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 »