CmdID / PowerShell / Cmdlets / Update
Update-MgPrintShare
Update the properties of a printer share. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 30 parameters Its page in the reference
Parameters
Show its 30 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.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-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.-PrinterShareIdThe unique identifier of printerShare-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.