CmdID / PowerShell / Cmdlets / New
New-MgGroupDriveRootLink
Create a link to share a driveItem driveItem. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 23 parameters Its page in the reference
Parameters
Show its 23 parameters
-AdditionalPropertiesAdditional Parameters-BodyParameterTo construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DriveIdThe unique identifier of drive-ExpirationDateTime-GroupIdThe unique identifier of group-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-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-Message-Password-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-RecipientsTo construct, see NOTES section for RECIPIENTS properties and create a hash table.-ResponseHeadersVariable, -RHVOptional Response Headers Variable.-RetainInheritedPermissions-Scope-SendNotification-Type-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.