potatoqualitee / tentools

💙 tenable.sc / nessus / acas powershell module
BSD 3-Clause "New" or "Revised" License
39 stars 7 forks source link

fix connecting to 3 #30

Closed potatoqualitee closed 3 years ago

potatoqualitee commented 3 years ago

ipmo tentools -force; $null=Connect-TNServer -ComputerName securitycenter -Type tenable.sc -Credential $secman; $null=Connect-TNServer -ComputerName macmini -Credential $cred; $null=Connect-TNServer -ComputerName localhost -Credential $cred ;Import-TNPolicy -FilePath .\tests\library\policy.nessus -Verbose Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version". At line:201 char:38