Skip to content

Get-MgReportMonthlyPrintUsage

SYNOPSIS

Get monthlyPrintUsageByPrinter from reports

SYNTAX

List2 (Default)

Get-MgReportMonthlyPrintUsage [-ExpandProperty <String[]>] [-Property <String[]>] [-Filter <String>]
 [-Search <String>] [-Skip <Int32>] [-Sort <String[]>] [-Top <Int32>] [-Break]
 [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
 [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-PageSize <Int32>] [-All]
 [-CountVariable <String>] [<CommonParameters>]

Get2

Get-MgReportMonthlyPrintUsage -PrintUsageByPrinterId <String> [-ExpandProperty <String[]>]
 [-Property <String[]>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
 [-ProxyUseDefaultCredentials] [<CommonParameters>]

Get3

Get-MgReportMonthlyPrintUsage -PrintUsageByUserId <String> [-ExpandProperty <String[]>] [-Property <String[]>]
 [-Break] [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
 [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [<CommonParameters>]

GetViaIdentity3

Get-MgReportMonthlyPrintUsage -InputObject <IReportsIdentity> [-ExpandProperty <String[]>]
 [-Property <String[]>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
 [-ProxyUseDefaultCredentials] [<CommonParameters>]

GetViaIdentity2

Get-MgReportMonthlyPrintUsage -InputObject <IReportsIdentity> [-ExpandProperty <String[]>]
 [-Property <String[]>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>]
 [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
 [-ProxyUseDefaultCredentials] [<CommonParameters>]

List3

Get-MgReportMonthlyPrintUsage [-ExpandProperty <String[]>] [-Property <String[]>] [-Filter <String>]
 [-Search <String>] [-Skip <Int32>] [-Sort <String[]>] [-Top <Int32>] [-Break]
 [-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
 [-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-PageSize <Int32>] [-All]
 [-CountVariable <String>] [<CommonParameters>]

DESCRIPTION

Get monthlyPrintUsageByPrinter from reports

EXAMPLES

Example 1

PS C:\> {{ Add example code here }}

{{ Add example description here }}

PARAMETERS

-PrintUsageByPrinterId

key: id of printUsageByPrinter

Type: System.String
Parameter Sets: Get2
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PrintUsageByUserId

key: id of printUsageByUser

Type: System.String
Parameter Sets: Get3
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type: Microsoft.Graph.PowerShell.Models.IReportsIdentity
Parameter Sets: GetViaIdentity3, GetViaIdentity2
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-ExpandProperty

Expand related entities

Type: System.String[]
Parameter Sets: (All)
Aliases: Expand

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Property

Select properties to be returned

Type: System.String[]
Parameter Sets: (All)
Aliases: Select

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Filter items by property values

Type: System.String
Parameter Sets: List2, List3
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Search items by search phrases

Type: System.String
Parameter Sets: List2, List3
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Skip

Skip the first n items

Type: System.Int32
Parameter Sets: List2, List3
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Sort

Order items by property values

Type: System.String[]
Parameter Sets: List2, List3
Aliases: OrderBy

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Top

Show only the first n items

Type: System.Int32
Parameter Sets: List2, List3
Aliases: Limit

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Break

Wait for .NET debugger to attach

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-HttpPipelineAppend

SendAsync Pipeline Steps to be appended to the front of the pipeline

Type: Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HttpPipelinePrepend

SendAsync Pipeline Steps to be prepended to the front of the pipeline

Type: Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Proxy

The URI for the proxy server to use

Type: System.Uri
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProxyCredential

Credentials for a proxy server to use for the remote call

Type: System.Management.Automation.PSCredential
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProxyUseDefaultCredentials

Use the default credentials for the proxy

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-PageSize

Sets the page size of results.

Type: System.Int32
Parameter Sets: List2, List3
Aliases:

Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-All

List all pages.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: List2, List3
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-CountVariable

Specifies a count of the total number of items in a collection. By default, this variable will be set in the global scope.

Type: System.String
Parameter Sets: List2, List3
Aliases: CV

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.Graph.PowerShell.Models.IReportsIdentity

OUTPUTS

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPrintUsageByPrinter

Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPrintUsageByUser

NOTES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT \<IReportsIdentity>: Identity Parameter [ApplicationSignInDetailedSummaryId \<String>]: key: id of applicationSignInDetailedSummary [CredentialUserRegistrationDetailsId \<String>]: key: id of credentialUserRegistrationDetails [Date \<DateTime?>]: Usage: date={date} [DeviceManagementCachedReportConfigurationId \<String>]: key: id of deviceManagementCachedReportConfiguration [DeviceManagementExportJobId \<String>]: key: id of deviceManagementExportJob [DeviceManagementReportScheduleId \<String>]: key: id of deviceManagementReportSchedule [DirectoryAuditId \<String>]: key: id of directoryAudit [EndDateTime \<DateTime?>]: Usage: endDateTime={endDateTime} [Filter \<String>]: Usage: filter={filter} [GroupId \<String>]: Usage: groupId={groupId} [IncludedUserRoles \<String>]: Usage: includedUserRoles={includedUserRoles} [IncludedUserTypes \<String>]: Usage: includedUserTypes={includedUserTypes} [Period \<String>]: Usage: period={period} [PrintUsageByPrinterId \<String>]: key: id of printUsageByPrinter [PrintUsageByUserId \<String>]: key: id of printUsageByUser [PrinterId \<String>]: Usage: printerId={printerId} [ProvisioningObjectSummaryId \<String>]: key: id of provisioningObjectSummary [RestrictedSignInId \<String>]: key: id of restrictedSignIn [SignInId \<String>]: key: id of signIn [Skip \<Int32?>]: Usage: skip={skip} [SkipToken \<String>]: Usage: skipToken={skipToken} [StartDateTime \<DateTime?>]: Usage: startDateTime={startDateTime} [Top \<Int32?>]: Usage: top={top} [UserCredentialUsageDetailsId \<String>]: key: id of userCredentialUsageDetails [UserId \<String>]: Usage: userId={userId}

https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.reports/get-mgreportmonthlyprintusage

Back to top