CmdID

CmdID / PowerShell / Cmdlets / New

New-MgPrintShare

Create a new printerShare for the specified printer. Microsoft Graph PowerShell reference

From the Microsoft Graph PowerShell reference 28 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

28 in the Microsoft Graph PowerShell reference
Show its 28 parameters
-AdditionalPropertiesAdditional Parameters
-AllowAllUsersIf true, all users and groups will be granted access to this printer share.
-AllowedGroupsThe groups whose users have access to print using the printer.
-AllowedUsersThe users who have access to print using the printer.
-BodyParameterprinterShare To construct, see NOTES section for BODYPARAMETER properties and create a hash table.
-BreakWait for .NET debugger to attach
-CapabilitiesprinterCapabilities To construct, see NOTES section for CAPABILITIES properties and create a hash table.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CreatedDateTimeThe DateTimeOffset when the printer share was created.
-DefaultsprinterDefaults To construct, see NOTES section for DEFAULTS properties and create a hash table.
-DisplayNameThe name of the printer/printerShare.
-HeadersOptional headers that will be added to the request.
-HttpPipelineAppendSendAsync Pipeline Steps to be appended to the front of the pipeline
-HttpPipelinePrependSendAsync Pipeline Steps to be prepended to the front of the pipeline
-IdThe unique identifier for an entity.
-IsAcceptingJobsSpecifies whether the printer/printerShare is currently accepting new print jobs.
-JobsThe list of jobs that are queued for printing by the printer/printerShare.
-LocationprinterLocation To construct, see NOTES section for LOCATION properties and create a hash table.
-ManufacturerThe manufacturer of the printer/printerShare.
-ModelThe model name of the printer/printerShare.
-Printerprinter To construct, see NOTES section for PRINTER properties and create a hash table.
-ProxyThe URI for the proxy server to use
-ProxyCredentialCredentials for a proxy server to use for the remote call
-ProxyUseDefaultCredentialsUse the default credentials for the proxy
-ResponseHeadersVariable, -RHVOptional Response Headers Variable.
-StatusprinterStatus To construct, see NOTES section for STATUS properties and create a hash table.
-ViewPointprinterShareViewpoint To construct, see NOTES section for VIEWPOINT properties and create a hash table.
-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.