netcoreapp3.1/internal/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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtUpdateSearchOrderRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails .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. BODY <ISkypeTelephoneNumberMgmtUpdateSearchOrderRequest>: UpdateSearchOrderRequest [Action <String>]: INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/complete-csonlinetelephonenumberorder #> function Complete-CsOnlineTelephoneNumberOrder { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails])] [CmdletBinding(DefaultParameterSetName='CompleteExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Complete', Mandatory)] [Parameter(ParameterSetName='CompleteExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${OrderId}, [Parameter(ParameterSetName='CompleteViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CompleteViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Complete', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CompleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtUpdateSearchOrderRequest] # UpdateSearchOrderRequest # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='CompleteExpanded')] [Parameter(ParameterSetName='CompleteViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Action}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Complete = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Complete-CsOnlineTelephoneNumberOrder_Complete'; CompleteExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Complete-CsOnlineTelephoneNumberOrder_CompleteExpanded'; CompleteViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Complete-CsOnlineTelephoneNumberOrder_CompleteViaIdentity'; CompleteViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Complete-CsOnlineTelephoneNumberOrder_CompleteViaIdentityExpanded'; } $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 Audio file content. GET Teams.MediaStorage/audiofile/appId/audiofileId/content .Description Get Audio file content. GET Teams.MediaStorage/audiofile/appId/audiofileId/content .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs System.String .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/export-csonlineaudiofile #> function Export-CsOnlineAudioFile { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='Export', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Export', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AppId}, [Parameter(ParameterSetName='Export', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AudioFileId}, [Parameter(ParameterSetName='ExportViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Export = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Export-CsOnlineAudioFile_Export'; ExportViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Export-CsOnlineAudioFile_ExportViaIdentity'; } $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 Search for application instances that match the search criteria. .Description Search for application instances that match the search criteria. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstancesResponse .Link https://docs.microsoft.com/en-us/powershell/module/teams/find-csonlineapplicationinstance #> function Find-CsOnlineApplicationInstance { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstancesResponse])] [CmdletBinding(DefaultParameterSetName='Find', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${AssociatedOnly}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${ExactMatchOnly}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${IsAssociated}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${MaxResults}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${SearchQuery}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${UnAssociatedOnly}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Find = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Find-CsOnlineApplicationInstance_Find'; } $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 Gets auto attendant holidays. GET Teams.VoiceApps/auto-attendants/identity/holidays. .Description Gets auto attendant holidays. GET Teams.VoiceApps/auto-attendants/identity/holidays. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantHolidaysResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csautoattendantholidays #> function Get-CsAutoAttendantHolidays { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantHolidaysResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String[]] # . ${Name}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${ResponseType}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String[]] # . ${Year}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantHolidays_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantHolidays_GetViaIdentity'; } $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 specific language information. GET Teams.VoiceApps/supported-languages/identity. .Description Get specific language information. GET Teams.VoiceApps/supported-languages/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSupportedLanguageResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csautoattendantsupportedlanguage #> function Get-CsAutoAttendantSupportedLanguage { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSupportedLanguageResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the supported language to retrieve the information for. ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantSupportedLanguage_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantSupportedLanguage_GetViaIdentity'; } $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 supported timezone information. GET Teams.VoiceApps/supported-timezones/identity. .Description Get supported timezone information. GET Teams.VoiceApps/supported-timezones/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSupportedTimeZoneResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csautoattendantsupportedtimezone #> function Get-CsAutoAttendantSupportedTimeZone { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSupportedTimeZoneResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the supported timezone to retrieve the information for. ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantSupportedTimeZone_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantSupportedTimeZone_GetViaIdentity'; } $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 tenant information specific to Voice Apps by the tenant Id. GET Teams.VoiceApps/information. .Description Get tenant information specific to Voice Apps by the tenant Id. GET Teams.VoiceApps/information. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetTenantInformationResponse .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csautoattendanttenantinformation #> function Get-CsAutoAttendantTenantInformation { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetTenantInformationResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendantTenantInformation_Get'; } $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 a specific auto attendant. GET Teams.VoiceApps/auto-attendants/identity. .Description Get a specific auto attendant. GET Teams.VoiceApps/auto-attendants/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantResponse .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantsResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csautoattendant #> function Get-CsAutoAttendant { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantResponse], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetAutoAttendantsResponse])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the auto attendant to retrieve. ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${Descending}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${ExcludeContent}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${First}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${NameFilter}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${Skip}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${SortBy}, [Parameter(ParameterSetName='Get1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${TypeFilter}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendant_Get'; Get1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendant_Get1'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsAutoAttendant_GetViaIdentity'; } $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 call queues. GET Teams.VoiceApps/callqueues?<query_params>. .Description Get call queues. GET Teams.VoiceApps/callqueues?<query_params>. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetCallQueueResponse .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetCallQueuesResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-cscallqueue #> function Get-CsCallQueue { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetCallQueuesResponse], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetCallQueueResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get1', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${Descending}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${ExcludeContent}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${First}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${NameFilter}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${Skip}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${SortBy}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${TypeFilter}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsCallQueue_Get'; Get1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsCallQueue_Get1'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsCallQueue_GetViaIdentity'; } $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 meeting migration status for a user or tenant .Description Get meeting migration status for a user or tenant .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMeetingMigrationStatusResponse .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csmeetingmigrationstatusmodern #> function Get-CsMeetingMigrationStatusModern { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMeetingMigrationStatusResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # end time filter - to get meeting migration status before endtime ${EndTime}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Identity. # Supports UPN and SIP, domainName LogonName ${Identity}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Meeting migration type - SfbToSfb, SfbToTeams, TeamsToTeams, AllToTeams, ToSameType, Unknown ${MigrationType}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # start time filter - to get meeting migration status after starttime ${StartTime}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # state of meeting Migration status - Pending, InProgress, Failed, Succeeded ${State}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsMeetingMigrationStatusModern_Get'; } $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 meeting migration status summary for a user or tenant .Description Get meeting migration status summary for a user or tenant .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMeetingMigrationStatusSummaryResponse .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csmeetingmigrationstatussummarymodern #> function Get-CsMeetingMigrationStatusSummaryModern { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMeetingMigrationStatusSummaryResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # end time filter - to get meeting migration status before endtime ${EndTime}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Identity. # Supports UPN and SIP, domainName LogonName ${Identity}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Meeting migration type - SfbToSfb, SfbToTeams, TeamsToTeams, AllToTeams, ToSameType, Unknown ${MigrationType}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # start time filter - to get meeting migration status after starttime ${StartTime}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # state of meeting Migration status - Pending, InProgress, Failed, Succeeded ${State}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsMeetingMigrationStatusSummaryModern_Get'; } $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 application instance association status. GET Teams.VoiceApps/applicationinstanceassociations/identity/status. .Description Get application instance association status. GET Teams.VoiceApps/applicationinstanceassociations/identity/status. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstanceAssociationStatusResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineapplicationinstanceassociationstatus #> function Get-CsOnlineApplicationInstanceAssociationStatus { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstanceAssociationStatusResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineApplicationInstanceAssociationStatus_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineApplicationInstanceAssociationStatus_GetViaIdentity'; } $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 application instance association. GET Teams.VoiceApps/applicationinstanceassociations/identity. .Description Get application instance association. GET Teams.VoiceApps/applicationinstanceassociations/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstanceAssociationResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineapplicationinstanceassociation #> function Get-CsOnlineApplicationInstanceAssociation { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetApplicationInstanceAssociationResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineApplicationInstanceAssociation_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineApplicationInstanceAssociation_GetViaIdentity'; } $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 Audio file metedata with expiring download link. GET api/v3/tenants/tenantId/audiofile/appId/audiofileId?durationInMins=int(default=60) .Description Get Audio file metedata with expiring download link. GET api/v3/tenants/tenantId/audiofile/appId/audiofileId?durationInMins=int(default=60) .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAudioFileDto .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineaudiofile #> function Get-CsOnlineAudioFile { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAudioFileDto])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='Get1', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AppId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AudioFileId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${DurationInMin}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineAudioFile_Get'; Get1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineAudioFile_Get1'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineAudioFile_GetViaIdentity'; GetViaIdentity1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineAudioFile_GetViaIdentity1'; } $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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnostics .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineenhancedemergencyservicedisclaimer #> function Get-CsOnlineEnhancedEmergencyServiceDisclaimer { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponse], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnostics])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${CountryOrRegion}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Version}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineEnhancedEmergencyServiceDisclaimer_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineEnhancedEmergencyServiceDisclaimer_GetViaIdentity'; } $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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICivicAddress .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineliscivicaddress #> function Get-CsOnlineLisCivicAddress { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICivicAddress])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineLisCivicAddress_Get'; } $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 all schedules for a tenant. GET Teams.VoiceApps/schedules?<query_params>. .Description Get all schedules for a tenant. GET Teams.VoiceApps/schedules?<query_params>. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetScheduleResponse .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSchedulesResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csonlineschedule #> function Get-CsOnlineSchedule { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetSchedulesResponse], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IGetScheduleResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get1', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the schedule to retrieve. ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${Descending}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${ExcludeContent}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${First}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${NameFilter}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # . ${Skip}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${SortBy}, [Parameter(ParameterSetName='Get')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${TypeFilter}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineSchedule_Get'; Get1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineSchedule_Get1'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsOnlineSchedule_GetViaIdentity'; } $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 a list of available team templates .Description Get a list of available team templates .Example PS C:\> Get-CsTeamTemplateList OdataId Name ShortDescription Chann AppCo elCou unt nt ------- ---- ---------------- ----- ----- /api/teamtemplates/v1.0/healthcareWard/Public/en-US Collaborate on Patient Care Collaborate on patient care i... 6 1 /api/teamtemplates/v1.0/healthcareHospital/Public/en-US Hospital Facilitate collaboration with... 6 1 /api/teamtemplates/v1.0/retailStore/Public/en-US Organize a Store Collaborate with your retail ... 3 1 /api/teamtemplates/v1.0/retailManagerCollaboration/Public/en-US Retail - Manager Collaboration Collaborate with managers acr... 3 1 .Example PS C:\> (Get-CsTeamTemplateList -PublicTemplateLocale en-US) | where ChannelCount -GT 3 OdataId Name ShortDescription Chann AppCo elCou unt nt ------- ---- ---------------- ----- ----- /api/teamtemplates/v1.0/healthcareWard/Public/en-US Collaborate on Patient Care Collaborate on patient care i... 6 1 /api/teamtemplates/v1.0/healthcareHospital/Public/en-US Hospital Facilitate collaboration with... 6 1 .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITeamTemplateErrorResponse .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITeamTemplateSummary .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csteamtemplatelist #> function Get-CsTeamTemplateList { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITeamTemplateSummary], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITeamTemplateErrorResponse])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Language and country code for localization of publicly available templates. ${PublicTemplateLocale}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsTeamTemplateList_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsTeamTemplateList_GetViaIdentity'; } $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 User. .Description Get User. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserMas .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/get-csuser #> function Get-CsUser { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserMas])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Alias('UserId')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # UserId. # Supports Guid. # Eventually UPN and SIP. ${Identity}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To fetch optional location field ${Expandlocation}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To set includedefaultproperties value ${Includedefaultproperty}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Properties to select ${Select}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To set to true when called from Get-CsVoiceUser cmdlet ${Voiceuserquery}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Get-CsUser_Get'; GetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Get-CsUser_GetViaIdentity'; } $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 Assign a policy package to a group in a tenant .Description Assign a policy package to a group in a tenant .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPackageServiceModelsApplyPackageGroupResponse .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. POLICYRANKINGS <IPackageServiceModelsRequestsPolicyRanking[]>: . PolicyType <String>: Rank <Int32>: .Link https://docs.microsoft.com/en-us/powershell/module/teams/grant-csgrouppolicypackageassignment #> function Grant-CsGroupPolicyPackageAssignment { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPackageServiceModelsApplyPackageGroupResponse])] [CmdletBinding(DefaultParameterSetName='GrantExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${GroupId}, [Parameter(Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${PackageName}, [Parameter()] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPackageServiceModelsRequestsPolicyRanking[]] # . # To construct, see NOTES section for POLICYRANKINGS properties and create a hash table. ${PolicyRankings}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ GrantExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsGroupPolicyPackageAssignment_GrantExpanded'; } $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 single policy of a Tenant .Description Update single policy of a Tenant .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantTenantRequest .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. BODY <ISingleGrantTenantRequest>: . [AdditionalParameter <ISingleGrantTenantRequestAdditionalParameters>]: Dictionary of <any> [(Any) <Object>]: This indicates any property can be added to this object. [PolicyName <String>]: INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/grant-cstenantpolicy #> function Grant-CsTenantPolicy { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='GrantExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Grant', Mandatory)] [Parameter(ParameterSetName='GrantExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Policy Type ${PolicyType}, [Parameter(ParameterSetName='GrantViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GrantViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Grant', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GrantViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantTenantRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='GrantExpanded')] [Parameter(ParameterSetName='GrantViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.Info(PossibleTypes=([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantTenantRequestAdditionalParameters]))] [System.Collections.Hashtable] # Dictionary of <any> ${AdditionalParameters}, [Parameter(ParameterSetName='GrantExpanded')] [Parameter(ParameterSetName='GrantViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${PolicyName}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Grant = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsTenantPolicy_Grant'; GrantExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsTenantPolicy_GrantExpanded'; GrantViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsTenantPolicy_GrantViaIdentity'; GrantViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsTenantPolicy_GrantViaIdentityExpanded'; } $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 single policy of a user .Description Update single policy of a user .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantUserRequest .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. BODY <ISingleGrantUserRequest>: . [AdditionalParameter <ISingleGrantUserRequestAdditionalParameters>]: Dictionary of <any> [(Any) <Object>]: This indicates any property can be added to this object. [PolicyName <String>]: INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/grant-csuserpolicy #> function Grant-CsUserPolicy { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='GrantExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Grant', Mandatory)] [Parameter(ParameterSetName='GrantExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # User Id ${Identity}, [Parameter(ParameterSetName='Grant', Mandatory)] [Parameter(ParameterSetName='GrantExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Policy Type ${PolicyType}, [Parameter(ParameterSetName='GrantViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GrantViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Grant', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GrantViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantUserRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='GrantExpanded')] [Parameter(ParameterSetName='GrantViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.Info(PossibleTypes=([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISingleGrantUserRequestAdditionalParameters]))] [System.Collections.Hashtable] # Dictionary of <any> ${AdditionalParameters}, [Parameter(ParameterSetName='GrantExpanded')] [Parameter(ParameterSetName='GrantViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${PolicyName}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Grant = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsUserPolicy_Grant'; GrantExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsUserPolicy_GrantExpanded'; GrantViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsUserPolicy_GrantViaIdentity'; GrantViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Grant-CsUserPolicy_GrantViaIdentityExpanded'; } $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 Store a new Audio file in MSS. POST api/v3/tenants/tenantId/audiofile. .Description Store a new Audio file in MSS. POST api/v3/tenants/tenantId/audiofile. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITenantAudioFileDto .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAudioFileDto .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. BODY <ITenantAudioFileDto>: . ApplicationId <String>: Content <String>: OriginalFilename <String>: [Id <String>]: [ContextId <String>]: [ConvertedFilename <String>]: [DeletionTimestampOffset <DateTime?>]: [DownloadUri <String>]: [DownloadUriExpiryTimestampOffset <DateTime?>]: [Duration <String>]: [LastAccessedTimestampOffset <DateTime?>]: [UploadedTimestampOffset <DateTime?>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/import-csonlineaudiofile #> function Import-CsOnlineAudioFile { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAudioFileDto])] [CmdletBinding(DefaultParameterSetName='ImportExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Import', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITenantAudioFileDto] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='ImportExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ApplicationId}, [Parameter(ParameterSetName='ImportExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Content}, [Parameter(ParameterSetName='ImportExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OriginalFilename}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ContextId}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ConvertedFilename}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${DeletionTimestampOffset}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DownloadUri}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${DownloadUriExpiryTimestampOffset}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Duration}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Id}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${LastAccessedTimestampOffset}, [Parameter(ParameterSetName='ImportExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${UploadedTimestampOffset}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Import = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Import-CsOnlineAudioFile_Import'; ImportExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Import-CsOnlineAudioFile_ImportExpanded'; } $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 a callable entity draft. POST Teams.VoiceApps/auto-attendants/callable-entities/draft. .Description Create a callable entity draft. POST Teams.VoiceApps/auto-attendants/callable-entities/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallableEntityRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallableEntityResponse .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. BODY <ICreateCallableEntityRequest>: . [EnableTranscription <Boolean?>]: [Id <String>]: [Type <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantcallableentity #> function New-CsAutoAttendantCallableEntity { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallableEntityResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallableEntityRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${EnableTranscription}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Type}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallableEntity_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallableEntity_NewExpanded'; } $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 a call flow draft. POST Teams.VoiceApps/auto-attendants/call-flows/draft. .Description Create a call flow draft. POST Teams.VoiceApps/auto-attendants/call-flows/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallFlowRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallFlowResponse .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. BODY <ICreateCallFlowRequest>: . [Greeting <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: GREETING <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: MENUOPTION <IMenuOption[]>: . [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: MENUPROMPT <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantcallflow #> function New-CsAutoAttendantCallFlow { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallFlowResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallFlowRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for GREETING properties and create a hash table. ${Greeting}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${MenuDialByNameEnabled}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuDirectorySearchMethod}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuName}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMenuOption[]] # . # To construct, see NOTES section for MENUOPTION properties and create a hash table. ${MenuOption}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for MENUPROMPT properties and create a hash table. ${MenuPrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallFlow_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallFlow_NewExpanded'; } $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 a call handling association draft. POST Teams.VoiceApps/auto-attendants/call-handling-associations/draft. .Description Create a call handling association draft. POST Teams.VoiceApps/auto-attendants/call-handling-associations/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallHandlingAssociationRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallHandlingAssociationResponse .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. BODY <ICreateCallHandlingAssociationRequest>: . [CallFlowId <String>]: [Enabled <Boolean?>]: [ScheduleId <String>]: [Type <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantcallhandlingassociation #> function New-CsAutoAttendantCallHandlingAssociation { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallHandlingAssociationResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallHandlingAssociationRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${CallFlowId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${Enabled}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ScheduleId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Type}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallHandlingAssociation_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantCallHandlingAssociation_NewExpanded'; } $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 a group dial scope draft. POST Teams.VoiceApps/auto-attendants/group-dial-scopes/draft. .Description Create a group dial scope draft. POST Teams.VoiceApps/auto-attendants/group-dial-scopes/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateGroupDialScopeRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateGroupDialScopeResponse .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. BODY <ICreateGroupDialScopeRequest>: . [GroupId <String[]>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantdialscope #> function New-CsAutoAttendantDialScope { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateGroupDialScopeResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateGroupDialScopeRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${GroupIds}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantDialScope_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantDialScope_NewExpanded'; } $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 a menu option draft. POST Teams.VoiceApps/auto-attendants/menus/menu-options/draft. .Description Create a menu option draft. POST Teams.VoiceApps/auto-attendants/menus/menu-options/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuOptionRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuOptionResponse .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. BODY <ICreateMenuOptionRequest>: . [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantmenuoption #> function New-CsAutoAttendantMenuOption { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuOptionResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuOptionRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Action}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptDownloadUri}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptFileName}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${CallTargetEnableTranscription}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${CallTargetId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${CallTargetType}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DtmfResponse}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${PromptActiveType}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${PromptTextToSpeechPrompt}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${VoiceResponses}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantMenuOption_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantMenuOption_NewExpanded'; } $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 a menu draft. POST Teams.VoiceApps/auto-attendants/menus/draft. .Description Create a menu draft. POST Teams.VoiceApps/auto-attendants/menus/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuResponse .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. BODY <ICreateMenuRequest>: . [DialByNameEnabled <Boolean?>]: [DirectorySearchMethod <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [Name <String>]: [Prompt <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: MENUOPTION <IMenuOption[]>: . [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: PROMPT <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantmenu #> function New-CsAutoAttendantMenu { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateMenuRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DirectorySearchMethod}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${EnableDialByName}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMenuOption[]] # . # To construct, see NOTES section for MENUOPTION properties and create a hash table. ${MenuOption}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for PROMPT properties and create a hash table. ${Prompt}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantMenu_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantMenu_NewExpanded'; } $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 a prompt draft. POST Teams.VoiceApps/auto-attendants/prompts/draft. .Description Create a prompt draft. POST Teams.VoiceApps/auto-attendants/prompts/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreatePromptRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreatePromptResponse .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. BODY <ICreatePromptRequest>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendantprompt #> function New-CsAutoAttendantPrompt { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreatePromptResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreatePromptRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ActiveType}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptDownloadUri}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptFileName}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${AudioFilePromptId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${TextToSpeechPrompt}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantPrompt_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendantPrompt_NewExpanded'; } $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 an AutoAttendant. POST Teams.VoiceApps/auto-attendants. .Description Create an AutoAttendant. POST Teams.VoiceApps/auto-attendants. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateAutoAttendantRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateAutoAttendantResponse .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. BODY <ICreateAutoAttendantRequest>: . [CallFlow <ICallFlow[]>]: [Greeting <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: [Id <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: [CallHandlingAssociation <ICallHandlingAssociation[]>]: [CallFlowId <String>]: [Enabled <Boolean?>]: [Priority <Int32?>]: [ScheduleId <String>]: [Type <String>]: [DefaultCallFlowGreeting <IPrompt[]>]: [DefaultCallFlowId <String>]: [DefaultCallFlowName <String>]: [ExclusionScopeGroupDialScopeGroupId <String[]>]: [ExclusionScopeType <String>]: [GreetingsSettingAuthorizedUser <String[]>]: [InclusionScopeGroupDialScopeGroupId <String[]>]: [InclusionScopeType <String>]: [LanguageId <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: [OperatorEnableTranscription <Boolean?>]: [OperatorId <String>]: [OperatorType <String>]: [TimeZoneId <String>]: [VoiceId <String>]: [VoiceResponseEnabled <Boolean?>]: CALLFLOW <ICallFlow[]>: . [Greeting <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: [Id <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: CALLHANDLINGASSOCIATION <ICallHandlingAssociation[]>: . [CallFlowId <String>]: [Enabled <Boolean?>]: [Priority <Int32?>]: [ScheduleId <String>]: [Type <String>]: DEFAULTCALLFLOWGREETING <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: MENUOPTION <IMenuOption[]>: . [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: MENUPROMPT <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csautoattendant #> function New-CsAutoAttendant { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateAutoAttendantResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateAutoAttendantRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICallFlow[]] # . # To construct, see NOTES section for CALLFLOW properties and create a hash table. ${CallFlow}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICallHandlingAssociation[]] # . # To construct, see NOTES section for CALLHANDLINGASSOCIATION properties and create a hash table. ${CallHandlingAssociation}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for DEFAULTCALLFLOWGREETING properties and create a hash table. ${DefaultCallFlowGreeting}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DefaultCallFlowId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DefaultCallFlowName}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${EnableVoiceResponse}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${ExclusionScopeGroupDialScopeGroupId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ExclusionScopeType}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${GreetingsSettingAuthorizedUser}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${InclusionScopeGroupDialScopeGroupId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${InclusionScopeType}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${LanguageId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${MenuDialByNameEnabled}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuDirectorySearchMethod}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuName}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMenuOption[]] # . # To construct, see NOTES section for MENUOPTION properties and create a hash table. ${MenuOption}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for MENUPROMPT properties and create a hash table. ${MenuPrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OperatorEnableTranscription}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorType}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${TimeZoneId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${VoiceId}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendant_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsAutoAttendant_NewExpanded'; } $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 call queue. POST Teams.VoiceApps/callqueues. .Description Create call queue. POST Teams.VoiceApps/callqueues. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallQueueRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallQueueResponse .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. AGENT <IAgent[]>: Gets or sets the Call Queue's agents list. [ObjectId <String>]: [OptIn <Boolean?>]: BODY <ICreateCallQueueRequest>: CallQueue creation request DTO class. [Agent <IAgent[]>]: Gets or sets the Call Queue's agents list. [ObjectId <String>]: [OptIn <Boolean?>]: [AgentAlertTime <Int32?>]: Gets or sets the number of seconds that a call can remain unanswered. [AllowOptOut <Boolean?>]: Gets or sets a value indicating whether to allow agent optout on CallQueue. [ConferenceMode <Boolean?>]: Gets or sets a value indicating whether to allow Conference Mode on CallQueue. [DistributionList <String[]>]: Gets or sets the Call Queue's Distribution Lists. [EnableOverflowSharedVoicemailTranscription <Boolean?>]: Gets or sets a value indicating if transcription should be turned on or not. [EnableResourceAccountsForObo <Boolean?>]: Gets or sets a value indicating whether to allow CQ+Chanined RA's as permissioned RA's. [EnableTimeoutSharedVoicemailTranscription <Boolean?>]: Gets or sets a value indicating if transcription should be turned on or not. [LanguageId <String>]: Gets or sets the language Id used for TTS. [MusicOnHoldAudioFileId <String>]: Gets or sets music on hold audio file id. [Name <String>]: Gets or sets The Call Queue's name. [OverflowAction <Int32?>]: Gets or sets the action to take when the overflow threshold is reached. [OverflowActionTarget <String>]: Gets or sets the target of the overflow action. [OverflowSharedVoicemailAudioFilePrompt <String>]: Gets or sets the audio file to be played when forwarding callers to shared voicemai. [OverflowSharedVoicemailTextToSpeechPrompt <String>]: Gets or sets the TTS to be played when forwarding callers to shared voicemail. [OverflowThreshold <Int32?>]: Gets or sets the number of simultaneous calls that can be in the queue at any one time. [PresenceAwareRouting <Boolean?>]: Gets or sets a value indicating whether to enable presence aware routing. [RoutingMethod <Int32?>]: Gets or sets the routing method for the Call Queue. [ShouldOverwriteCallableChannelProperty <Boolean?>]: Gets or sets ShouldOverwriteCallableChannelProperty flag that indicates user intention to whether overwirte the current callableChannel property value on chat service or not. [ThreadId <String>]: Gets or sets teams channel thread id if user choose to sync CQ with a channel. [TimeoutAction <Int32?>]: Gets or sets the action to take if the timeout threshold is reached. [TimeoutActionTarget <String>]: Gets or sets the target of the timeout action. [TimeoutSharedVoicemailAudioFilePrompt <String>]: Gets or sets the audio file to be played when forwarding callers to shared voicemai. [TimeoutSharedVoicemailTextToSpeechPrompt <String>]: Gets or sets the TTS to be played when forwarding callers to shared voicemail. [TimeoutThreshold <Int32?>]: Gets or sets the number of minutes that a call can be in the queue before it times out. [UseDefaultMusicOnHold <Boolean?>]: Gets or sets a value indicating whether to use default music on hold audio file. [User <String[]>]: Gets or sets the Call Queue's Users. [WelcomeMusicAudioFileId <String>]: Gets or sets welcome music audio file id. .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-cscallqueue #> function New-CsCallQueue { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallQueueResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateCallQueueRequest] # CallQueue creation request DTO class. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAgent[]] # Gets or sets the Call Queue's agents list. # To construct, see NOTES section for AGENT properties and create a hash table. ${Agent}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of seconds that a call can remain unanswered. ${AgentAlertTime}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow agent optout on CallQueue. ${AllowOptOut}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow Conference Mode on CallQueue. ${ConferenceMode}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the Call Queue's Distribution Lists. ${DistributionList}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating if transcription should be turned on or not. ${EnableOverflowSharedVoicemailTranscription}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow CQ+Chanined RA's as permissioned RA's. ${EnableResourceAccountsForObo}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating if transcription should be turned on or not. ${EnableTimeoutSharedVoicemailTranscription}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the language Id used for TTS. ${LanguageId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets music on hold audio file id. ${MusicOnHoldAudioFileId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets The Call Queue's name. ${Name}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the action to take when the overflow threshold is reached. ${OverflowAction}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the target of the overflow action. ${OverflowActionTarget}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the audio file to be played when forwarding callers to shared voicemai. ${OverflowSharedVoicemailAudioFilePrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the TTS to be played when forwarding callers to shared voicemail. ${OverflowSharedVoicemailTextToSpeechPrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of simultaneous calls that can be in the queue at any one time. ${OverflowThreshold}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to enable presence aware routing. ${PresenceAwareRouting}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the routing method for the Call Queue. ${RoutingMethod}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets ShouldOverwriteCallableChannelProperty flag that indicates user intention to whether overwirte the current callableChannel property value on chat service or not. ${ShouldOverwriteCallableChannelProperty}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets teams channel thread id if user choose to sync CQ with a channel. ${ThreadId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the action to take if the timeout threshold is reached. ${TimeoutAction}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the target of the timeout action. ${TimeoutActionTarget}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the audio file to be played when forwarding callers to shared voicemai. ${TimeoutSharedVoicemailAudioFilePrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the TTS to be played when forwarding callers to shared voicemail. ${TimeoutSharedVoicemailTextToSpeechPrompt}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of minutes that a call can be in the queue before it times out. ${TimeoutThreshold}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to use default music on hold audio file. ${UseDefaultMusicOnHold}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the Call Queue's Users. ${User}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets welcome music audio file id. ${WelcomeMusicAudioFileId}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsCallQueue_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsCallQueue_NewExpanded'; } $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 a policy package .Description Create a policy package .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs System.String .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. POLICYLIST <IPackageServiceModelsRequestsPolicyTypeAndName[]>: . PolicyName <String>: PolicyType <String>: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-cscustompolicypackage #> function New-CsCustomPolicyPackage { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Identity}, [Parameter(Mandatory)] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPackageServiceModelsRequestsPolicyTypeAndName[]] # . # To construct, see NOTES section for POLICYLIST properties and create a hash table. ${PolicyList}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Description}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsCustomPolicyPackage_NewExpanded'; } $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 application instance associations. POST Teams.VoiceApps/applicationinstanceassociations. .Description Create application instance associations. POST Teams.VoiceApps/applicationinstanceassociations. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateApplicationInstanceAssociationsRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateApplicationInstanceAssociationsResponse .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. BODY <ICreateApplicationInstanceAssociationsRequest>: . [ConfigurationId <String>]: [ConfigurationType <String>]: [EndpointsId <String[]>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlineapplicationinstanceassociation #> function New-CsOnlineApplicationInstanceAssociation { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateApplicationInstanceAssociationsResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateApplicationInstanceAssociationsRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ConfigurationId}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ConfigurationType}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${Identities}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineApplicationInstanceAssociation_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineApplicationInstanceAssociation_NewExpanded'; } $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 a date time range draft. POST Teams.VoiceApps/schedules/date-time-ranges/draft. .Description Create a date time range draft. POST Teams.VoiceApps/schedules/date-time-ranges/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateDateTimeRangeRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateDateTimeRangeResponse .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. BODY <ICreateDateTimeRangeRequest>: . [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlinedatetimerange #> function New-CsOnlineDateTimeRange { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateDateTimeRangeResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateDateTimeRangeRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${End}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Start}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineDateTimeRange_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineDateTimeRange_NewExpanded'; } $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 a schedule. POST Teams.VoiceApps/schedules. .Description Create a schedule. POST Teams.VoiceApps/schedules. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateScheduleRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateScheduleResponse .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. BODY <ICreateScheduleRequest>: . [FixedScheduleDateTimeRange <IDateTimeRange[]>]: [End <String>]: [Start <String>]: [Name <String>]: [RecurrenceRangeEnd <DateTime?>]: [RecurrenceRangeNumberOfOccurrence <Int32?>]: [RecurrenceRangeStart <DateTime?>]: [RecurrenceRangeType <String>]: [WeeklyRecurrentScheduleFridayHour <ITimeRange[]>]: [End <String>]: [Start <String>]: [WeeklyRecurrentScheduleIsComplemented <Boolean?>]: [WeeklyRecurrentScheduleMondayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSaturdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSundayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleThursdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleTuesdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleWednesdayHour <ITimeRange[]>]: FIXEDSCHEDULEDATETIMERANGE <IDateTimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULEFRIDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULEMONDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULESATURDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULESUNDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULETHURSDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULETUESDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULEWEDNESDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlineschedule #> function New-CsOnlineSchedule { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateScheduleResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateScheduleRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDateTimeRange[]] # . # To construct, see NOTES section for FIXEDSCHEDULEDATETIMERANGE properties and create a hash table. ${FixedScheduleDateTimeRange}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${RecurrenceRangeEnd}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # . ${RecurrenceRangeNumberOfOccurrence}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${RecurrenceRangeStart}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${RecurrenceRangeType}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEFRIDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleFridayHour}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${WeeklyRecurrentScheduleIsComplemented}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEMONDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleMondayHour}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULESATURDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleSaturdayHour}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULESUNDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleSundayHour}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULETHURSDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleThursdayHour}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULETUESDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleTuesdayHour}, [Parameter(ParameterSetName='NewExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEWEDNESDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleWednesdayHour}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineSchedule_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineSchedule_NewExpanded'; } $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 a time range draft. POST Teams.VoiceApps/schedules/time-ranges/draft. .Description Create a time range draft. POST Teams.VoiceApps/schedules/time-ranges/draft. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateTimeRangeRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateTimeRangeResponse .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. BODY <ICreateTimeRangeRequest>: . [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/new-csonlinetimerange #> function New-CsOnlineTimeRange { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateTimeRangeResponse])] [CmdletBinding(DefaultParameterSetName='NewExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='New', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICreateTimeRangeRequest] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${End}, [Parameter(ParameterSetName='NewExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Start}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ New = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineTimeRange_New'; NewExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\New-CsOnlineTimeRange_NewExpanded'; } $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 Assigns a service number to a bridge. .Description Assigns a service number to a bridge. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2 .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber .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. BODY <IConferencingServiceNumber>: Class representing ConferencingServiceNumber. [BridgeId <String>]: Gets or sets the unique identifier of the Bridge that this ServiceNumber belongs to. [City <String>]: Gets or sets the Geocode where the ServiceNumber is intended to be used. [IsShared <Boolean?>]: Gets or sets a value indicating whether the number is shared between multiple tenants. If this is the case then tenant admins will be unable to edit the number. [Number <String>]: Gets or sets the 11 digit number identifying the ServiceNumber. [PrimaryLanguage <String>]: Gets or sets the primary language of the ServiceNumber. e.g.: "en-US". [SecondaryLanguages <String[]>]: Gets or sets the list of secondary languages of the ServiceNumber. e.g.: "fr-FR","en-GB","en-IN". [Type <String>]: Gets or sets defines the number type Toll/Toll-Free. INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/register-csodcservicenumber #> function Register-CsOdcServiceNumber { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2])] [CmdletBinding(DefaultParameterSetName='RegisterExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Register', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Service number to be assigned to a bridge. # The service number in E.164 format, e.g. # +14251112222 or tel:+14251112222. ${Identity}, [Parameter(ParameterSetName='RegisterViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # The conferencing bridge identifier to assign the service numbers to. ${BridgeId}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # The conferencing bridge name to assign the service numbers. ${BridgeName}, [Parameter(ParameterSetName='Register1', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber] # Class representing ConferencingServiceNumber. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the unique identifier of the Bridge that this ServiceNumber belongs to. ${BridgeId1}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the Geocode where the ServiceNumber is intended to be used. ${City}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether the number is shared between multiple tenants. # If this is the casethen tenant admins will be unable to edit the number. ${IsShared}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the 11 digit number identifying the ServiceNumber. ${Number}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the primary language of the ServiceNumber. # e.g.: "en-US". ${PrimaryLanguage}, [Parameter(ParameterSetName='RegisterExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the list of secondary languages of the ServiceNumber. # e.g.: "fr-FR","en-GB","en-IN". ${SecondaryLanguage}, [Parameter(ParameterSetName='RegisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets defines the number type Toll/Toll-Free. ${Type}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Register = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Register-CsOdcServiceNumber_Register'; Register1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Register-CsOdcServiceNumber_Register1'; RegisterExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Register-CsOdcServiceNumber_RegisterExpanded'; RegisterViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Register-CsOdcServiceNumber_RegisterViaIdentity'; } $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 Deletes a specific AutoAttendant. DELETE Teams.VoiceApps/auto-attendants/identity. .Description Deletes a specific AutoAttendant. DELETE Teams.VoiceApps/auto-attendants/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-csautoattendant #> function Remove-CsAutoAttendant { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the auto attendant to be removed. ${Identity}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsAutoAttendant_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsAutoAttendant_RemoveViaIdentity'; } $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 Remove call queue. DELETE Teams.VoiceApps/callqueues/identity. .Description Remove call queue. DELETE Teams.VoiceApps/callqueues/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-cscallqueue #> function Remove-CsCallQueue { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsCallQueue_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsCallQueue_RemoveViaIdentity'; } $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 Remove application instance associations. DELETE api/v1.0/tenants/tenantId/applicationinstanceassociations/endpointId. .Description Remove application instance associations. DELETE api/v1.0/tenants/tenantId/applicationinstanceassociations/endpointId. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IRemoveApplicationInstanceAssociationsResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-csonlineapplicationinstanceassociation #> function Remove-CsOnlineApplicationInstanceAssociation { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IRemoveApplicationInstanceAssociationsResponse])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Application instance Id. ${Identity}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineApplicationInstanceAssociation_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineApplicationInstanceAssociation_RemoveViaIdentity'; } $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 an audio file stored in MSS. DELETE api/v3/tenants/tenantId/audiofile/appId/audiofileId .Description Delete an audio file stored in MSS. DELETE api/v3/tenants/tenantId/audiofile/appId/audiofileId .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-csonlineaudiofile #> function Remove-CsOnlineAudioFile { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AppId}, [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${AudioFileId}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineAudioFile_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineAudioFile_RemoveViaIdentity'; } $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 Deletes a specific schedule. DELETE Teams.VoiceApps/schedules/identity. .Description Deletes a specific schedule. DELETE Teams.VoiceApps/schedules/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-csonlineschedule #> function Remove-CsOnlineSchedule { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the schedule to be removed. ${Identity}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineSchedule_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsOnlineSchedule_RemoveViaIdentity'; } $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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/remove-csphonenumberassignment #> function Remove-CsPhoneNumberAssignment { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails])] [CmdletBinding(DefaultParameterSetName='Remove', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Remove', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='RemoveViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${PhoneNumber}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${PhoneNumberType}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${RemoveAll}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Remove = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsPhoneNumberAssignment_Remove'; RemoveViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Remove-CsPhoneNumberAssignment_RemoveViaIdentity'; } $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 Searches a tenant for users. .Description Searches a tenant for users. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUser .Link https://docs.microsoft.com/en-us/powershell/module/teams/search-csuser #> function Search-CsUser { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUser])] [CmdletBinding(DefaultParameterSetName='Search', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To fetch optional location field ${Expandlocation}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # MS Graph like query filters ${Filter}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To set includedefaultproperties value ${Includedefaultproperty}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Int32] # Page Size. ${PageSize}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Properties to select ${Select}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Continuation / Pagination marker. # Use the value from nextlink property in response. ${Skiptoken}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # To set to true when called from Get-CsVoiceUser cmdlet ${Voiceuserquery}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Search = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Search-CsUser_Search'; } $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 Updates a specific AutoAttendant. PUT Teams.VoiceApps/auto-attendants/identity. .Description Updates a specific AutoAttendant. PUT Teams.VoiceApps/auto-attendants/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAutoAttendant .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateAutoAttendantResponse .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. BODY <IAutoAttendant>: . [ApplicationInstance <String[]>]: [CallFlow <ICallFlow[]>]: [Greeting <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: [Id <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: [CallHandlingAssociation <ICallHandlingAssociation[]>]: [CallFlowId <String>]: [Enabled <Boolean?>]: [Priority <Int32?>]: [ScheduleId <String>]: [Type <String>]: [DefaultCallFlowGreeting <IPrompt[]>]: [DefaultCallFlowId <String>]: [DefaultCallFlowName <String>]: [DialByNameResourceId <String>]: [ExclusionScopeGroupDialScopeGroupId <String[]>]: [ExclusionScopeType <String>]: [GreetingsSettingAuthorizedUser <String[]>]: [Id <String>]: [InclusionScopeGroupDialScopeGroupId <String[]>]: [InclusionScopeType <String>]: [LanguageId <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: [OperatorEnableTranscription <Boolean?>]: [OperatorId <String>]: [OperatorSharedVoicemailEnableTranscription <Boolean?>]: [OperatorSharedVoicemailId <String>]: [OperatorSharedVoicemailType <String>]: [OperatorType <String>]: [Schedule <ISchedule[]>]: [AssociatedConfigurationId <String[]>]: [FixedScheduleDateTimeRange <IDateTimeRange[]>]: [End <String>]: [Start <String>]: [Id <String>]: [Name <String>]: [RecurrenceRangeEnd <DateTime?>]: [RecurrenceRangeNumberOfOccurrence <Int32?>]: [RecurrenceRangeStart <DateTime?>]: [RecurrenceRangeType <String>]: [Type <String>]: [WeeklyRecurrentScheduleFridayHour <ITimeRange[]>]: [End <String>]: [Start <String>]: [WeeklyRecurrentScheduleIsComplemented <Boolean?>]: [WeeklyRecurrentScheduleMondayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSaturdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSundayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleThursdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleTuesdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleWednesdayHour <ITimeRange[]>]: [TenantId <String>]: [TimeZoneId <String>]: [VoiceId <String>]: [VoiceResponseEnabled <Boolean?>]: CALLFLOW <ICallFlow[]>: . [Greeting <IPrompt[]>]: [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: [Id <String>]: [MenuDialByNameEnabled <Boolean?>]: [MenuDirectorySearchMethod <String>]: [MenuName <String>]: [MenuOption <IMenuOption[]>]: [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: [MenuPrompt <IPrompt[]>]: [Name <String>]: CALLHANDLINGASSOCIATION <ICallHandlingAssociation[]>: . [CallFlowId <String>]: [Enabled <Boolean?>]: [Priority <Int32?>]: [ScheduleId <String>]: [Type <String>]: DEFAULTCALLFLOWGREETING <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id MENUOPTION <IMenuOption[]>: . [Action <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [CallTargetEnableTranscription <Boolean?>]: [CallTargetId <String>]: [CallTargetType <String>]: [DtmfResponse <String>]: [PromptActiveType <String>]: [PromptTextToSpeechPrompt <String>]: [VoiceResponse <String[]>]: MENUPROMPT <IPrompt[]>: . [ActiveType <String>]: [AudioFilePromptDownloadUri <String>]: [AudioFilePromptFileName <String>]: [AudioFilePromptId <String>]: [TextToSpeechPrompt <String>]: SCHEDULE <ISchedule[]>: . [AssociatedConfigurationId <String[]>]: [FixedScheduleDateTimeRange <IDateTimeRange[]>]: [End <String>]: [Start <String>]: [Id <String>]: [Name <String>]: [RecurrenceRangeEnd <DateTime?>]: [RecurrenceRangeNumberOfOccurrence <Int32?>]: [RecurrenceRangeStart <DateTime?>]: [RecurrenceRangeType <String>]: [Type <String>]: [WeeklyRecurrentScheduleFridayHour <ITimeRange[]>]: [End <String>]: [Start <String>]: [WeeklyRecurrentScheduleIsComplemented <Boolean?>]: [WeeklyRecurrentScheduleMondayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSaturdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSundayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleThursdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleTuesdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleWednesdayHour <ITimeRange[]>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csautoattendant #> function Set-CsAutoAttendant { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateAutoAttendantResponse])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the auto attendant to be updated. ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IAutoAttendant] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${ApplicationInstance}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICallFlow[]] # . # To construct, see NOTES section for CALLFLOW properties and create a hash table. ${CallFlow}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ICallHandlingAssociation[]] # . # To construct, see NOTES section for CALLHANDLINGASSOCIATION properties and create a hash table. ${CallHandlingAssociation}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for DEFAULTCALLFLOWGREETING properties and create a hash table. ${DefaultCallFlowGreeting}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DefaultCallFlowId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DefaultCallFlowName}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${DialByNameResourceId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${ExclusionScopeGroupDialScopeGroupId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${ExclusionScopeType}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${GreetingsSettingAuthorizedUser}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Id}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${InclusionScopeGroupDialScopeGroupId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${InclusionScopeType}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${LanguageId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${MenuDialByNameEnabled}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuDirectorySearchMethod}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${MenuName}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IMenuOption[]] # . # To construct, see NOTES section for MENUOPTION properties and create a hash table. ${MenuOption}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPrompt[]] # . # To construct, see NOTES section for MENUPROMPT properties and create a hash table. ${MenuPrompt}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OperatorEnableTranscription}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${OperatorSharedVoicemailEnableTranscription}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorSharedVoicemailId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorSharedVoicemailType}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${OperatorType}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISchedule[]] # . # To construct, see NOTES section for SCHEDULE properties and create a hash table. ${Schedule}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${TenantId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${TimeZoneId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${VoiceId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${VoiceResponseEnabled}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsAutoAttendant_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsAutoAttendant_SetExpanded'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsAutoAttendant_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsAutoAttendant_SetViaIdentityExpanded'; } $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 call queue. PUT Teams.VoiceApps/callqueues/identity. .Description Update call queue. PUT Teams.VoiceApps/callqueues/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateCallQueueRequest .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord .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. BODY <IUpdateCallQueueRequest>: CallQueue modify request DTO class. [AgentAlertTime <Int32?>]: Gets or sets the number of seconds that a call can remain unanswered. [AllowOptOut <Boolean?>]: Gets or sets a value indicating whether to allow agent optout on Call Queue. [ConferenceMode <Boolean?>]: Gets or sets a value indicating whether to allow Conference Mode on Call Queue. [DistributionList <String[]>]: Gets or sets the Call Queue's Distribution List. [EnableOverflowSharedVoicemailTranscription <Boolean?>]: Gets or sets a value indicating if transcription should be turned on or not. [EnableResourceAccountsForObo <Boolean?>]: Gets or sets a value indicating whether to allow CQ+Chanined RA's as permissioned RA's. [EnableTimeoutSharedVoicemailTranscription <Boolean?>]: Gets or sets a value indicating if transcription should be turned on or not. [LanguageId <String>]: Gets or sets the language Id used for TTS. [MusicOnHoldAudioFileId <String>]: Gets or sets the call flows for the auto attendant app endpoint. [Name <String>]: Gets or sets the Call Queue's name. [OverflowAction <Int32?>]: Gets or sets the action to take when the overflow threshold is reached. [OverflowActionTarget <String>]: Gets or sets the target of the overflow action. [OverflowSharedVoicemailAudioFilePrompt <String>]: Gets or sets the audio file to be played when forwarding callers to shared voicemai. [OverflowSharedVoicemailTextToSpeechPrompt <String>]: Gets or sets the TTS to be played when forwarding callers to shared voicemail. [OverflowThreshold <Int32?>]: Gets or sets the number of simultaneous calls that can be in the queue at any one time. [PresenceAwareRouting <Boolean?>]: Gets or sets a value indicating whether to enable presence aware routing. [RoutingMethod <Int32?>]: Gets or sets the routing method for the Call Queue. [ShouldOverwriteCallableChannelProperty <Boolean?>]: Gets or sets ShouldOverwriteCallableChannelProperty flag that indicates user intention to whether overwirte the current callableChannel property value on chat service or not. [ThreadId <String>]: Gets or sets teams channel thread id if user choose to sync CQ with a channel. [TimeoutAction <Int32?>]: Gets or sets the action to take if the timeout threshold is reached. [TimeoutActionTarget <String>]: Gets or sets the target of the timeout action. [TimeoutSharedVoicemailAudioFilePrompt <String>]: Gets or sets the audio file to be played when forwarding callers to shared voicemai. [TimeoutSharedVoicemailTextToSpeechPrompt <String>]: Gets or sets the TTS to be played when forwarding callers to shared voicemail. [TimeoutThreshold <Int32?>]: Gets or sets the number of minutes that a call can be in the queue before it times out. [UseDefaultMusicOnHold <Boolean?>]: Gets or sets a value indicating whether to use default music on hold audio file. [User <String[]>]: Gets or sets the Call Queue's Users. [WelcomeMusicAudioFileId <String>]: Gets or sets the call flows for the auto attendant app endpoint. INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-cscallqueue #> function Set-CsCallQueue { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnosticRecord])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateCallQueueRequest] # CallQueue modify request DTO class. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of seconds that a call can remain unanswered. ${AgentAlertTime}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow agent optout on Call Queue. ${AllowOptOut}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow Conference Mode on Call Queue. ${ConferenceMode}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the Call Queue's Distribution List. ${DistributionList}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating if transcription should be turned on or not. ${EnableOverflowSharedVoicemailTranscription}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to allow CQ+Chanined RA's as permissioned RA's. ${EnableResourceAccountsForObo}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating if transcription should be turned on or not. ${EnableTimeoutSharedVoicemailTranscription}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the language Id used for TTS. ${LanguageId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the call flows for the auto attendant app endpoint. ${MusicOnHoldAudioFileId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the Call Queue's name. ${Name}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the action to take when the overflow threshold is reached. ${OverflowAction}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the target of the overflow action. ${OverflowActionTarget}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the audio file to be played when forwarding callers to shared voicemai. ${OverflowSharedVoicemailAudioFilePrompt}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the TTS to be played when forwarding callers to shared voicemail. ${OverflowSharedVoicemailTextToSpeechPrompt}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of simultaneous calls that can be in the queue at any one time. ${OverflowThreshold}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to enable presence aware routing. ${PresenceAwareRouting}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the routing method for the Call Queue. ${RoutingMethod}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets ShouldOverwriteCallableChannelProperty flag that indicates user intention to whether overwirte the current callableChannel property value on chat service or not. ${ShouldOverwriteCallableChannelProperty}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets teams channel thread id if user choose to sync CQ with a channel. ${ThreadId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the action to take if the timeout threshold is reached. ${TimeoutAction}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the target of the timeout action. ${TimeoutActionTarget}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the audio file to be played when forwarding callers to shared voicemai. ${TimeoutSharedVoicemailAudioFilePrompt}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the TTS to be played when forwarding callers to shared voicemail. ${TimeoutSharedVoicemailTextToSpeechPrompt}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # Gets or sets the number of minutes that a call can be in the queue before it times out. ${TimeoutThreshold}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to use default music on hold audio file. ${UseDefaultMusicOnHold}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the Call Queue's Users. ${User}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the call flows for the auto attendant app endpoint. ${WelcomeMusicAudioFileId}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsCallQueue_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsCallQueue_SetExpanded'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsCallQueue_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsCallQueue_SetViaIdentityExpanded'; } $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 Sets a bridge using unique id. This api is also used for Instance query. .Description Sets a bridge using unique id. This api is also used for Instance query. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IBridgeUpdateRequest .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingBridge .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. BODY <IBridgeUpdateRequest>: Update Conferencing Bridge Default Service number, or make it tenant's default bridge. [DefaultServiceNumber <String>]: Gets or sets service number to be updated as new default number of bridge. [Name <String>]: Gets or sets name of the bridge. This can only be used when user sets the bridge using instance. [SetDefault <Boolean?>]: Gets or sets a boolean value indicating if the bridge should be updated to be tenant's default bridge. INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csodcbridge #> function Set-CsOdcBridge { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingBridge])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Identity of the bridge. ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set1', Mandatory)] [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetExpanded1', Mandatory)] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # Name of the bridge. ${Name}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='Set1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IBridgeUpdateRequest] # Update Conferencing Bridge Default Service number, or make it tenant's default bridge. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetExpanded1')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets service number to be updated as new default number of bridge. ${DefaultServiceNumber}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetExpanded1')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a boolean value indicating if the bridge should be updated to be tenant's default bridge. ${SetDefault}, [Parameter(ParameterSetName='SetExpanded1')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets name of the bridge. # This can only be used when user sets the bridge using instance. ${Name1}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_Set'; Set1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_Set1'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_SetExpanded'; SetExpanded1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_SetExpanded1'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcBridge_SetViaIdentityExpanded'; } $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 This cmdlet is used to modify the properties of a user that has been enabled for Microsoft's audio conferencing service. .Description This cmdlet is used to modify the properties of a user that has been enabled for Microsoft's audio conferencing service. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserData .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2 .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingUser .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. BODY <IUserData>: User data to be sent. [AllowTollFreeDialIn <Boolean?>]: Gets or sets a value indicating whether or not the meeting should allow dialin via toll-free service number. TODO: This is not a Switch parameter. [BridgeId <String>]: Gets or sets the bridge identifier. [BridgeName <String>]: Gets or sets the bridge name. [ResetLeaderPin <Boolean?>]: Gets or sets a value indicating whether or not to reset the leader pin. TODO: This is a Switch parameter. [SendEmail <Boolean?>]: Gets or sets a value indicating whether to sends an email with the PSTN Conference information of a user even if the tenant setting is off. TODO: This is a switch parameter. [SendEmailFromAddress <String>]: Gets or sets a value indicating From Address to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmailFromDisplayName and -SendEmail. [SendEmailFromDisplayName <String>]: Gets or sets a value indicating the Display Name to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmailFromAddress and -SendEmail. [SendEmailToAddress <String>]: Gets or sets a value indicating To Address to send the email that contains the Audio Conference information. This parameter must be used together with -SendEmail. [ServiceNumber <String>]: Gets or sets the service number to set as the user's default bridge number. [TollFreeServiceNumber <String>]: Gets or sets the toll-free service number to set as the user's default toll-free service number. INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csodcuser #> function Set-CsOdcUser { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingUser], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Identity of the user. ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserData] # User data to be sent. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether or not the meeting should allow dialin via toll-free service number.TODO: This is not a Switch parameter. ${AllowTollFreeDialIn}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the bridge identifier. ${BridgeId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the bridge name. ${BridgeName}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether or not to reset the leader pin.TODO: This is a Switch parameter. ${ResetLeaderPin}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether to sends an email with the PSTN Conference information of a user even if the tenant setting is off.TODO: This is a switch parameter. ${SendEmail}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets a value indicating From Address to send the email that contains the Audio Conference information.This parameter must be used together with -SendEmailFromDisplayName and -SendEmail. ${SendEmailFromAddress}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets a value indicating the Display Name to send the email that contains the Audio Conference information.This parameter must be used together with -SendEmailFromAddress and -SendEmail. ${SendEmailFromDisplayName}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets a value indicating To Address to send the email that contains the Audio Conference information.This parameter must be used together with -SendEmail. ${SendEmailToAddress}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the service number to set as the user's default bridge number. ${ServiceNumber}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the toll-free service number to set as the user's default toll-free service number. ${TollFreeServiceNumber}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcUser_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcUser_SetExpanded'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcUser_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOdcUser_SetViaIdentityExpanded'; } $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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponseInput .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnostics .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponse .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. BODY <IEmergencyDisclaimerUserResponseInput>: . [Content <String>]: [Country <String>]: [ForceAccept <Boolean?>]: [Locale <String>]: [RespondedByObjectId <String>]: [Response <Int32?>]: [ResponseTimestamp <DateTime?>]: [Version <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csonlineenhancedemergencyservicedisclaimer #> function Set-CsOnlineEnhancedEmergencyServiceDisclaimer { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponse], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDiagnostics])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IEmergencyDisclaimerUserResponseInput] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Content}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${CountryOrRegion}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${ForceAccept}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Locale}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${RespondedByObjectId}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # . ${Response}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${ResponseTimestamp}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Version}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineEnhancedEmergencyServiceDisclaimer_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineEnhancedEmergencyServiceDisclaimer_SetExpanded'; } $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 Updates a specific schedule. PUT Teams.VoiceApps/schedules/identity. .Description Updates a specific schedule. PUT Teams.VoiceApps/schedules/identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISchedule .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IModifyScheduleResponse .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. BODY <ISchedule>: . [AssociatedConfigurationId <String[]>]: [FixedScheduleDateTimeRange <IDateTimeRange[]>]: [End <String>]: [Start <String>]: [Id <String>]: [Name <String>]: [RecurrenceRangeEnd <DateTime?>]: [RecurrenceRangeNumberOfOccurrence <Int32?>]: [RecurrenceRangeStart <DateTime?>]: [RecurrenceRangeType <String>]: [Type <String>]: [WeeklyRecurrentScheduleFridayHour <ITimeRange[]>]: [End <String>]: [Start <String>]: [WeeklyRecurrentScheduleIsComplemented <Boolean?>]: [WeeklyRecurrentScheduleMondayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSaturdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleSundayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleThursdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleTuesdayHour <ITimeRange[]>]: [WeeklyRecurrentScheduleWednesdayHour <ITimeRange[]>]: FIXEDSCHEDULEDATETIMERANGE <IDateTimeRange[]>: . [End <String>]: [Start <String>]: INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id WEEKLYRECURRENTSCHEDULEFRIDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULEMONDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULESATURDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULESUNDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULETHURSDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULETUESDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: WEEKLYRECURRENTSCHEDULEWEDNESDAYHOUR <ITimeRange[]>: . [End <String>]: [Start <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csonlineschedule #> function Set-CsOnlineSchedule { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IModifyScheduleResponse])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the schedule to be updated. ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISchedule] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # . ${AssociatedConfigurationId}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDateTimeRange[]] # . # To construct, see NOTES section for FIXEDSCHEDULEDATETIMERANGE properties and create a hash table. ${FixedScheduleDateTimeRange}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Id}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Name}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${RecurrenceRangeEnd}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Int32] # . ${RecurrenceRangeNumberOfOccurrence}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.DateTime] # . ${RecurrenceRangeStart}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${RecurrenceRangeType}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Type}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEFRIDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleFridayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${WeeklyRecurrentScheduleIsComplemented}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEMONDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleMondayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULESATURDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleSaturdayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULESUNDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleSundayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULETHURSDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleThursdayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULETUESDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleTuesdayHour}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITimeRange[]] # . # To construct, see NOTES section for WEEKLYRECURRENTSCHEDULEWEDNESDAYHOUR properties and create a hash table. ${WeeklyRecurrentScheduleWednesdayHour}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSchedule_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSchedule_SetExpanded'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSchedule_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSchedule_SetViaIdentityExpanded'; } $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 Enable or Disable Tenant VerifiedSipDomains. .Description Enable or Disable Tenant VerifiedSipDomains. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITenantSipDomainRequest .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. BODY <ITenantSipDomainRequest>: The request to update an tenant sip domain. [Action <String>]: Action enable or disable domain. [DomainName <String>]: Domain Name. .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csonlinesipdomain #> function Set-CsOnlineSipDomain { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ITenantSipDomainRequest] # The request to update an tenant sip domain. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Action enable or disable domain. ${Action}, [Parameter(ParameterSetName='SetExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Domain Name. ${DomainName}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSipDomain_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsOnlineSipDomain_SetExpanded'; } $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 .Description .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csphonenumberassignment #> function Set-CsPhoneNumberAssignment { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.ISkypeTelephoneNumberMgmtErrorResponseDetails])] [CmdletBinding(DefaultParameterSetName='Set', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # . ${Identity}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # . ${EnterpriseVoiceEnabled}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${LocationId}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${PhoneNumber}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # . ${PhoneNumberType}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsPhoneNumberAssignment_Set'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsPhoneNumberAssignment_SetViaIdentity'; } $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 Set User. .Description Set User. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Inputs System.Collections.Hashtable .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserMas .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/set-csusergenerated #> function Set-CsUserGenerated { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUserMas])] [CmdletBinding(DefaultParameterSetName='SetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Set', Mandatory)] [Parameter(ParameterSetName='SetExpanded', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # UserId. ${UserId}, [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Set', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='SetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.Info(Required, PossibleTypes=([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IDictionaryOfString]))] [System.Collections.Hashtable] # Dictionary of <string> ${Body}, [Parameter(ParameterSetName='SetExpanded')] [Parameter(ParameterSetName='SetViaIdentityExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Set = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsUserGenerated_Set'; SetExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsUserGenerated_SetExpanded'; SetViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsUserGenerated_SetViaIdentity'; SetViaIdentityExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Set-CsUserGenerated_SetViaIdentityExpanded'; } $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 Unassigns the previously assigned service number as default Conference Bridge number. .Description Unassigns the previously assigned service number as default Conference Bridge number. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2 .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber .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. BODY <IConferencingServiceNumber>: Class representing ConferencingServiceNumber. [BridgeId <String>]: Gets or sets the unique identifier of the Bridge that this ServiceNumber belongs to. [City <String>]: Gets or sets the Geocode where the ServiceNumber is intended to be used. [IsShared <Boolean?>]: Gets or sets a value indicating whether the number is shared between multiple tenants. If this is the case then tenant admins will be unable to edit the number. [Number <String>]: Gets or sets the 11 digit number identifying the ServiceNumber. [PrimaryLanguage <String>]: Gets or sets the primary language of the ServiceNumber. e.g.: "en-US". [SecondaryLanguages <String[]>]: Gets or sets the list of secondary languages of the ServiceNumber. e.g.: "fr-FR","en-GB","en-IN". [Type <String>]: Gets or sets defines the number type Toll/Toll-Free. INPUTOBJECT <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/unregister-csodcservicenumber #> function Unregister-CsOdcServiceNumber { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber], [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IApiErrorItemAutoGenerated2])] [CmdletBinding(DefaultParameterSetName='UnregisterExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Unregister', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Service number to be assigned to a bridge. # The service number in E.164 format, e.g. # +14251112222 or tel:+14251112222. ${Identity}, [Parameter(ParameterSetName='UnregisterViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # The conferencing bridge identifier to assign the service numbers to. ${BridgeId}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.String] # The conferencing bridge name to assign the service numbers. ${BridgeName}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Query')] [System.Management.Automation.SwitchParameter] # Switch parameter as a backdoor hook to remove the default service number on bridge. ${RemoveDefaultServiceNumber}, [Parameter(ParameterSetName='Unregister1', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConferencingServiceNumber] # Class representing ConferencingServiceNumber. # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the unique identifier of the Bridge that this ServiceNumber belongs to. ${BridgeId1}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the Geocode where the ServiceNumber is intended to be used. ${City}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether the number is shared between multiple tenants. # If this is the casethen tenant admins will be unable to edit the number. ${IsShared}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the 11 digit number identifying the ServiceNumber. ${Number}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets the primary language of the ServiceNumber. # e.g.: "en-US". ${PrimaryLanguage}, [Parameter(ParameterSetName='UnregisterExpanded')] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String[]] # Gets or sets the list of secondary languages of the ServiceNumber. # e.g.: "fr-FR","en-GB","en-IN". ${SecondaryLanguage}, [Parameter(ParameterSetName='UnregisterExpanded')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # Gets or sets defines the number type Toll/Toll-Free. ${Type}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ Unregister = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Unregister-CsOdcServiceNumber_Unregister'; Unregister1 = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Unregister-CsOdcServiceNumber_Unregister1'; UnregisterExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Unregister-CsOdcServiceNumber_UnregisterExpanded'; UnregisterViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Unregister-CsOdcServiceNumber_UnregisterViaIdentity'; } $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 Refresh a specific AutoAttendant dail by grammer. POST /Teams.VoiceApps/autoAttendants/{identity}/refresh. .Description Refresh a specific AutoAttendant dail by grammer. POST /Teams.VoiceApps/autoAttendants/{identity}/refresh. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity .Outputs Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateAutoAttendantResponse .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 <IConfigApiBasedCmdletsIdentity>: Identity Parameter [AppId <String>]: [AudioFileId <String>]: [Bssid <String>]: [ChassisId <String>]: [CivicAddressId <String>]: [ConfigName <String>]: [ConfigType <String>]: [ConnectorInstanceId <String>]: Connector Instance Id [Country <String>]: [EndpointId <String>]: Application instance Id. [GroupId <String>]: The ID of a group whose policy assignments will be returned. [Id <String>]: [Identity <String>]: [Locale <String>]: [LocationId <String>]: Location id. [OdataId <String>]: A composite URI of a template. [OperationId <String>]: The ID of a batch policy assignment operation. [OrderId <String>]: [PackageName <String>]: The name of a specific policy package [PolicyType <String>]: The policy type for which group policy assignments will be returned. [PortId <String>]: [PublicTemplateLocale <String>]: Language and country code for localization of publicly available templates. [SubnetId <String>]: [TeamId <String>]: Team Id [UserId <String>]: UserId. Supports Guid. Eventually UPN and SIP. [Version <String>]: [WfmTeamId <String>]: Team Id .Link https://docs.microsoft.com/en-us/powershell/module/teams/update-csautoattendant #> function Update-CsAutoAttendant { [OutputType([Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IUpdateAutoAttendantResponse])] [CmdletBinding(DefaultParameterSetName='Update', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [System.String] # Id for the auto attendant to be refreshed. ${Identity}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Path')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IConfigApiBasedCmdletsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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.Teams.ConfigAPI.Cmdlets.private\Update-CsAutoAttendant_Update'; UpdateViaIdentity = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Update-CsAutoAttendant_UpdateViaIdentity'; } $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 a policy package .Description Update a policy package .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs System.String .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. POLICYLIST <IPackageServiceModelsRequestsPolicyTypeAndName[]>: . PolicyName <String>: PolicyType <String>: .Link https://docs.microsoft.com/en-us/powershell/module/teams/update-cscustompolicypackage #> function Update-CsCustomPolicyPackage { [OutputType([System.String])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Identity}, [Parameter(Mandatory)] [AllowEmptyCollection()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.IPackageServiceModelsRequestsPolicyTypeAndName[]] # . # To construct, see NOTES section for POLICYLIST properties and create a hash table. ${PolicyList}, [Parameter()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Body')] [System.String] # . ${Description}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Teams.ConfigAPI.Cmdlets.Generated.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 = @{ UpdateExpanded = 'Microsoft.Teams.ConfigAPI.Cmdlets.private\Update-CsCustomPolicyPackage_UpdateExpanded'; } $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 # MIIjfAYJKoZIhvcNAQcCoIIjbTCCI2kCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCXtJoGn/niPCrY # f65zqOqwxR90S6JHA+aPUOdby6P6eqCCDXMwggXxMIID2aADAgECAhMzAAACGYwK # n7IWKxDmAAAAAAIZMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjEwNDI5MTkxMjU1WhcNMjIwNDI4MTkxMjU1WjByMQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMRwwGgYDVQQDExNTa3lw # ZSBTb2Z0d2FyZSBTYXJsMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA # nxMscK0w8ebaayvQhxPtLTkomfivSX4yNLmQJGXG+1yUKU4fmdQAhZm5mSIdFAEv # sjAwCP3vUmh2N5R5TrAN/whfjGcDDlCYonKcrmuSaXxGuyjXKlELlRmPOaobqeo1 # 1Amcz6SRbNYBtKtRiP5ip2PfAvtJp7AvH0mZfGXKehE4C+5t8XYZ3K1JU3Tdb+3Z # z+smovI8h/ZPe+uV2ORTxxa9kBLDvueJZbzKkn/WAIX/8rq/ywHtffSTXSueUmoe # NJ0UCyoNBr90xtnozaCVknyRG8qWzHEZlc43FPNwIW6y8k1JSuspq+SML/HP7Fjv # 7zcTLtM1HBBX/I9KxBJSBQIDAQABo4IBcjCCAW4wEwYDVR0lBAwwCgYIKwYBBQUH # AwMwHQYDVR0OBBYEFAZqNYGuvWVnCVhV5aJBAvx4cJdwMFAGA1UdEQRJMEekRTBD # MSkwJwYDVQQLEyBNaWNyb3NvZnQgT3BlcmF0aW9ucyBQdWVydG8gUmljbzEWMBQG # A1UEBRMNMjMwMjU0KzQ2NDU2MjAfBgNVHSMEGDAWgBRIbmTlUAXTgqoXNzcitW2o # ynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20v # cGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3JsMGEGCCsG # AQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5taWNyb3NvZnQuY29t # L3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3J0MAwG # A1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIBABRKE3yDcJHa8xnyFn9Z+0m8 # vQLeUGC9933o78aSOWDkvcPFPczSqvw4cUmQnHPcRwDS1mwlYs5TmCdIS6Ij++Or # uWxfgMdPRpveO6zT8rDWBL2sqCT/k5yCO75DVhT4kE/qEe81T4OY/Ejx3lZbBE1a # z2k5dOL/ZWqNu8FdKSDmBZEeENOYy9UIyLf6coV2KLERB2IZ3W8U3z37fPA5nRMw # +9sWWb98Gdm8exr4UwmnU0q8Y0KvJx/xwqOPShgiDjHsWev3fzsKSYzebkfBdLbw # DZl9880mrGr03CfEWGDWa0tJui3LRh4csIuxWHkUrFw/R2N8baMDGPEUCh7dE+qf # nuuMJ5tRUmnMOqyqj8dLXUZa+yxxpS91qde5asle0+WfzjLQ1D+T6ElhLBQU9LNh # 5nhbD1+kJkVHFAU2tM3MXa2tgMVWFWQP4IqcQDWMW68M90VkGUrJ+t63oRO8HwbL # 4IZJxG0wW/527ypSQTmpLSX6mM2vIyFHsO4zCvjDq8yfnDk25bpUNJbfOpqVkkWP # UE+4bNIQbzcWgKgPIZDOka3pxq4vI05ns3tnvWS7TKiG+7ZYr5ZBSS6pr1Wykt0U # aXxaUZuAWwikj2gvZAXR35f5bDg+36WoJTpQKNqzsY7dyL6SxkcZI8DcEKWEfbWd # BX8q+w5hzEWqh7TrYJ93MIIHejCCBWKgAwIBAgIKYQ6Q0gAAAAAAAzANBgkqhkiG # 9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAO # BgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEy # MDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5IDIw # MTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEwOTA5WjB+MQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQgQ29k # ZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKC # AgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+laUKq4BjgaBEm6f8MMHt03a8YS # 2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc6Whe0t+bU7IKLMOv2akrrnoJ # r9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4Ddato88tt8zpcoRb0RrrgOGSs # bmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+lD3v++MrWhAfTVYoonpy4BI6 # t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nkkDstrjNYxbc+/jLTswM9sbKv # kjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6A4aN91/w0FK/jJSHvMAhdCVf # GCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmdX4jiJV3TIUs+UsS1Vz8kA/DR # elsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL5zmhD+kjSbwYuER8ReTBw3J6 # 4HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zdsGbiwZeBe+3W7UvnSSmnEyim # p31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3T8HhhUSJxAlMxdSlQy90lfdu # +HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS4NaIjAsCAwEAAaOCAe0wggHp # MBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRIbmTlUAXTgqoXNzcitW2oynUC # lTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0T # AQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBDuRQFTuHqp8cx0SOJNDBaBgNV # HR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9w # cm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3JsMF4GCCsGAQUF # BwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3Br # aS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3J0MIGfBgNVHSAE # gZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEFBQcCARYzaHR0cDovL3d3dy5t # aWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1hcnljcHMuaHRtMEAGCCsGAQUF # BwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkAYwB5AF8AcwB0AGEAdABlAG0A # ZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn8oalmOBUeRou09h0ZyKbC5YR # 4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7v0epo/Np22O/IjWll11lhJB9 # i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0bpdS1HXeUOeLpZMlEPXh6I/MT # faaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/KmtYSWMfCWluWpiW5IP0wI/z # Rive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvyCInWH8MyGOLwxS3OW560STkK # xgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBpmLJZiWhub6e3dMNABQamASoo # PoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJihsMdYzaXht/a8/jyFqGaJ+HN # pZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYbBL7fQccOKO7eZS/sl/ahXJbY # ANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbSoqKfenoi+kiVH6v7RyOA9Z74 # v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sLgOppO6/8MO0ETI7f33VtY5E9 # 0Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtXcVZOSEXAQsmbdlsKgEhr/Xmf # wb1tbWrJUnMTDXpQzTGCFV8wghVbAgEBMIGVMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTECEzMAAAIZjAqfshYrEOYAAAAAAhkwDQYJYIZIAWUDBAIBBQCg # gaYwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEOMAwG # CisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIDEotGPnwLEdnPhkwl2lER4vFEty # olN9YNsnKfjOFYByMDoGCisGAQQBgjcCAQwxLDAqoAyACgBTAGsAeQBwAGWhGoAY # aHR0cDovL3d3dy5taWNyb3NvZnQuY29tMA0GCSqGSIb3DQEBAQUABIIBAHiowV/Z # ksuMjtzBJPWkJi5GoHVXcFsprjRcTJD1j+9I88qOXtwNss/8+qXiat3AoAoL8x7I # LA3W+26xJ9qlg6rAbk0i0LSoz5DgScDGhjZNb88a2ks8mzv/8P80NMJywG9G1gCy # 0J1LOuHqWreTUOXfLfnDKFcs8IGRgpKIiX3v/Ys+fLjwvbMQSfCpHeBH74TIkDDE # 2smPcepL7EtB6/EeUx7P+Cz9E1RL5m3Rj2xIYeMfaVxWHi5DM7KEq1xsOS1qSvlI # TnMYWvGGI2n+gyUg+AHOuMGEIVPmL1hZSCGgVGsC7Vd3woXk+KGs4kQMuvBPaftJ # Tup+PSBZ6GmmGNmhghLxMIIS7QYKKwYBBAGCNwMDATGCEt0wghLZBgkqhkiG9w0B # BwKgghLKMIISxgIBAzEPMA0GCWCGSAFlAwQCAQUAMIIBVQYLKoZIhvcNAQkQAQSg # ggFEBIIBQDCCATwCAQEGCisGAQQBhFkKAwEwMTANBglghkgBZQMEAgEFAAQgfm9M # 2Iygm7HC2lLAoCwHveBiTop6p1qFXt3LgqPnZboCBmGCBVxkoxgTMjAyMTExMTUw # NDIwMjEuNzY0WjAEgAIB9KCB1KSB0TCBzjELMAkGA1UEBhMCVVMxEzARBgNVBAgT # Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m # dCBDb3Jwb3JhdGlvbjEpMCcGA1UECxMgTWljcm9zb2Z0IE9wZXJhdGlvbnMgUHVl # cnRvIFJpY28xJjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjMyQkQtRTNENS0zQjFE # MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloIIORDCCBPUw # ggPdoAMCAQICEzMAAAFi0P4C8wHlzUkAAAAAAWIwDQYJKoZIhvcNAQELBQAwfDEL # MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v # bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWlj # cm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcNMjEwMTE0MTkwMjIyWhcNMjIw # NDExMTkwMjIyWjCBzjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjEpMCcGA1UECxMgTWljcm9zb2Z0IE9wZXJhdGlvbnMgUHVlcnRvIFJpY28xJjAk # BgNVBAsTHVRoYWxlcyBUU1MgRVNOOjMyQkQtRTNENS0zQjFEMSUwIwYDVQQDExxN # aWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIIBIjANBgkqhkiG9w0BAQEFAAOC # AQ8AMIIBCgKCAQEA74ah1Pa5wvcyvYNCy/YQs1tK8rIGlh1Qq1QFaJmYVXLXykb+ # m5yCStzmL227wJjsalZX8JA2YcbaZV5Icwm9vAJz8AC/sk/dsUK3pmDvkhtVI04Y # DV6otuZCILpQB9Ipcs3d0e1Dl2KKFvdibOk0/0rRxU9l+/Yxeb5lVTRERLxzI+Rd # 6Xv5QQYT6Sp2IE0N1vzIFd3yyO773T5XifNgL5lZbtIUnYUVmUBKlVoemO/54aiF # eVBpIG+YzhDTF7cuHNAzxWIbP1wt4VIqAV9JjuqLMvvBSD56pi8NTKM9fxrERAea # TS2HbfBYfmnRZ27Czjeo0ijQ5DSZGi0ErvWfKQIDAQABo4IBGzCCARcwHQYDVR0O # BBYEFMvEShFgSkO3OnzgHlaVk3aQ/iprMB8GA1UdIwQYMBaAFNVjOlyKMZDzQ3t8 # RhvFM2hahW1VMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9zb2Z0 # LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1RpbVN0YVBDQV8yMDEwLTA3LTAxLmNy # bDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWljcm9z # b2Z0LmNvbS9wa2kvY2VydHMvTWljVGltU3RhUENBXzIwMTAtMDctMDEuY3J0MAwG # A1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwgwDQYJKoZIhvcNAQELBQAD # ggEBAC1BrcOhdhtb9xcAJtxVIUZ7iALwZewXFIdPcmDAVT810k5xuRwVNW9Onq+W # ZO8ebqwiOSdEEHReLU0FOo/DbS7q79PsKdz/PSBPqZ/1ysjRVH0L5HUK2N7NgpkR # 1lnt+41BaOzJ+00OFDL5GqeqvK3RWh7MtqWF6KKcfNkP/hjiFlg9/S7xNK/Vl8q1 # 0HB5YbdBTQun8j1Jsih6YMb3tFQsxw++ra5+FSnc4yJhAYvVaqTKRKepEmwzYhwD # iXh2ag80/p0uDkOvs1WhgogwidpBVmNLAMxmFavK9+LNfRKvPIuCQw+EsxWR8vFB # BJDfs14WTsXVF94CQ1YCHqYI5EEwggZxMIIEWaADAgECAgphCYEqAAAAAAACMA0G # CSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv # bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 # aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0ZSBBdXRob3Jp # dHkgMjAxMDAeFw0xMDA3MDEyMTM2NTVaFw0yNTA3MDEyMTQ2NTVaMHwxCzAJBgNV # BAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4w # HAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29m # dCBUaW1lLVN0YW1wIFBDQSAyMDEwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB # CgKCAQEAqR0NvHcRijog7PwTl/X6f2mUa3RUENWlCgCChfvtfGhLLF/Fw+Vhwna3 # PmYrW/AVUycEMR9BGxqVHc4JE458YTBZsTBED/FgiIRUQwzXTbg4CLNC3ZOs1nMw # VyaCo0UN0Or1R4HNvyRgMlhgRvJYR4YyhB50YWeRX4FUsc+TTJLBxKZd0WETbijG # GvmGgLvfYfxGwScdJGcSchohiq9LZIlQYrFd/XcfPfBXday9ikJNQFHRD5wGPmd/ # 9WbAA5ZEfu/QS/1u5ZrKsajyeioKMfDaTgaRtogINeh4HLDpmc085y9Euqf03GS9 # pAHBIAmTeM38vMDJRF1eFpwBBU8iTQIDAQABo4IB5jCCAeIwEAYJKwYBBAGCNxUB # BAMCAQAwHQYDVR0OBBYEFNVjOlyKMZDzQ3t8RhvFM2hahW1VMBkGCSsGAQQBgjcU # AgQMHgoAUwB1AGIAQwBBMAsGA1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8G # A1UdIwQYMBaAFNX2VsuP6KJcYmjRPZSQW9fOmhjEMFYGA1UdHwRPME0wS6BJoEeG # RWh0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jv # b0NlckF1dF8yMDEwLTA2LTIzLmNybDBaBggrBgEFBQcBAQROMEwwSgYIKwYBBQUH # MAKGPmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2kvY2VydHMvTWljUm9vQ2Vy # QXV0XzIwMTAtMDYtMjMuY3J0MIGgBgNVHSABAf8EgZUwgZIwgY8GCSsGAQQBgjcu # AzCBgTA9BggrBgEFBQcCARYxaHR0cDovL3d3dy5taWNyb3NvZnQuY29tL1BLSS9k # b2NzL0NQUy9kZWZhdWx0Lmh0bTBABggrBgEFBQcCAjA0HjIgHQBMAGUAZwBhAGwA # XwBQAG8AbABpAGMAeQBfAFMAdABhAHQAZQBtAGUAbgB0AC4gHTANBgkqhkiG9w0B # AQsFAAOCAgEAB+aIUQ3ixuCYP4FxAz2do6Ehb7Prpsz1Mb7PBeKp/vpXbRkws8LF # Zslq3/Xn8Hi9x6ieJeP5vO1rVFcIK1GCRBL7uVOMzPRgEop2zEBAQZvcXBf/XPle # FzWYJFZLdO9CEMivv3/Gf/I3fVo/HPKZeUqRUgCvOA8X9S95gWXZqbVr5MfO9sp6 # AG9LMEQkIjzP7QOllo9ZKby2/QThcJ8ySif9Va8v/rbljjO7Yl+a21dA6fHOmWaQ # jP9qYn/dxUoLkSbiOewZSnFjnXshbcOco6I8+n99lmqQeKZt0uGc+R38ONiU9Mal # CpaGpL2eGq4EQoO4tYCbIjggtSXlZOz39L9+Y1klD3ouOVd2onGqBooPiRa6YacR # y5rYDkeagMXQzafQ732D8OE7cQnfXXSYIghh2rBQHm+98eEA3+cxB6STOvdlR3jo # +KhIq/fecn5ha293qYHLpwmsObvsxsvYgrRyzR30uIUBHoD7G4kqVDmyW9rIDVWZ # eodzOwjmmC3qjeAzLhIp9cAvVCch98isTtoouLGp25ayp0Kiyc8ZQU3ghvkqmqMR # ZjDTu3QyS99je/WZii8bxyGvWbWu3EQ8l1Bx16HSxVXjad5XwdHeMMD9zOZN+w2/ # XU/pnR4ZOC+8z1gFLu8NoFA12u8JJxzVs341Hgi62jbb01+P3nSISRKhggLSMIIC # OwIBATCB/KGB1KSB0TCBzjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 # b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh # dGlvbjEpMCcGA1UECxMgTWljcm9zb2Z0IE9wZXJhdGlvbnMgUHVlcnRvIFJpY28x # JjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjMyQkQtRTNENS0zQjFEMSUwIwYDVQQD # ExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNloiMKAQEwBwYFKw4DAhoDFQCa # s/oKGtvPRrHuznufk+indULyDKCBgzCBgKR+MHwxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1w # IFBDQSAyMDEwMA0GCSqGSIb3DQEBBQUAAgUA5TxVijAiGA8yMDIxMTExNTA3NDIw # MloYDzIwMjExMTE2MDc0MjAyWjB3MD0GCisGAQQBhFkKBAExLzAtMAoCBQDlPFWK # AgEAMAoCAQACAiHyAgH/MAcCAQACAhFwMAoCBQDlPacKAgEAMDYGCisGAQQBhFkK # BAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMBhqAwDQYJ # KoZIhvcNAQEFBQADgYEAV/O4P7r8W8DeyOUKSYS+aqGgJn2NTHq+TTPM0DR7Bg0Q # gPblqn/MGM+u5rUehSi2DSvhryzpVQ4gelqZd8+JxGDfw/tNQnI6wi4AInuvk+oo # myReiGaIMeMWZVe31Dce2a2Mnbdpx2gR8MYvRUR3pZHQueUNv3Z8+bI5FwjjON0x # ggMNMIIDCQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv # bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 # aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAA # AWLQ/gLzAeXNSQAAAAABYjANBglghkgBZQMEAgEFAKCCAUowGgYJKoZIhvcNAQkD # MQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCCpgeGD1HSommy6TqMLoW3h # kSMdgVsEu+lIMEteQ0+SjDCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQwgb0EIIqq # GJX7PA0OulTsNEHsyLnvGLoYE1iwaOBmqrapUwoyMIGYMIGApH4wfDELMAkGA1UE # BhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAc # BgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0 # IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAFi0P4C8wHlzUkAAAAAAWIwIgQghjAv # mJFR2Uj8BkHnbS7nV/5mBtpIv90kXw+dWvUX8CcwDQYJKoZIhvcNAQELBQAEggEA # ulSbM61wuChypoqFNo7ybMpF3UglnjjNS75UnP3ayeD5iPOjt9fAg1G5NtHOMyUe # b7i4PQCFJs5lCZuVxUP/63vSTPdT0aF+LQALrb1ndoebofHoVm5DsRib333WvN7k # BhjK4pe99i1mukv1bUa9G9o8qYcfnFJ0djxHV/M0qFRV96u//Qe6rU5Tx3IAjGrz # b3jTZ2MmicqYCcFMr7Z5jP9kuvwqvuaF4YsXG2UzkCbsZEckrN+zCJEUd9HDun5M # lBBFCMbQ93uQVsvnUdVhJBW2169yM1OPv7Tx/0sYSEjuL0Iq56QDUZ4RaTbil0iw # 65/78ZeolcW9LW12H1KGmw== # SIG # End signature block |