This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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> |
NewerOlder