what pagesize means for Get-MgBetaDeviceManagementVirtualEndpointCloudPc

Xu, Tao 45 Reputation points
2023-08-22T16:19:46.3266667+00:00

Get-MgBetaDeviceManagementVirtualEndpointCloudPc -pagesize ?

how you set pagesize?

where is it

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,494 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,909 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,866 Reputation points Microsoft Employee
    2023-08-22T17:58:34.36+00:00

    @Xu, Tao

    Thank you for your post!

    I understand that you have a question regarding the Get-MgBetaDeviceManagementVirtualEndpointCloudPc Microsoft Graph PS Beta command. To hopefully help point you in the right direction or resolve your issue, I'll share my findings below.


    Findings:

    When it comes to the Get-MgBetaDeviceManagementVirtualEndpointCloudPc command, the -pagesize parameter is used to set the page size of results / the number of items returned per page - similar to the Top query parameter concept.

    For example:

    #This command should return 50 items using the -PageSize parameter.
    Get-MgBetaDeviceManagementVirtualEndpointCloudPc -PageSize 50
    

    Additional Links:

    I hope this helps!

    If you have any other questions, please let me know. Thank you for your time and patience throughout this issue.


    If the information helped address your question, please Accept the answer. This will help us and also improve searchability for others in the community who might be researching similar information.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.