I just wrote a little function to get out Flow Stats out of NSX … hopefully this might be useful to someone else.

If you appreciated the function, please check out a few of the sponsored Ad’s to help with my hosting

Here is a sample of the output:

nsxflowreport

Example usage:

So that I don’t keep being prompted for credentials I save the service account user and password with the powershell Get-Credential command.

 

Get the objectID by using the following methods…

vCenter

Powershell PowerCLI

vRops API…

vropsobjid

 

to the function…