Shared Points

items of some interest

Browse by Tags

Related Posts
  • Blog Post: Windows - Get-WindowsUpdateLog

    # Get-WindowsUpdateLog.ps1 # walk the WindowsUpdate.log to list the # Security Updates that have been installed. # [anything][PatchDate][anything][matchtext][PatchText] $PATTERN = "([^\n]+\}\t)" $PATTERN += "(?<PatchDate>[0-9]{4}-[0-9]{2}-[0-9]{2})" $PATTERN += "([^\n]+Windows successfully installed...
  • Blog Post: Windows - BeatUp-Windows - stress memory and cpu's

    # BeatUp-Windows.ps1 # $psProcess = gps -id $PID $psInstances = (gps -Name $psProcess.name).count if ($psInstances -gt 1) { $psName = "{0}#{1}" -f $psProcess.name,$($psInstances - 1) } else { $psName = $psProcess.name } # RAM in box $box=get-WMIobject Win32_ComputerSystem $Global:physMB=$box.TotalPhysicalMemory...