VMware Networking Community
gnat_armor
Contributor
Contributor

Get-NsxtService pagination

When executing the command:

$ipsetsvc = Get-NsxtService -Name com.vmware.nsx.ip_sets

there are over a thousand results, but only the first 50 are returned. Can someone assist with how to get the next page, and the next, etc.?

 

Thanks

Reply
0 Kudos
1 Reply
ongweijie
Enthusiast
Enthusiast

With this command, you have already selected the nsxt service "com.vmware.nsx.ip_sets" as a $ipsetsvc variable.

 

$ipsetsvc = Get-NsxtService -Name com.vmware.nsx.ip_sets

 

I guess if you want to view all the services in a pagination style, you can do the following:

 

Get-NsxtService | Out-Host -Paging

 

 


If my answer has successfully addressed your issue, kindly mark it as RESOLVED. If it has provided valuable assistance, consider giving it a KUDOS. Thanks
Reply
0 Kudos