Skip to content

Instantly share code, notes, and snippets.

View Pome-ro's full-sized avatar
🐲
Roll for Initiative!

Tom Pomeroy Pome-ro

🐲
Roll for Initiative!
View GitHub Profile
@Pome-ro
Pome-ro / find-ccleanermalware.ps1
Last active September 18, 2017 22:11
Find if computers on your network have the CCleaner Malware.
# Finds Regkey for CCleaner Malware in v5.33. 2017-09-18
# Read More Here: http://blog.talosintelligence.com/2017/09/avast-distributes-malware.html
$Computers = Get-AdComputer -filter #Put your filter here.
$cred = Get-Credential
$logpath = $env:USERPROFILE+"\desktop\ccleaner-malware.csv"
foreach ($Computer in $Computers) {
if($(Test-NetConnection $computer.name).PingSucceeded){
$WinRM = Get-Service -Name WinRM -ComputerName $computer.name
@Pome-ro
Pome-ro / Script_Template.ps1
Created March 28, 2016 16:09 — forked from 9to5IT/Script_Template.ps1
PowerShell: Script Template
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>