Advertisement
darksim905

Powershell MalwareBytes Get-Definitions Date

Feb 11th, 2015
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Invoke-Command -ComputerName (Get-ADComputer -filter * -searchBase "ou=HCT Company,dc=domain,dc=local" | Select-Object -ExpandProperty Name) -throttle 100 -asjob -ScriptBlock {
  2. if ((Get-wmiobject win32_operatingsystem).OSArchitecture -like '64-bit')
  3. {
  4. Get-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Malwarebytes' Anti-Malware" -Name dbdate | select *dbdate*
  5. }
  6. else
  7. {
  8. Get-ItemProperty -Path "HKLM:\SOFTWARE\Malwarebytes' Anti-Malware" -Name dbdate | select *dbdate*
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement