Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invoke-Command -ComputerName (Get-ADComputer -filter * -searchBase "ou=HCT Company,dc=domain,dc=local" | Select-Object -ExpandProperty Name) -throttle 100 -asjob -ScriptBlock {
- if ((Get-wmiobject win32_operatingsystem).OSArchitecture -like '64-bit')
- {
- Get-ItemProperty -Path "HKLM:\SOFTWARE\Wow6432Node\Malwarebytes' Anti-Malware" -Name dbdate | select *dbdate*
- }
- else
- {
- Get-ItemProperty -Path "HKLM:\SOFTWARE\Malwarebytes' Anti-Malware" -Name dbdate | select *dbdate*
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement