eckdd/PowerFMC

Get-FMCAccessPolicyRule not outputting string data for certain attributes

Closed this issue · 3 comments

String data fields include the following:

sourceZone
destZone
sourcePorts
destPorts
sourceNetworks
destNetworks

Outputs the following text for all fields: "@{objects=System.Object[]}"

Is this expected behaviour or am I executing this cmdlet incorrectly?

eckdd commented

Yes, this is expected behavior. We would not be able to convert the content of those elements into JSON and pipe them into other functions if they were not stored as objects.