CmdID / PowerShell / Cmdlets / New
New-MgTeamScheduleTimeOffReason
Create a new timeOffReason. Microsoft Graph PowerShell reference
From the Microsoft Graph PowerShell reference 21 parameters Its page in the reference
Parameters
Show its 21 parameters
-AdditionalPropertiesAdditional Parameters-BodyParametertimeOffReason To construct, see NOTES section for BODYPARAMETER properties and create a hash table.-BreakWait for .NET debugger to attach-CodeThe code of the timeOffReason to represent an external identifier.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CreatedByidentitySet To construct, see NOTES section for CREATEDBY properties and create a hash table.-DisplayNameThe name of the timeOffReason.-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-IconTypetimeOffReasonIconType-IdThe unique identifier for an entity.-InputObjectIdentity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.-IsActiveIndicates whether the timeOffReason can be used when creating new entities or updating existing ones.-LastModifiedByidentitySet To construct, see NOTES section for LASTMODIFIEDBY 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.-TeamIdThe unique identifier of team-WhatIf, -wiRuns the command in a mode that only reports what would happen without performing the actions.