exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get appointments from bookingBusinesses .Description Get appointments from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusinessappointment #> function Get-MgBookingBusinessAppointment { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessAppointment_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessAppointment_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessAppointment_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get calendarView from bookingBusinesses .Description Get calendarView from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusinesscalendarview #> function Get-MgBookingBusinessCalendarView { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCalendarView_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCalendarView_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCalendarView_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get customers from bookingBusinesses .Description Get customers from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusinesscustomer #> function Get-MgBookingBusinessCustomer { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingCustomer-id of bookingCustomer ${BookingCustomerId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCustomer_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCustomer_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessCustomer_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get services from bookingBusinesses .Description Get services from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusinessservice #> function Get-MgBookingBusinessService { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingService-id of bookingService ${BookingServiceId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessService_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessService_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessService_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get staffMembers from bookingBusinesses .Description Get staffMembers from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusinessstaffmember #> function Get-MgBookingBusinessStaffMember { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingStaffMember-id of bookingStaffMember ${BookingStaffMemberId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessStaffMember_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessStaffMember_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusinessStaffMember_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from bookingBusinesses by key .Description Get entity from bookingBusinesses by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingbusiness #> function Get-MgBookingBusiness { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusiness_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusiness_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingBusiness_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from bookingCurrencies by key .Description Get entity from bookingCurrencies by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/get-mgbookingcurrency #> function Get-MgBookingCurrency { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingCurrency-id of bookingCurrency ${BookingCurrencyId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Bookings.private\Get-MgBookingCurrency_Get'; GetViaIdentity = 'Microsoft.Graph.Bookings.private\Get-MgBookingCurrency_GetViaIdentity'; List = 'Microsoft.Graph.Bookings.private\Get-MgBookingCurrency_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to appointments for bookingBusinesses .Description Create new navigation property to appointments for bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .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. BODYPARAMETER <IMicrosoftGraphBookingAppointment>: Represents a booked appointment of a service by a customer in a business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember REMINDERS <IMicrosoftGraphBookingReminder[]>: . [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusinessappointment #> function New-MgBookingBusinessAppointment { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment] # Represents a booked appointment of a service by a customer in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking customer associated with this appointment. ${CustomerId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${CustomerLocationAddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${CustomerLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${CustomerLocationAddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${CustomerLocationAddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${CustomerLocationAddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${CustomerLocationAddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CustomerLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CustomerLocationCoordinatesAltitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CustomerLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CustomerLocationCoordinatesLatitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CustomerLocationCoordinatesLongitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${CustomerLocationDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${CustomerLocationEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${CustomerLocationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${CustomerLocationUniqueId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${CustomerLocationUniqueIdType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${CustomerLocationUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Notes from the customer associated with this appointment. ${CustomerNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerPhone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${Duration}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${EndTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${InvoiceAmount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${InvoiceDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${InvoiceDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingInvoiceStatus ${InvoiceStatus}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceUrl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OptOutOfCustomerEmail}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${Price}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${PriceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # . # To construct, see NOTES section for REMINDERS properties and create a hash table. ${Reminders}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${SelfServiceAppointmentId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking service associated with this appointment. ${ServiceId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${ServiceLocationAddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${ServiceLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${ServiceLocationAddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${ServiceLocationAddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${ServiceLocationAddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${ServiceLocationAddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${ServiceLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${ServiceLocationCoordinatesAltitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${ServiceLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${ServiceLocationCoordinatesLatitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${ServiceLocationCoordinatesLongitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${ServiceLocationDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${ServiceLocationEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${ServiceLocationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${ServiceLocationUniqueId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${ServiceLocationUniqueIdType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${ServiceLocationUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name of the booking service associated with this appointment. ${ServiceName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${StartTimeZone}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessAppointment_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessAppointment_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessAppointment_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessAppointment_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to calendarView for bookingBusinesses .Description Create new navigation property to calendarView for bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .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. BODYPARAMETER <IMicrosoftGraphBookingAppointment>: Represents a booked appointment of a service by a customer in a business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember REMINDERS <IMicrosoftGraphBookingReminder[]>: . [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusinesscalendarview #> function New-MgBookingBusinessCalendarView { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment] # Represents a booked appointment of a service by a customer in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking customer associated with this appointment. ${CustomerId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${CustomerLocationAddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${CustomerLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${CustomerLocationAddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${CustomerLocationAddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${CustomerLocationAddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${CustomerLocationAddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CustomerLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CustomerLocationCoordinatesAltitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CustomerLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CustomerLocationCoordinatesLatitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CustomerLocationCoordinatesLongitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${CustomerLocationDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${CustomerLocationEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${CustomerLocationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${CustomerLocationUniqueId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${CustomerLocationUniqueIdType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${CustomerLocationUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Notes from the customer associated with this appointment. ${CustomerNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerPhone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${Duration}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${EndTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${InvoiceAmount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${InvoiceDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${InvoiceDateTimeZone}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingInvoiceStatus ${InvoiceStatus}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceUrl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OptOutOfCustomerEmail}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${Price}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${PriceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # . # To construct, see NOTES section for REMINDERS properties and create a hash table. ${Reminders}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${SelfServiceAppointmentId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking service associated with this appointment. ${ServiceId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${ServiceLocationAddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${ServiceLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${ServiceLocationAddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${ServiceLocationAddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${ServiceLocationAddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${ServiceLocationAddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${ServiceLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${ServiceLocationCoordinatesAltitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${ServiceLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${ServiceLocationCoordinatesLatitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${ServiceLocationCoordinatesLongitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${ServiceLocationDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${ServiceLocationEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${ServiceLocationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${ServiceLocationUniqueId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${ServiceLocationUniqueIdType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${ServiceLocationUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name of the booking service associated with this appointment. ${ServiceName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceNotes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${StartTimeZone}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCalendarView_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCalendarView_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCalendarView_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCalendarView_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to customers for bookingBusinesses .Description Create new navigation property to customers for bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer .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. BODYPARAMETER <IMicrosoftGraphBookingCustomer>: Represents a customer of the business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusinesscustomer #> function New-MgBookingBusinessCustomer { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer] # Represents a customer of the business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The e-mail address of this person. ${EmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCustomer_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCustomer_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCustomer_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessCustomer_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to services for bookingBusinesses .Description Create new navigation property to services for bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService .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. BODYPARAMETER <IMicrosoftGraphBookingService>: Represents a particular service offered by a booking business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: DEFAULTREMINDERS <IMicrosoftGraphBookingReminder[]>: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusinessservice #> function New-MgBookingBusinessService { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService] # Represents a particular service offered by a booking business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${AddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${AddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${AddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${AddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${AddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${AddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CoordinateAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CoordinateAltitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CoordinateAltitudeAccuracy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CoordinateLatitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CoordinateLongitude}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${DefaultDuration}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${DefaultLocationDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${DefaultLocationEmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${DefaultLocationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${DefaultLocationUniqueId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${DefaultLocationUniqueIdType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${DefaultLocationUri}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${DefaultPrice}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${DefaultPriceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # The default reminders set in an appointment of this service. # To construct, see NOTES section for DEFAULTREMINDERS properties and create a hash table. ${DefaultReminders}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${IsHiddenFromCustomers}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Notes}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Allow customers to choose a specific person for the booking. ${SchedulingPolicyAllowStaffSelection}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Maximum number of days in advance that a booking can be made. ${SchedulingPolicyMaximumAdvance}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Minimum lead time for bookings and cancellations. ${SchedulingPolicyMinimumLeadTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Notify the business via email when a booking is created or changed. ${SchedulingPolicySendConfirmationsToOwner}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Duration of each time slot. ${SchedulingPolicyTimeSlotInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessService_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessService_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessService_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessService_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to staffMembers for bookingBusinesses .Description Create new navigation property to staffMembers for bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember .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. BODYPARAMETER <IMicrosoftGraphBookingStaffMember>: Represents a staff member who provides services in a business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember WORKINGHOURS <IMicrosoftGraphBookingWorkHours[]>: . [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusinessstaffmember #> function New-MgBookingBusinessStaffMember { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember] # Represents a staff member who provides services in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${AvailabilityIsAffectedByPersonalCalendar}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${ColorIndex}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The e-mail address of this person. ${EmailAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingStaffRole ${Role}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${UseBusinessHours}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingWorkHours[]] # . # To construct, see NOTES section for WORKINGHOURS properties and create a hash table. ${WorkingHours}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessStaffMember_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessStaffMember_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessStaffMember_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusinessStaffMember_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to bookingBusinesses .Description Add new entity to bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness .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. APPOINTMENTS <IMicrosoftGraphBookingAppointment[]>: All appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. BODYPARAMETER <IMicrosoftGraphBookingBusiness>: Represents a Microsot Bookings Business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [Appointments <IMicrosoftGraphBookingAppointment[]>]: All appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [BusinessHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: [BusinessType <String>]: [CalendarView <IMicrosoftGraphBookingAppointment[]>]: A calendar view of appointments in this business. [Customers <IMicrosoftGraphBookingCustomer[]>]: All customers of this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [DefaultCurrencyIso <String>]: [Email <String>]: [IsPublished <Boolean?>]: [Phone <String>]: [PublicUrl <String>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [Services <IMicrosoftGraphBookingService[]>]: All services offered by this business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: [StaffMembers <IMicrosoftGraphBookingStaffMember[]>]: All staff members that provides services in this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [WebSiteUrl <String>]: The URL of the business web site. BUSINESSHOURS <IMicrosoftGraphBookingWorkHours[]>: . [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: CALENDARVIEW <IMicrosoftGraphBookingAppointment[]>: A calendar view of appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. CUSTOMERS <IMicrosoftGraphBookingCustomer[]>: All customers of this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. SERVICES <IMicrosoftGraphBookingService[]>: All services offered by this business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: STAFFMEMBERS <IMicrosoftGraphBookingStaffMember[]>: All staff members that provides services in this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingbusiness #> function New-MgBookingBusiness { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness] # Represents a Microsot Bookings Business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${AddressCity}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${AddressCountryOrRegion}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AddressPostOfficeBox}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${AddressPostalCode}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${AddressState}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${AddressStreet}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${AddressType}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment[]] # All appointments in this business. # To construct, see NOTES section for APPOINTMENTS properties and create a hash table. ${Appointments}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingWorkHours[]] # . # To construct, see NOTES section for BUSINESSHOURS properties and create a hash table. ${BusinessHours}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessType}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment[]] # A calendar view of appointments in this business. # To construct, see NOTES section for CALENDARVIEW properties and create a hash table. ${CalendarView}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer[]] # All customers of this business. # To construct, see NOTES section for CUSTOMERS properties and create a hash table. ${Customers}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DefaultCurrencyIso}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Email}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${IsPublished}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Phone}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${PublicUrl}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Allow customers to choose a specific person for the booking. ${SchedulingPolicyAllowStaffSelection}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Maximum number of days in advance that a booking can be made. ${SchedulingPolicyMaximumAdvance}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Minimum lead time for bookings and cancellations. ${SchedulingPolicyMinimumLeadTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Notify the business via email when a booking is created or changed. ${SchedulingPolicySendConfirmationsToOwner}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Duration of each time slot. ${SchedulingPolicyTimeSlotInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService[]] # All services offered by this business. # To construct, see NOTES section for SERVICES properties and create a hash table. ${Services}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember[]] # All staff members that provides services in this business. # To construct, see NOTES section for STAFFMEMBERS properties and create a hash table. ${StaffMembers}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The URL of the business web site. ${WebSiteUrl}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingBusiness_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingBusiness_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to bookingCurrencies .Description Add new entity to bookingCurrencies .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency .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. BODYPARAMETER <IMicrosoftGraphBookingCurrency>: bookingCurrency [Id <String>]: Read-only. [Symbol <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/new-mgbookingcurrency #> function New-MgBookingCurrency { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency] # bookingCurrency # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Symbol}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Bookings.private\New-MgBookingCurrency_Create'; CreateExpanded = 'Microsoft.Graph.Bookings.private\New-MgBookingCurrency_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action publish .Description Invoke action publish .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs System.Boolean .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/publish-mgbookingbusiness #> function Publish-MgBookingBusiness { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Publish', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Publish', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='PublishViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Publish = 'Microsoft.Graph.Bookings.private\Publish-MgBookingBusiness_Publish'; PublishViaIdentity = 'Microsoft.Graph.Bookings.private\Publish-MgBookingBusiness_PublishViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from bookingBusinesses .Description Delete entity from bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs System.Boolean .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/remove-mgbookingbusiness #> function Remove-MgBookingBusiness { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Bookings.private\Remove-MgBookingBusiness_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Bookings.private\Remove-MgBookingBusiness_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from bookingCurrencies .Description Delete entity from bookingCurrencies .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs System.Boolean .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/remove-mgbookingcurrency #> function Remove-MgBookingCurrency { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingCurrency-id of bookingCurrency ${BookingCurrencyId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Bookings.private\Remove-MgBookingCurrency_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Bookings.private\Remove-MgBookingCurrency_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action cancel .Description Invoke action cancel .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IPaths1K88Cl0BookingbusinessesBookingbusinessIdAppointmentsBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema .Outputs System.Boolean .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. BODYPARAMETER <IPaths1K88Cl0BookingbusinessesBookingbusinessIdAppointmentsBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema>: . [CancellationMessage <String>]: INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/stop-mgbookingbusinessappointment #> function Stop-MgBookingBusinessAppointment { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='CancelExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Cancel', Mandatory)] [Parameter(ParameterSetName='CancelExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Cancel', Mandatory)] [Parameter(ParameterSetName='CancelExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CancelViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CancelViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Cancel', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CancelViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths1K88Cl0BookingbusinessesBookingbusinessIdAppointmentsBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CancelExpanded')] [Parameter(ParameterSetName='CancelViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CancellationMessage}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Cancel = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessAppointment_Cancel'; CancelExpanded = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessAppointment_CancelExpanded'; CancelViaIdentity = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessAppointment_CancelViaIdentity'; CancelViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessAppointment_CancelViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action cancel .Description Invoke action cancel .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IPaths1Bomg32BookingbusinessesBookingbusinessIdCalendarviewBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema .Outputs System.Boolean .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. BODYPARAMETER <IPaths1Bomg32BookingbusinessesBookingbusinessIdCalendarviewBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema>: . [CancellationMessage <String>]: INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/stop-mgbookingbusinesscalendarview #> function Stop-MgBookingBusinessCalendarView { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='CancelExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Cancel', Mandatory)] [Parameter(ParameterSetName='CancelExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Cancel', Mandatory)] [Parameter(ParameterSetName='CancelExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='CancelViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CancelViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Cancel', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CancelViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IPaths1Bomg32BookingbusinessesBookingbusinessIdCalendarviewBookingappointmentIdMicrosoftGraphCancelPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CancelExpanded')] [Parameter(ParameterSetName='CancelViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CancellationMessage}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Cancel = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessCalendarView_Cancel'; CancelExpanded = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessCalendarView_CancelExpanded'; CancelViaIdentity = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessCalendarView_CancelViaIdentity'; CancelViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Stop-MgBookingBusinessCalendarView_CancelViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action unpublish .Description Invoke action unpublish .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Outputs System.Boolean .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 <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/unpublish-mgbookingbusiness #> function Unpublish-MgBookingBusiness { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Unpublish', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unpublish', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='UnpublishViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Unpublish = 'Microsoft.Graph.Bookings.private\Unpublish-MgBookingBusiness_Unpublish'; UnpublishViaIdentity = 'Microsoft.Graph.Bookings.private\Unpublish-MgBookingBusiness_UnpublishViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property appointments in bookingBusinesses .Description Update the navigation property appointments in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingAppointment>: Represents a booked appointment of a service by a customer in a business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember REMINDERS <IMicrosoftGraphBookingReminder[]>: . [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusinessappointment #> function Update-MgBookingBusinessAppointment { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment] # Represents a booked appointment of a service by a customer in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking customer associated with this appointment. ${CustomerId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${CustomerLocationAddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${CustomerLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${CustomerLocationAddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${CustomerLocationAddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${CustomerLocationAddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${CustomerLocationAddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CustomerLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CustomerLocationCoordinatesAltitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CustomerLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CustomerLocationCoordinatesLatitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CustomerLocationCoordinatesLongitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${CustomerLocationDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${CustomerLocationEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${CustomerLocationType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${CustomerLocationUniqueId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${CustomerLocationUniqueIdType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${CustomerLocationUri}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Notes from the customer associated with this appointment. ${CustomerNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerPhone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${Duration}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${EndTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${InvoiceAmount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${InvoiceDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${InvoiceDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingInvoiceStatus ${InvoiceStatus}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OptOutOfCustomerEmail}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${Price}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${PriceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # . # To construct, see NOTES section for REMINDERS properties and create a hash table. ${Reminders}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${SelfServiceAppointmentId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking service associated with this appointment. ${ServiceId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${ServiceLocationAddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${ServiceLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${ServiceLocationAddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${ServiceLocationAddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${ServiceLocationAddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${ServiceLocationAddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${ServiceLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${ServiceLocationCoordinatesAltitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${ServiceLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${ServiceLocationCoordinatesLatitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${ServiceLocationCoordinatesLongitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${ServiceLocationDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${ServiceLocationEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${ServiceLocationType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${ServiceLocationUniqueId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${ServiceLocationUniqueIdType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${ServiceLocationUri}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name of the booking service associated with this appointment. ${ServiceName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${StartTimeZone}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessAppointment_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessAppointment_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessAppointment_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessAppointment_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property calendarView in bookingBusinesses .Description Update the navigation property calendarView in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingAppointment>: Represents a booked appointment of a service by a customer in a business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember REMINDERS <IMicrosoftGraphBookingReminder[]>: . [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusinesscalendarview #> function Update-MgBookingBusinessCalendarView { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingAppointment-id of bookingAppointment ${BookingAppointmentId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment] # Represents a booked appointment of a service by a customer in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking customer associated with this appointment. ${CustomerId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${CustomerLocationAddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${CustomerLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${CustomerLocationAddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${CustomerLocationAddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${CustomerLocationAddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${CustomerLocationAddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CustomerLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CustomerLocationCoordinatesAltitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CustomerLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CustomerLocationCoordinatesLatitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CustomerLocationCoordinatesLongitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${CustomerLocationDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${CustomerLocationEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${CustomerLocationType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${CustomerLocationUniqueId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${CustomerLocationUniqueIdType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${CustomerLocationUri}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Notes from the customer associated with this appointment. ${CustomerNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${CustomerPhone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${Duration}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${EndTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${InvoiceAmount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${InvoiceDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${InvoiceDateTimeZone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingInvoiceStatus ${InvoiceStatus}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${InvoiceUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OptOutOfCustomerEmail}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${Price}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${PriceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # . # To construct, see NOTES section for REMINDERS properties and create a hash table. ${Reminders}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${SelfServiceAppointmentId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The id of the booking service associated with this appointment. ${ServiceId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${ServiceLocationAddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${ServiceLocationAddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceLocationAddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${ServiceLocationAddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${ServiceLocationAddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${ServiceLocationAddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${ServiceLocationAddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${ServiceLocationCoordinatesAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${ServiceLocationCoordinatesAltitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${ServiceLocationCoordinatesAltitudeAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${ServiceLocationCoordinatesLatitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${ServiceLocationCoordinatesLongitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${ServiceLocationDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${ServiceLocationEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${ServiceLocationType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${ServiceLocationUniqueId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${ServiceLocationUniqueIdType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${ServiceLocationUri}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name of the booking service associated with this appointment. ${ServiceName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ServiceNotes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Represents a time zone, for example, 'Pacific Standard Time'. # See below for more possible values. ${StartTimeZone}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCalendarView_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCalendarView_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCalendarView_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCalendarView_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property customers in bookingBusinesses .Description Update the navigation property customers in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingCustomer>: Represents a customer of the business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusinesscustomer #> function Update-MgBookingBusinessCustomer { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingCustomer-id of bookingCustomer ${BookingCustomerId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer] # Represents a customer of the business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The e-mail address of this person. ${EmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCustomer_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCustomer_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCustomer_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessCustomer_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property services in bookingBusinesses .Description Update the navigation property services in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingService>: Represents a particular service offered by a booking business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: DEFAULTREMINDERS <IMicrosoftGraphBookingReminder[]>: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusinessservice #> function Update-MgBookingBusinessService { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingService-id of bookingService ${BookingServiceId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService] # Represents a particular service offered by a booking business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${AddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${AddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${AddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${AddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${AddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${AddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the latitude and longitude. # As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. ${CoordinateAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The altitude of the location. ${CoordinateAltitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The accuracy of the altitude. ${CoordinateAltitudeAccuracy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The latitude of the location. ${CoordinateLatitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # The longitude of the location. ${CoordinateLongitude}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${DefaultDuration}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The name associated with the location. ${DefaultLocationDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional email address of the location. ${DefaultLocationEmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationType ${DefaultLocationType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # For internal use only. ${DefaultLocationUniqueId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # locationUniqueIdType ${DefaultLocationUniqueIdType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Optional URI representing the location. ${DefaultLocationUri}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Double] # . ${DefaultPrice}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingPriceType ${DefaultPriceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingReminder[]] # The default reminders set in an appointment of this service. # To construct, see NOTES section for DEFAULTREMINDERS properties and create a hash table. ${DefaultReminders}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${IsHiddenFromCustomers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Notes}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PostBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # . ${PreBuffer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Allow customers to choose a specific person for the booking. ${SchedulingPolicyAllowStaffSelection}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Maximum number of days in advance that a booking can be made. ${SchedulingPolicyMaximumAdvance}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Minimum lead time for bookings and cancellations. ${SchedulingPolicyMinimumLeadTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Notify the business via email when a booking is created or changed. ${SchedulingPolicySendConfirmationsToOwner}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Duration of each time slot. ${SchedulingPolicyTimeSlotInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String[]] # . ${StaffMemberIds}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessService_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessService_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessService_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessService_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property staffMembers in bookingBusinesses .Description Update the navigation property staffMembers in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingStaffMember>: Represents a staff member who provides services in a business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember WORKINGHOURS <IMicrosoftGraphBookingWorkHours[]>: . [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusinessstaffmember #> function Update-MgBookingBusinessStaffMember { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingStaffMember-id of bookingStaffMember ${BookingStaffMemberId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember] # Represents a staff member who provides services in a business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${AvailabilityIsAffectedByPersonalCalendar}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${ColorIndex}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The e-mail address of this person. ${EmailAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # bookingStaffRole ${Role}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${UseBusinessHours}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingWorkHours[]] # . # To construct, see NOTES section for WORKINGHOURS properties and create a hash table. ${WorkingHours}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessStaffMember_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessStaffMember_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessStaffMember_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusinessStaffMember_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in bookingBusinesses .Description Update entity in bookingBusinesses .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness .Outputs System.Boolean .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. APPOINTMENTS <IMicrosoftGraphBookingAppointment[]>: All appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. BODYPARAMETER <IMicrosoftGraphBookingBusiness>: Represents a Microsot Bookings Business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [Appointments <IMicrosoftGraphBookingAppointment[]>]: All appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [BusinessHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: [BusinessType <String>]: [CalendarView <IMicrosoftGraphBookingAppointment[]>]: A calendar view of appointments in this business. [Customers <IMicrosoftGraphBookingCustomer[]>]: All customers of this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [DefaultCurrencyIso <String>]: [Email <String>]: [IsPublished <Boolean?>]: [Phone <String>]: [PublicUrl <String>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [Services <IMicrosoftGraphBookingService[]>]: All services offered by this business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: [StaffMembers <IMicrosoftGraphBookingStaffMember[]>]: All staff members that provides services in this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [WebSiteUrl <String>]: The URL of the business web site. BUSINESSHOURS <IMicrosoftGraphBookingWorkHours[]>: . [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: CALENDARVIEW <IMicrosoftGraphBookingAppointment[]>: A calendar view of appointments in this business. [Id <String>]: Read-only. [CustomerEmailAddress <String>]: [CustomerId <String>]: The id of the booking customer associated with this appointment. [CustomerLocationAddressCity <String>]: The city. [CustomerLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [CustomerLocationAddressPostOfficeBox <String>]: [CustomerLocationAddressPostalCode <String>]: The postal code. [CustomerLocationAddressState <String>]: The state. [CustomerLocationAddressStreet <String>]: The street. [CustomerLocationAddressType <String>]: physicalAddressType [CustomerLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CustomerLocationCoordinatesAltitude <Double?>]: The altitude of the location. [CustomerLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CustomerLocationCoordinatesLatitude <Double?>]: The latitude of the location. [CustomerLocationCoordinatesLongitude <Double?>]: The longitude of the location. [CustomerLocationDisplayName <String>]: The name associated with the location. [CustomerLocationEmailAddress <String>]: Optional email address of the location. [CustomerLocationType <String>]: locationType [CustomerLocationUniqueId <String>]: For internal use only. [CustomerLocationUniqueIdType <String>]: locationUniqueIdType [CustomerLocationUri <String>]: Optional URI representing the location. [CustomerName <String>]: [CustomerNotes <String>]: Notes from the customer associated with this appointment. [CustomerPhone <String>]: [Duration <TimeSpan?>]: [EndDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [EndTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceAmount <Double?>]: [InvoiceDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [InvoiceDateTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. [InvoiceId <String>]: [InvoiceStatus <String>]: bookingInvoiceStatus [InvoiceUrl <String>]: [OptOutOfCustomerEmail <Boolean?>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [Price <Double?>]: [PriceType <String>]: bookingPriceType [Reminders <IMicrosoftGraphBookingReminder[]>]: [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [SelfServiceAppointmentId <String>]: [ServiceId <String>]: The id of the booking service associated with this appointment. [ServiceLocationAddressCity <String>]: The city. [ServiceLocationAddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [ServiceLocationAddressPostOfficeBox <String>]: [ServiceLocationAddressPostalCode <String>]: The postal code. [ServiceLocationAddressState <String>]: The state. [ServiceLocationAddressStreet <String>]: The street. [ServiceLocationAddressType <String>]: physicalAddressType [ServiceLocationCoordinatesAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [ServiceLocationCoordinatesAltitude <Double?>]: The altitude of the location. [ServiceLocationCoordinatesAltitudeAccuracy <Double?>]: The accuracy of the altitude. [ServiceLocationCoordinatesLatitude <Double?>]: The latitude of the location. [ServiceLocationCoordinatesLongitude <Double?>]: The longitude of the location. [ServiceLocationDisplayName <String>]: The name associated with the location. [ServiceLocationEmailAddress <String>]: Optional email address of the location. [ServiceLocationType <String>]: locationType [ServiceLocationUniqueId <String>]: For internal use only. [ServiceLocationUniqueIdType <String>]: locationUniqueIdType [ServiceLocationUri <String>]: Optional URI representing the location. [ServiceName <String>]: The name of the booking service associated with this appointment. [ServiceNotes <String>]: [StaffMemberIds <String[]>]: [StartDateTime <String>]: A single point of time in a combined date and time representation ({date}T{time}; for example, 2017-08-29T04:00:00.0000000). [StartTimeZone <String>]: Represents a time zone, for example, 'Pacific Standard Time'. See below for more possible values. CUSTOMERS <IMicrosoftGraphBookingCustomer[]>: All customers of this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember SERVICES <IMicrosoftGraphBookingService[]>: All services offered by this business. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AddressCity <String>]: The city. [AddressCountryOrRegion <String>]: The country or region. It's a free-format string value, for example, 'United States'. [AddressPostOfficeBox <String>]: [AddressPostalCode <String>]: The postal code. [AddressState <String>]: The state. [AddressStreet <String>]: The street. [AddressType <String>]: physicalAddressType [CoordinateAccuracy <Double?>]: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters. [CoordinateAltitude <Double?>]: The altitude of the location. [CoordinateAltitudeAccuracy <Double?>]: The accuracy of the altitude. [CoordinateLatitude <Double?>]: The latitude of the location. [CoordinateLongitude <Double?>]: The longitude of the location. [DefaultDuration <TimeSpan?>]: [DefaultLocationDisplayName <String>]: The name associated with the location. [DefaultLocationEmailAddress <String>]: Optional email address of the location. [DefaultLocationType <String>]: locationType [DefaultLocationUniqueId <String>]: For internal use only. [DefaultLocationUniqueIdType <String>]: locationUniqueIdType [DefaultLocationUri <String>]: Optional URI representing the location. [DefaultPrice <Double?>]: [DefaultPriceType <String>]: bookingPriceType [DefaultReminders <IMicrosoftGraphBookingReminder[]>]: The default reminders set in an appointment of this service. [Message <String>]: Message to send. [Offset <TimeSpan?>]: How much time before an appointment the reminder should be sent. [Recipients <String>]: bookingReminderRecipients [Description <String>]: [IsHiddenFromCustomers <Boolean?>]: [Notes <String>]: [PostBuffer <TimeSpan?>]: [PreBuffer <TimeSpan?>]: [SchedulingPolicyAllowStaffSelection <Boolean?>]: Allow customers to choose a specific person for the booking. [SchedulingPolicyMaximumAdvance <TimeSpan?>]: Maximum number of days in advance that a booking can be made. [SchedulingPolicyMinimumLeadTime <TimeSpan?>]: Minimum lead time for bookings and cancellations. [SchedulingPolicySendConfirmationsToOwner <Boolean?>]: Notify the business via email when a booking is created or changed. [SchedulingPolicyTimeSlotInterval <TimeSpan?>]: Duration of each time slot. [StaffMemberIds <String[]>]: STAFFMEMBERS <IMicrosoftGraphBookingStaffMember[]>: All staff members that provides services in this business. [EmailAddress <String>]: The e-mail address of this person. [DisplayName <String>]: Display name of this entity. [Id <String>]: Read-only. [AvailabilityIsAffectedByPersonalCalendar <Boolean?>]: [ColorIndex <Int32?>]: [Role <String>]: bookingStaffRole [UseBusinessHours <Boolean?>]: [WorkingHours <IMicrosoftGraphBookingWorkHours[]>]: [Day <String>]: dayOfWeek [TimeSlots <IMicrosoftGraphBookingWorkTimeSlot[]>]: A list of start/end times during a day. [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingbusiness #> function Update-MgBookingBusiness { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingBusiness-id of bookingBusiness ${BookingBusinessId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingBusiness] # Represents a Microsot Bookings Business. # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The city. ${AddressCity}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The country or region. # It's a free-format string value, for example, 'United States'. ${AddressCountryOrRegion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AddressPostOfficeBox}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The postal code. ${AddressPostalCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The state. ${AddressState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The street. ${AddressStreet}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # physicalAddressType ${AddressType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment[]] # All appointments in this business. # To construct, see NOTES section for APPOINTMENTS properties and create a hash table. ${Appointments}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingWorkHours[]] # . # To construct, see NOTES section for BUSINESSHOURS properties and create a hash table. ${BusinessHours}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingAppointment[]] # A calendar view of appointments in this business. # To construct, see NOTES section for CALENDARVIEW properties and create a hash table. ${CalendarView}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCustomer[]] # All customers of this business. # To construct, see NOTES section for CUSTOMERS properties and create a hash table. ${Customers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DefaultCurrencyIso}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Display name of this entity. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Email}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${IsPublished}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Phone}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${PublicUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Allow customers to choose a specific person for the booking. ${SchedulingPolicyAllowStaffSelection}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Maximum number of days in advance that a booking can be made. ${SchedulingPolicyMaximumAdvance}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Minimum lead time for bookings and cancellations. ${SchedulingPolicyMinimumLeadTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # Notify the business via email when a booking is created or changed. ${SchedulingPolicySendConfirmationsToOwner}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.TimeSpan] # Duration of each time slot. ${SchedulingPolicyTimeSlotInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingService[]] # All services offered by this business. # To construct, see NOTES section for SERVICES properties and create a hash table. ${Services}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingStaffMember[]] # All staff members that provides services in this business. # To construct, see NOTES section for STAFFMEMBERS properties and create a hash table. ${StaffMembers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The URL of the business web site. ${WebSiteUrl}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusiness_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusiness_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusiness_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingBusiness_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in bookingCurrencies .Description Update entity in bookingCurrencies .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IBookingsIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency .Outputs System.Boolean .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. BODYPARAMETER <IMicrosoftGraphBookingCurrency>: bookingCurrency [Id <String>]: Read-only. [Symbol <String>]: INPUTOBJECT <IBookingsIdentity>: Identity Parameter [BookingAppointmentId <String>]: key: bookingAppointment-id of bookingAppointment [BookingBusinessId <String>]: key: bookingBusiness-id of bookingBusiness [BookingCurrencyId <String>]: key: bookingCurrency-id of bookingCurrency [BookingCustomerId <String>]: key: bookingCustomer-id of bookingCustomer [BookingServiceId <String>]: key: bookingService-id of bookingService [BookingStaffMemberId <String>]: key: bookingStaffMember-id of bookingStaffMember .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.bookings/update-mgbookingcurrency #> function Update-MgBookingCurrency { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: bookingCurrency-id of bookingCurrency ${BookingCurrencyId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IBookingsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBookingCurrency] # bookingCurrency # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Symbol}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Bookings.private\Update-MgBookingCurrency_Update'; UpdateExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingCurrency_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Bookings.private\Update-MgBookingCurrency_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Bookings.private\Update-MgBookingCurrency_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjkgYJKoZIhvcNAQcCoIIjgzCCI38CAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCjxu8goHhTKmR8 # CRqI8Lufc10WDEMQxXNl0kYl1v8JpKCCDYEwggX/MIID56ADAgECAhMzAAABh3IX # chVZQMcJAAAAAAGHMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjAwMzA0MTgzOTQ3WhcNMjEwMzAzMTgzOTQ3WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDOt8kLc7P3T7MKIhouYHewMFmnq8Ayu7FOhZCQabVwBp2VS4WyB2Qe4TQBT8aB # znANDEPjHKNdPT8Xz5cNali6XHefS8i/WXtF0vSsP8NEv6mBHuA2p1fw2wB/F0dH # sJ3GfZ5c0sPJjklsiYqPw59xJ54kM91IOgiO2OUzjNAljPibjCWfH7UzQ1TPHc4d # weils8GEIrbBRb7IWwiObL12jWT4Yh71NQgvJ9Fn6+UhD9x2uk3dLj84vwt1NuFQ # itKJxIV0fVsRNR3abQVOLqpDugbr0SzNL6o8xzOHL5OXiGGwg6ekiXA1/2XXY7yV # Fc39tledDtZjSjNbex1zzwSXAgMBAAGjggF+MIIBejAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUhov4ZyO96axkJdMjpzu2zVXOJcsw # UAYDVR0RBEkwR6RFMEMxKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1 # ZXJ0byBSaWNvMRYwFAYDVQQFEw0yMzAwMTIrNDU4Mzg1MB8GA1UdIwQYMBaAFEhu # ZOVQBdOCqhc3NyK1bajKdQKVMFQGA1UdHwRNMEswSaBHoEWGQ2h0dHA6Ly93d3cu # bWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY0NvZFNpZ1BDQTIwMTFfMjAxMS0w # Ny0wOC5jcmwwYQYIKwYBBQUHAQEEVTBTMFEGCCsGAQUFBzAChkVodHRwOi8vd3d3 # Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRzL01pY0NvZFNpZ1BDQTIwMTFfMjAx # MS0wNy0wOC5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQsFAAOCAgEAixmy # S6E6vprWD9KFNIB9G5zyMuIjZAOuUJ1EK/Vlg6Fb3ZHXjjUwATKIcXbFuFC6Wr4K # NrU4DY/sBVqmab5AC/je3bpUpjtxpEyqUqtPc30wEg/rO9vmKmqKoLPT37svc2NV # BmGNl+85qO4fV/w7Cx7J0Bbqk19KcRNdjt6eKoTnTPHBHlVHQIHZpMxacbFOAkJr # qAVkYZdz7ikNXTxV+GRb36tC4ByMNxE2DF7vFdvaiZP0CVZ5ByJ2gAhXMdK9+usx # zVk913qKde1OAuWdv+rndqkAIm8fUlRnr4saSCg7cIbUwCCf116wUJ7EuJDg0vHe # yhnCeHnBbyH3RZkHEi2ofmfgnFISJZDdMAeVZGVOh20Jp50XBzqokpPzeZ6zc1/g # yILNyiVgE+RPkjnUQshd1f1PMgn3tns2Cz7bJiVUaqEO3n9qRFgy5JuLae6UweGf # AeOo3dgLZxikKzYs3hDMaEtJq8IP71cX7QXe6lnMmXU/Hdfz2p897Zd+kU+vZvKI # 3cwLfuVQgK2RZ2z+Kc3K3dRPz2rXycK5XCuRZmvGab/WbrZiC7wJQapgBodltMI5 # GMdFrBg9IeF7/rP4EqVQXeKtevTlZXjpuNhhjuR+2DMt/dWufjXpiW91bo3aH6Ea # jOALXmoxgltCp1K7hrS6gmsvj94cLRf50QQ4U8Qwggd6MIIFYqADAgECAgphDpDS # AAAAAAADMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMK # V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 # IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0 # ZSBBdXRob3JpdHkgMjAxMTAeFw0xMTA3MDgyMDU5MDlaFw0yNjA3MDgyMTA5MDla # MH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS # ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMT # H01pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTEwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQCr8PpyEBwurdhuqoIQTTS68rZYIZ9CGypr6VpQqrgG # OBoESbp/wwwe3TdrxhLYC/A4wpkGsMg51QEUMULTiQ15ZId+lGAkbK+eSZzpaF7S # 35tTsgosw6/ZqSuuegmv15ZZymAaBelmdugyUiYSL+erCFDPs0S3XdjELgN1q2jz # y23zOlyhFvRGuuA4ZKxuZDV4pqBjDy3TQJP4494HDdVceaVJKecNvqATd76UPe/7 # 4ytaEB9NViiienLgEjq3SV7Y7e1DkYPZe7J7hhvZPrGMXeiJT4Qa8qEvWeSQOy2u # M1jFtz7+MtOzAz2xsq+SOH7SnYAs9U5WkSE1JcM5bmR/U7qcD60ZI4TL9LoDho33 # X/DQUr+MlIe8wCF0JV8YKLbMJyg4JZg5SjbPfLGSrhwjp6lm7GEfauEoSZ1fiOIl # XdMhSz5SxLVXPyQD8NF6Wy/VI+NwXQ9RRnez+ADhvKwCgl/bwBWzvRvUVUvnOaEP # 6SNJvBi4RHxF5MHDcnrgcuck379GmcXvwhxX24ON7E1JMKerjt/sW5+v/N2wZuLB # l4F77dbtS+dJKacTKKanfWeA5opieF+yL4TXV5xcv3coKPHtbcMojyyPQDdPweGF # RInECUzF1KVDL3SV9274eCBYLBNdYJWaPk8zhNqwiBfenk70lrC8RqBsmNLg1oiM # CwIDAQABo4IB7TCCAekwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFEhuZOVQ # BdOCqhc3NyK1bajKdQKVMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1Ud # DwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFHItOgIxkEO5FAVO # 4eqnxzHRI4k0MFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwubWljcm9zb2Z0 # LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcmwwXgYIKwYBBQUHAQEEUjBQME4GCCsGAQUFBzAChkJodHRwOi8vd3d3Lm1p # Y3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcnQwgZ8GA1UdIASBlzCBlDCBkQYJKwYBBAGCNy4DMIGDMD8GCCsGAQUFBwIB # FjNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2RvY3MvcHJpbWFyeWNw # cy5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AcABvAGwAaQBjAHkA # XwBzAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAGfyhqWY # 4FR5Gi7T2HRnIpsLlhHhY5KZQpZ90nkMkMFlXy4sPvjDctFtg/6+P+gKyju/R6mj # 82nbY78iNaWXXWWEkH2LRlBV2AySfNIaSxzzPEKLUtCw/WvjPgcuKZvmPRul1LUd # d5Q54ulkyUQ9eHoj8xN9ppB0g430yyYCRirCihC7pKkFDJvtaPpoLpWgKj8qa1hJ # Yx8JaW5amJbkg/TAj/NGK978O9C9Ne9uJa7lryft0N3zDq+ZKJeYTQ49C/IIidYf # wzIY4vDFLc5bnrRJOQrGCsLGra7lstnbFYhRRVg4MnEnGn+x9Cf43iw6IGmYslmJ # aG5vp7d0w0AFBqYBKig+gj8TTWYLwLNN9eGPfxxvFX1Fp3blQCplo8NdUmKGwx1j # NpeG39rz+PIWoZon4c2ll9DuXWNB41sHnIc+BncG0QaxdR8UvmFhtfDcxhsEvt9B # xw4o7t5lL+yX9qFcltgA1qFGvVnzl6UJS0gQmYAf0AApxbGbpT9Fdx41xtKiop96 # eiL6SJUfq/tHI4D1nvi/a7dLl+LrdXga7Oo3mXkYS//WsyNodeav+vyL6wuA6mk7 # r/ww7QRMjt/fdW1jkT3RnVZOT7+AVyKheBEyIXrvQQqxP/uozKRdwaGIm1dxVk5I # RcBCyZt2WwqASGv9eZ/BvW1taslScxMNelDNMYIVZzCCFWMCAQEwgZUwfjELMAkG # A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx # HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9z # b2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMQITMwAAAYdyF3IVWUDHCQAAAAABhzAN # BglghkgBZQMEAgEFAKCBrjAZBgkqhkiG9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgor # BgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQg4zWVgLqM # PPG1N1Qmb3067P/PiobjFk13XHv39WJLCIcwQgYKKwYBBAGCNwIBDDE0MDKgFIAS # AE0AaQBjAHIAbwBzAG8AZgB0oRqAGGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbTAN # BgkqhkiG9w0BAQEFAASCAQDOHidA3+IVbX194/1DiAQq32RkEvMx8hhQQVnqy9dj # nERSw2ExFCelD44ODiEmtwWYq6sb//XqPUeCaodNLpUsm/jqcszN5xTbq8Y7BIRU # z5g8tL7FtOzvczF+4ONCdrJVJGHM0bgyePzZeuH1e7sZryMDn/b9KCeSwdB2PoeI # 5k11g27ojT7Z72KlzBWS0xDvubHoLMR/1UKRcwucZwVM5RICQm//4U7JTyJclgsL # gZIFmggVUrzVsqwpzk3W9tqvxNtEqAiKdhyLPSOz+kY8vmMbat3Wl91eXjO2rBTs # RSPOfQMq3jOE11CAd1RQ7gyj69XofxkcGvjzI2eVK8GnoYIS8TCCEu0GCisGAQQB # gjcDAwExghLdMIIS2QYJKoZIhvcNAQcCoIISyjCCEsYCAQMxDzANBglghkgBZQME # AgEFADCCAVUGCyqGSIb3DQEJEAEEoIIBRASCAUAwggE8AgEBBgorBgEEAYRZCgMB # MDEwDQYJYIZIAWUDBAIBBQAEIHJ5bVHXGRpWvR7JP3PSpibRUlnDRJfDtDYgXJEQ # GQNuAgZept23+GwYEzIwMjAwNTA2MjIzOTQ5Ljc1MlowBIACAfSggdSkgdEwgc4x # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1p # Y3Jvc29mdCBPcGVyYXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFsZXMg # VFNTIEVTTjo3ODgwLUUzOTAtODAxNDElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUt # U3RhbXAgU2VydmljZaCCDkQwggT1MIID3aADAgECAhMzAAABKKAOgeE21U/CAAAA # AAEoMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo # aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y # cG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw # MB4XDTE5MTIxOTAxMTUwMFoXDTIxMDMxNzAxMTUwMFowgc4xCzAJBgNVBAYTAlVT # MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK # ExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVy # YXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjo3ODgw # LUUzOTAtODAxNDElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2Vydmlj # ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ2Rsdb3VNuGPs2/Dgpc # 9gt77LG0JPkD4VWTlEJLkqznTJl+RoZfiOwN6iWfPu4k/kj8nwY7pvLs1OsBy494 # yusg4rHLwHNUJPtw1Tc54MOLgdcosA4Nxki73fDyqWwDtjOdk6H7kNczBPqADD6B # 98ot77/wSACBJIxm9qAUudquS5fczCF0++aWUavDu46U3cv6HEjIdV2ZdJTUKg4W # UIdTYMQXI082+qSs45WBZjcK98/tIfx8uq8q8ksWF9+zUjGTFiMaKHhn7cSCoEj7 # E1tVmW08ISpS678WFP2+A0OQwaWcJKNACK+J+La7Lz2bGupCidOGz5XDewc1lD9n # LPcCAwEAAaOCARswggEXMB0GA1UdDgQWBBSE4vKD8X61N5vUAcNOdH9QBMum8jAf # BgNVHSMEGDAWgBTVYzpcijGQ80N7fEYbxTNoWoVtVTBWBgNVHR8ETzBNMEugSaBH # hkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNU # aW1TdGFQQ0FfMjAxMC0wNy0wMS5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUF # BzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1RpbVN0 # YVBDQV8yMDEwLTA3LTAxLmNydDAMBgNVHRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsG # AQUFBwMIMA0GCSqGSIb3DQEBCwUAA4IBAQCLX2ZHGIULgDk/iccHWUywjDyAsBHl # hkmtmBp4lldwL3dNo0bXZZHiSZB+c2KzvPqY64BlECjS/Pqur2m9UaT1N0BeUowR # HQT88wdzd94gYqKXmLDbVR8yeVgBkcP/JiVWbXdQzcz1ETHgWrh+uzA8BwUgAaHJ # w+nXYccIuDgPJM1UTeNl9R5Ovf+6zR2E5ZI4DrIqvS4jH4QsoMPTn27AjN7VZt4a # moRxMLEcQAS7vPT1JUUaRFpFHmkUYVln1YMsw///6968aRvy3cmClS44uxkkaILb # hh1h09ejZjHhrEn+k9McVkWiuY724jJ/57tylM7A/jzIWNj1F8VlhkyyMIIGcTCC # BFmgAwIBAgIKYQmBKgAAAAAAAjANBgkqhkiG9w0BAQsFADCBiDELMAkGA1UEBhMC # VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNV # BAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJv # b3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIwMTAwHhcNMTAwNzAxMjEzNjU1WhcN # MjUwNzAxMjE0NjU1WjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv # bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 # aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDCCASIw # DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKkdDbx3EYo6IOz8E5f1+n9plGt0 # VBDVpQoAgoX77XxoSyxfxcPlYcJ2tz5mK1vwFVMnBDEfQRsalR3OCROOfGEwWbEw # RA/xYIiEVEMM1024OAizQt2TrNZzMFcmgqNFDdDq9UeBzb8kYDJYYEbyWEeGMoQe # dGFnkV+BVLHPk0ySwcSmXdFhE24oxhr5hoC732H8RsEnHSRnEnIaIYqvS2SJUGKx # Xf13Hz3wV3WsvYpCTUBR0Q+cBj5nf/VmwAOWRH7v0Ev9buWayrGo8noqCjHw2k4G # kbaICDXoeByw6ZnNPOcvRLqn9NxkvaQBwSAJk3jN/LzAyURdXhacAQVPIk0CAwEA # AaOCAeYwggHiMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBTVYzpcijGQ80N7 # fEYbxTNoWoVtVTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMC # AYYwDwYDVR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvX # zpoYxDBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v # cGtpL2NybC9wcm9kdWN0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYI # KwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDCBoAYDVR0g # AQH/BIGVMIGSMIGPBgkrBgEEAYI3LgMwgYEwPQYIKwYBBQUHAgEWMWh0dHA6Ly93 # d3cubWljcm9zb2Z0LmNvbS9QS0kvZG9jcy9DUFMvZGVmYXVsdC5odG0wQAYIKwYB # BQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AUABvAGwAaQBjAHkAXwBTAHQAYQB0AGUA # bQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAAfmiFEN4sbgmD+BcQM9naOh # IW+z66bM9TG+zwXiqf76V20ZMLPCxWbJat/15/B4vceoniXj+bzta1RXCCtRgkQS # +7lTjMz0YBKKdsxAQEGb3FwX/1z5Xhc1mCRWS3TvQhDIr79/xn/yN31aPxzymXlK # kVIArzgPF/UveYFl2am1a+THzvbKegBvSzBEJCI8z+0DpZaPWSm8tv0E4XCfMkon # /VWvL/625Y4zu2JfmttXQOnxzplmkIz/amJ/3cVKC5Em4jnsGUpxY517IW3DnKOi # PPp/fZZqkHimbdLhnPkd/DjYlPTGpQqWhqS9nhquBEKDuLWAmyI4ILUl5WTs9/S/ # fmNZJQ96LjlXdqJxqgaKD4kWumGnEcua2A5HmoDF0M2n0O99g/DhO3EJ3110mCII # YdqwUB5vvfHhAN/nMQekkzr3ZUd46PioSKv33nJ+YWtvd6mBy6cJrDm77MbL2IK0 # cs0d9LiFAR6A+xuJKlQ5slvayA1VmXqHczsI5pgt6o3gMy4SKfXAL1QnIffIrE7a # KLixqduWsqdCosnPGUFN4Ib5KpqjEWYw07t0MkvfY3v1mYovG8chr1m1rtxEPJdQ # cdeh0sVV42neV8HR3jDA/czmTfsNv11P6Z0eGTgvvM9YBS7vDaBQNdrvCScc1bN+ # NR4Iuto229Nfj950iEkSoYIC0jCCAjsCAQEwgfyhgdSkgdEwgc4xCzAJBgNVBAYT # AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD # VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKTAnBgNVBAsTIE1pY3Jvc29mdCBP # cGVyYXRpb25zIFB1ZXJ0byBSaWNvMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjo3 # ODgwLUUzOTAtODAxNDElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2Vy # dmljZaIjCgEBMAcGBSsOAwIaAxUAMT1LG/KAEj0XsiL9n7mxmX1afZuggYMwgYCk # fjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH # UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQD # Ex1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIF # AOJdOMAwIhgPMjAyMDA1MDYxNzIzMTJaGA8yMDIwMDUwNzE3MjMxMlowdzA9Bgor # BgEEAYRZCgQBMS8wLTAKAgUA4l04wAIBADAKAgEAAgIIqgIB/zAHAgEAAgIRvjAK # AgUA4l6KQAIBADA2BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIB # AAIDB6EgoQowCAIBAAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAM97o/2UhZaCVoh4 # +G05Xfzf7FR8jgxBUTyj5oWwva7/nJ/IG5DpUMR4ttmUMEcQimgztsZz5unC4cDn # u54c6ytk1RnaQ1fz2o0KjGGEVPhFMB6C+OIbWGPGzdl6KA2HqxWzU9PaY+EopQI0 # qVN30WqM+hpg/W83jIgvks84/sHtMYIDDTCCAwkCAQEwgZMwfDELMAkGA1UEBhMC # VVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNV # BAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRp # bWUtU3RhbXAgUENBIDIwMTACEzMAAAEooA6B4TbVT8IAAAAAASgwDQYJYIZIAWUD # BAIBBQCgggFKMBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0B # CQQxIgQgaNcKU4IbBDxzqzYqFPw+d1JWBRjMoxtb0HYb8qNEx7cwgfoGCyqGSIb3 # DQEJEAIvMYHqMIHnMIHkMIG9BCC8RWqLrwVSd+/cGxDfBqS4b1tPXhoPFrC615vV # 1ugU2jCBmDCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u # MRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRp # b24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAAB # KKAOgeE21U/CAAAAAAEoMCIEIKi8OHKk82DHCWGA829eC3fkqulQWx7pdC78huQW # QfovMA0GCSqGSIb3DQEBCwUABIIBAAglNrgBDPX/1yoQQ6ZDMTaZVwSV2OQasnQO # aE7lQu+U2u90WGz5Fs8FB+pXpcdUobb1JzRkz81qViv9OxLmA26mkiHaDCQVrOB4 # A0GFQvu7wesbDHioAgp9wwE/lFrzKmFlN1CSz7hZadDwB4tIBEW30+y3tVLN6992 # wo8A9F0a4LdxAY096o2mMHoYa/TEk/USHp55U3V9hgfJumWHyjmpLE2Luc27r2IQ # or7oF5/VWXF9ZoEEplqUGYNipeYtJDOQaTjO34kywgQ3Qle9Ghm+JaVYHAxkU1ZA # 64PIOzy3P20w70LF+RVC60pIXIobbZbHc7YSfisKOF6Yyf2jgZU= # SIG # End signature block |