potatoqualitee / tentools

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

Weird piping errors #50

Closed potatoqualitee closed 3 years ago

potatoqualitee commented 3 years ago

[132.18 ms] C:\github\tentools> Get-TNPolicy | Remove-TNPolicy Remove-TNPolicy : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input. At line:1 char:16

[139.07 ms] C:\github\tentools> Get-TNCredential [123 ms] C:\github\tentools> Get-TNPolicy [127.5 ms] C:\github\tentools> Get-TNPolicy | Remove-TNPolicy Remove-TNPolicy : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input. At line:1 char:16

potatoqualitee commented 3 years ago

fixed