powershell-block-windows-attack
powershell-block-windows-attack copied to clipboard
Property 'remoteaddresses' cannot be found on this object; make sure it exists and is settable.
Property 'remoteaddresses' cannot be found on this object; make sure it exists and is settable.
At C:\Users\Administrator\Documents\banIP.ps1:33 char:7
+ $ar. <<<< remoteaddresses += ',' + $_.Name
+ CategoryInfo : InvalidOperation: (remoteaddresses:String) [], RuntimeException
+ FullyQualifiedErrorId : PropertyNotFound
I got this error. It runs with admin privilege. Please advice.
Based on further reading, disable NLA and NTLM. traffic deny all
Same problem
Please ensure the firewall rule named 'BlockAttackers' is created. (must be created manually)