exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/powershell@3.0.498) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action addActivities .Description Invoke action addActivities .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths5Uv0B2ExternalConnectionsExternalconnectionIdItemsExternalitemIdMicrosoftGraphExternalconnectorsAddactivitiesPostRequestbodyContentApplicationJsonSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivityResult .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. ACTIVITIES <IMicrosoftGraphExternalConnectorsExternalActivity[]>: . [Id <String>]: The unique identifier for an entity. Read-only. [PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType [StartDateTime <DateTime?>]: When the particular activity occurred. [Type <String>]: externalActivityType BODYPARAMETER <IPaths5Uv0B2ExternalConnectionsExternalconnectionIdItemsExternalitemIdMicrosoftGraphExternalconnectorsAddactivitiesPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Activities <IMicrosoftGraphExternalConnectorsExternalActivity[]>]: [Id <String>]: The unique identifier for an entity. Read-only. [PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType [StartDateTime <DateTime?>]: When the particular activity occurred. [Type <String>]: externalActivityType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/add-mgbetaexternalconnectionitemactivity #> function Add-MgBetaExternalConnectionItemActivity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivityResult])] [CmdletBinding(DefaultParameterSetName='AddExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Add', Mandatory)] [Parameter(ParameterSetName='AddExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Add', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='AddViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths5Uv0B2ExternalConnectionsExternalconnectionIdItemsExternalitemIdMicrosoftGraphExternalconnectorsAddactivitiesPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity[]] # . # To construct, see NOTES section for ACTIVITIES properties and create a hash table. ${Activities}, [Parameter(ParameterSetName='AddExpanded')] [Parameter(ParameterSetName='AddViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Add = 'Microsoft.Graph.Beta.Search.private\Add-MgBetaExternalConnectionItemActivity_Add'; AddExpanded = 'Microsoft.Graph.Beta.Search.private\Add-MgBetaExternalConnectionItemActivity_AddExpanded'; AddViaIdentity = 'Microsoft.Graph.Beta.Search.private\Add-MgBetaExternalConnectionItemActivity_AddViaIdentity'; AddViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Add-MgBetaExternalConnectionItemActivity_AddViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. .Description A member added to an externalGroup. You can add Azure Active Directory users, Azure Active Directory groups, or other externalGroups as members. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectiongroupmember #> function Get-MgBetaExternalConnectionGroupMember { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of identity ${IdentityId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroupMember_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroupMember_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroupMember_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get groups from external .Description Get groups from external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectiongroup #> function Get-MgBetaExternalConnectionGroup { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroup_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroup_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionGroup_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Represents an identity used to identify who is responsible for the activity. .Description Represents an identity used to identify who is responsible for the activity. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionitemactivityperformedby #> function Get-MgBetaExternalConnectionItemActivityPerformedBy { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalActivity ${ExternalActivityId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItemActivityPerformedBy_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItemActivityPerformedBy_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Write-only property. Returns results. .Description Write-only property. Returns results. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionitemactivity #> function Get-MgBetaExternalConnectionItemActivity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalActivity ${ExternalActivityId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItemActivity_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItemActivity_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItemActivity_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get items from external .Description Get items from external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionitem #> function Get-MgBetaExternalConnectionItem { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItem_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItem_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionItem_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get operations from external .Description Get operations from external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionoperation #> function Get-MgBetaExternalConnectionOperation { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of connectionOperation ${ConnectionOperationId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionOperation_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionOperation_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionOperation_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Retrieve the properties and relationships of a connectionQuota object. .Description Retrieve the properties and relationships of a connectionQuota object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionquota #> function Get-MgBetaExternalConnectionQuota { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionQuota_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionQuota_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Retrieve the properties of a schema for an externalConnection. .Description Retrieve the properties of a schema for an externalConnection. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnectionschema #> function Get-MgBetaExternalConnectionSchema { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionSchema_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnectionSchema_GetViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get connections from external .Description Get connections from external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternalconnection #> function Get-MgBetaExternalConnection { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnection_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnection_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternalConnection_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get external .Description Get external .Example {{ Add code here }} .Example {{ Add code here }} .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetaexternal #> function Get-MgBetaExternal { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaExternal_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Administrative answer in Microsoft Search results to define common acronyms in a organization. .Description Administrative answer in Microsoft Search results to define common acronyms in a organization. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetasearchacronym #> function Get-MgBetaSearchAcronym { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of acronym ${AcronymId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchAcronym_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchAcronym_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchAcronym_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Administrative answer in Microsoft Search results for common search queries in an organization. .Description Administrative answer in Microsoft Search results for common search queries in an organization. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetasearchbookmark #> function Get-MgBetaSearchBookmark { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of bookmark ${BookmarkId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchBookmark_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchBookmark_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchBookmark_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Get search .Description Get search .Example {{ Add code here }} .Example {{ Add code here }} .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetasearchentity #> function Get-MgBetaSearchEntity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchEntity_Get'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Administrative answer in Microsoft Search results which provide answers for specific search keywords in an organization. .Description Administrative answer in Microsoft Search results which provide answers for specific search keywords in an organization. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/get-mgbetasearchqna #> function Get-MgBetaSearchQna { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of qna ${QnaId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(ParameterSetName='List')] [Alias('Limit')] [Microsoft.Graph.Beta.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${Top}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Int32] # Sets the page size of results. ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # List all pages. ${All}, [Parameter(ParameterSetName='List')] [Alias('CV')] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.String] # Specifies a count of the total number of items in a collection. # By default, this variable will be set in the global scope. ${CountVariable} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchQna_Get'; GetViaIdentity = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchQna_GetViaIdentity'; List = 'Microsoft.Graph.Beta.Search.private\Get-MgBetaSearchQna_List'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Run a specified search query. Search results are provided in the response. .Description Run a specified search query. Search results are provided in the response. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IPaths1Kd2XrlSearchMicrosoftGraphQueryPostRequestbodyContentApplicationJsonSchema .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchResponse .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 <IPaths1Kd2XrlSearchMicrosoftGraphQueryPostRequestbodyContentApplicationJsonSchema>: . [(Any) <Object>]: This indicates any property can be added to this object. [Requests <IMicrosoftGraphSearchRequest[]>]: [AggregationFilters <String[]>]: Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses. [Aggregations <IMicrosoftGraphAggregationOption[]>]: Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. [BucketDefinition <IMicrosoftGraphBucketAggregationDefinition>]: bucketAggregationDefinition [(Any) <Object>]: This indicates any property can be added to this object. [IsDescending <Boolean?>]: True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional. [MinimumCount <Int32?>]: The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. [PrefixFilter <String>]: A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. [Ranges <IMicrosoftGraphBucketAggregationRange[]>]: Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. [From <String>]: Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. [To <String>]: Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. [SortBy <String>]: bucketAggregationSortProperty [Field <String>]: Computes aggregation on the field while the field exists in current entity type. Required. [Size <Int32?>]: The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. [CollapseProperties <IMicrosoftGraphCollapseProperty[]>]: Contains the ordered collection of fields and limit to collapse results. Optional. [Fields <String[]>]: Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required. [Limit <Int32?>]: Defines a maximum limit count for this field. This numeric value must be a positive integer. Required. [ContentSources <String[]>]: Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. [EnableTopResults <Boolean?>]: This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. [EntityTypes <String[]>]: One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem, acronym, bookmark, chatMessage. For details about combinations of two or more entity types that are supported in the same search request, see known limitations. Required. [Fields <String[]>]: Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. [From <Int32?>]: Specifies the offset for the search results. Offset 0 returns the very first result. Optional. [Query <IMicrosoftGraphSearchQuery>]: searchQuery [(Any) <Object>]: This indicates any property can be added to this object. [QueryString <String>]: The search query containing the search terms. Required. [QueryString1 <IMicrosoftGraphSearchQueryString>]: searchQueryString [(Any) <Object>]: This indicates any property can be added to this object. [Query <String>]: Contains the actual search terms of the request. [QueryTemplate <String>]: Provides a way to decorate the query string. Supports both KQL and query variables. Optional. [QueryAlterationOptions <IMicrosoftGraphSearchAlterationOptions>]: searchAlterationOptions [(Any) <Object>]: This indicates any property can be added to this object. [EnableModification <Boolean?>]: Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional. [EnableSuggestion <Boolean?>]: Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. [Region <String>]: Required for searches that use application permissions. Represents the geographic location for the search. For details, see Get the region value. [ResultTemplateOptions <IMicrosoftGraphResultTemplateOption>]: resultTemplateOption [(Any) <Object>]: This indicates any property can be added to this object. [EnableResultTemplate <Boolean?>]: Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. This property is optional. [SharePointOneDriveOptions <IMicrosoftGraphSharePointOneDriveOptions>]: sharePointOneDriveOptions [(Any) <Object>]: This indicates any property can be added to this object. [IncludeContent <String>]: searchContent [Size <Int32?>]: The size of the page to be retrieved. Optional. [SortProperties <IMicrosoftGraphSortProperty[]>]: Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. [IsDescending <Boolean?>]: True if the sort order is descending. Default is false, with the sort order as ascending. Optional. [Name <String>]: The name of the property to sort on. Required. [StoredFields <String[]>]: [TrimDuplicates <Boolean?>]: Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. REQUESTS <IMicrosoftGraphSearchRequest[]>: . [AggregationFilters <String[]>]: Contains one or more filters to obtain search results aggregated and filtered to a specific value of a field. Optional.Build this filter based on a prior search that aggregates by the same field. From the response of the prior search, identify the searchBucket that filters results to the specific value of the field, use the string in its aggregationFilterToken property, and build an aggregation filter string in the format '{field}:/'{aggregationFilterToken}/''. If multiple values for the same field need to be provided, use the strings in its aggregationFilterToken property and build an aggregation filter string in the format '{field}:or(/'{aggregationFilterToken1}/',/'{aggregationFilterToken2}/')'. For example, searching and aggregating drive items by file type returns a searchBucket for the file type docx in the response. You can conveniently use the aggregationFilterToken returned for this searchBucket in a subsequent search query and filter matches down to drive items of the docx file type. Example 1 and example 2 show the actual requests and responses. [Aggregations <IMicrosoftGraphAggregationOption[]>]: Specifies aggregations (also known as refiners) to be returned alongside search results. Optional. [BucketDefinition <IMicrosoftGraphBucketAggregationDefinition>]: bucketAggregationDefinition [(Any) <Object>]: This indicates any property can be added to this object. [IsDescending <Boolean?>]: True to specify the sort order as descending. The default is false, with the sort order as ascending. Optional. [MinimumCount <Int32?>]: The minimum number of items that should be present in the aggregation to be returned in a bucket. Optional. [PrefixFilter <String>]: A filter to define a matching criteria. The key should start with the specified prefix to be returned in the response. Optional. [Ranges <IMicrosoftGraphBucketAggregationRange[]>]: Specifies the manual ranges to compute the aggregations. This is only valid for non-string refiners of date or numeric type. Optional. [From <String>]: Defines the lower bound from which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. [To <String>]: Defines the upper bound up to which to compute the aggregation. This can be a numeric value or a string representation of a date using the YYYY-MM-DDTHH:mm:ss.sssZ format. Required. [SortBy <String>]: bucketAggregationSortProperty [Field <String>]: Computes aggregation on the field while the field exists in current entity type. Required. [Size <Int32?>]: The number of searchBucket resources to be returned. This is not required when the range is provided manually in the search request. Optional. [CollapseProperties <IMicrosoftGraphCollapseProperty[]>]: Contains the ordered collection of fields and limit to collapse results. Optional. [Fields <String[]>]: Defines the collapse group to trim results. The properties in this collection must be sortable/refinable properties. Required. [Limit <Int32?>]: Defines a maximum limit count for this field. This numeric value must be a positive integer. Required. [ContentSources <String[]>]: Contains the connection to be targeted. Respects the following format : /external/connections/connectionid where connectionid is the ConnectionId defined in the Connectors Administration. Note: contentSource is only applicable when entityType=externalItem. Optional. [EnableTopResults <Boolean?>]: This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=message. Optional. [EntityTypes <String[]>]: One or more types of resources expected in the response. Possible values are: list, site, listItem, message, event, drive, driveItem, person, externalItem, acronym, bookmark, chatMessage. For details about combinations of two or more entity types that are supported in the same search request, see known limitations. Required. [Fields <String[]>]: Contains the fields to be returned for each resource object specified in entityTypes, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in externalItem from content that Microsoft Graph connectors bring in. The fields property can be using the semantic labels applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.Optional. [From <Int32?>]: Specifies the offset for the search results. Offset 0 returns the very first result. Optional. [Query <IMicrosoftGraphSearchQuery>]: searchQuery [(Any) <Object>]: This indicates any property can be added to this object. [QueryString <String>]: The search query containing the search terms. Required. [QueryString1 <IMicrosoftGraphSearchQueryString>]: searchQueryString [(Any) <Object>]: This indicates any property can be added to this object. [Query <String>]: Contains the actual search terms of the request. [QueryTemplate <String>]: Provides a way to decorate the query string. Supports both KQL and query variables. Optional. [QueryAlterationOptions <IMicrosoftGraphSearchAlterationOptions>]: searchAlterationOptions [(Any) <Object>]: This indicates any property can be added to this object. [EnableModification <Boolean?>]: Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional. [EnableSuggestion <Boolean?>]: Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional. [Region <String>]: Required for searches that use application permissions. Represents the geographic location for the search. For details, see Get the region value. [ResultTemplateOptions <IMicrosoftGraphResultTemplateOption>]: resultTemplateOption [(Any) <Object>]: This indicates any property can be added to this object. [EnableResultTemplate <Boolean?>]: Indicates whether search display layouts are enabled. If enabled, the user will get the result template to render the search results content in the resultTemplates property of the response. The result template is based on Adaptive Cards. This property is optional. [SharePointOneDriveOptions <IMicrosoftGraphSharePointOneDriveOptions>]: sharePointOneDriveOptions [(Any) <Object>]: This indicates any property can be added to this object. [IncludeContent <String>]: searchContent [Size <Int32?>]: The size of the page to be retrieved. Optional. [SortProperties <IMicrosoftGraphSortProperty[]>]: Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional. [IsDescending <Boolean?>]: True if the sort order is descending. Default is false, with the sort order as ascending. Optional. [Name <String>]: The name of the property to sort on. Required. [StoredFields <String[]>]: [TrimDuplicates <Boolean?>]: Indicates whether to trim away the duplicate SharePoint files from search results. Default value is false. Optional. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/invoke-mgbetaquerysearch #> function Invoke-MgBetaQuerySearch { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchResponse])] [CmdletBinding(DefaultParameterSetName='QueryExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Query', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IPaths1Kd2XrlSearchMicrosoftGraphQueryPostRequestbodyContentApplicationJsonSchema] # . # To construct, see NOTES section for BODY properties and create a hash table. ${Body}, [Parameter(ParameterSetName='QueryExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='QueryExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchRequest[]] # . # To construct, see NOTES section for REQUESTS properties and create a hash table. ${Requests}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Query = 'Microsoft.Graph.Beta.Search.private\Invoke-MgBetaQuerySearch_Query'; QueryExpanded = 'Microsoft.Graph.Beta.Search.private\Invoke-MgBetaQuerySearch_QueryExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new externalGroupMember object. .Description Create a new externalGroupMember object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsIdentity>: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnectiongroupmember #> function New-MgBetaExternalConnectionGroupMember { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity] # identity # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # identityType ${Type}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroupMember_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroupMember_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroupMember_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroupMember_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new externalGroup object. .Description Create a new externalGroup object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalGroup>: externalGroup [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Description <String>]: The description of the external group. Optional. [DisplayName <String>]: The friendly name of the external group. Optional. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnectiongroup #> function New-MgBetaExternalConnectionGroup { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup] # externalGroup # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the external group. # Optional. ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The friendly name of the external group. # Optional. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroup_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroup_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroup_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionGroup_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create new navigation property to activities for external .Description Create new navigation property to activities for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalActivity>: externalActivity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType [StartDateTime <DateTime?>]: When the particular activity occurred. [Type <String>]: externalActivityType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna PERFORMEDBY <IMicrosoftGraphExternalConnectorsIdentity>: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnectionitemactivity #> function New-MgBetaExternalConnectionItemActivity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity] # externalActivity # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity] # identity # To construct, see NOTES section for PERFORMEDBY properties and create a hash table. ${PerformedBy}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # When the particular activity occurred. ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # externalActivityType ${Type}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItemActivity_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItemActivity_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItemActivity_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItemActivity_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create new navigation property to items for external .Description Create new navigation property to items for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem .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. ACL <IMicrosoftGraphExternalConnectorsAcl[]>: An array of access control entries. Each entry specifies the access granted to a user or group. Required. [AccessType <String>]: accessType [IdentitySource <String>]: identitySourceType [Type <String>]: aclType [Value <String>]: The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalItem>: externalItem [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Acl <IMicrosoftGraphExternalConnectorsAcl[]>]: An array of access control entries. Each entry specifies the access granted to a user or group. Required. [AccessType <String>]: accessType [IdentitySource <String>]: identitySourceType [Type <String>]: aclType [Value <String>]: The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. [Content <IMicrosoftGraphExternalConnectorsExternalItemContent>]: externalItemContent [(Any) <Object>]: This indicates any property can be added to this object. [Type <String>]: externalItemContentType [Value <String>]: The content for the externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperties>]: properties [(Any) <Object>]: This indicates any property can be added to this object. CONTENT <IMicrosoftGraphExternalConnectorsExternalItemContent>: externalItemContent [(Any) <Object>]: This indicates any property can be added to this object. [Type <String>]: externalItemContentType [Value <String>]: The content for the externalItem. Required. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnectionitem #> function New-MgBetaExternalConnectionItem { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem] # externalItem # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsAcl[]] # An array of access control entries. # Each entry specifies the access granted to a user or group. # Required. # To construct, see NOTES section for ACL properties and create a hash table. ${Acl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItemContent] # externalItemContent # To construct, see NOTES section for CONTENT properties and create a hash table. ${Content}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Runtime.Info(PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsProperties]))] [System.Collections.Hashtable] # properties ${Properties}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItem_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItem_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItem_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionItem_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create new navigation property to operations for external .Description Create new navigation property to operations for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsConnectionOperation>: connectionOperation [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Error <IMicrosoftGraphPublicError>]: publicError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: Represents the error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error. [Code <String>]: The error code. [Message <String>]: The error message. [Target <String>]: The target of the error. [InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: The error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details. [Message <String>]: The error message. [Target <String>]: The target of the error. [Message <String>]: A non-localized message for the developer. [Target <String>]: The target of the error. [Status <String>]: connectionOperationStatus ERROR <IMicrosoftGraphPublicError>: publicError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: Represents the error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error. [Code <String>]: The error code. [Message <String>]: The error message. [Target <String>]: The target of the error. [InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: The error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details. [Message <String>]: The error message. [Target <String>]: The target of the error. [Message <String>]: A non-localized message for the developer. [Target <String>]: The target of the error. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnectionoperation #> function New-MgBetaExternalConnectionOperation { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation] # connectionOperation # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPublicError] # publicError # To construct, see NOTES section for ERROR properties and create a hash table. ${Error}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # connectionOperationStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionOperation_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionOperation_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionOperation_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnectionOperation_CreateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new externalConnection. .Description Create a new externalConnection. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .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. ACTIVITYSETTINGS <IMicrosoftGraphExternalConnectorsActivitySettings>: activitySettings [(Any) <Object>]: This indicates any property can be added to this object. [UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL. [Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalConnection>: externalConnection [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ActivitySettings <IMicrosoftGraphExternalConnectorsActivitySettings>]: activitySettings [(Any) <Object>]: This indicates any property can be added to this object. [UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL. [Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated. [ComplianceSettings <IMicrosoftGraphExternalConnectorsComplianceSettings>]: complianceSettings [(Any) <Object>]: This indicates any property can be added to this object. [EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator [Configuration <IMicrosoftGraphExternalConnectorsConfiguration>]: configuration [(Any) <Object>]: This indicates any property can be added to this object. [AuthorizedAppIds <String[]>]: A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. [ConnectorId <String>]: The Teams App ID. Optional. [Description <String>]: Description of the connection displayed in the Microsoft 365 admin center. Optional. [EnabledContentExperiences <String>]: contentExperienceType [IngestedItemsCount <Int64?>]: The number of items ingested into a connection. This value is refreshed every 15 minutes. If the connection state is draft, then ingestedItemsCount will be null. [Name <String>]: The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. [Quota <IMicrosoftGraphExternalConnectorsConnectionQuota>]: connectionQuota [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. [Schema <IMicrosoftGraphExternalConnectorsSchema>]: schema [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [BaseType <String>]: Must be set to microsoft.graph.externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType [SearchSettings <IMicrosoftGraphExternalConnectorsSearchSettings>]: searchSettings [(Any) <Object>]: This indicates any property can be added to this object. [SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. [State <String>]: connectionState COMPLIANCESETTINGS <IMicrosoftGraphExternalConnectorsComplianceSettings>: complianceSettings [(Any) <Object>]: This indicates any property can be added to this object. [EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator CONFIGURATION <IMicrosoftGraphExternalConnectorsConfiguration>: configuration [(Any) <Object>]: This indicates any property can be added to this object. [AuthorizedAppIds <String[]>]: A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. QUOTA <IMicrosoftGraphExternalConnectorsConnectionQuota>: connectionQuota [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. SCHEMA <IMicrosoftGraphExternalConnectorsSchema>: schema [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [BaseType <String>]: Must be set to microsoft.graph.externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType SEARCHSETTINGS <IMicrosoftGraphExternalConnectorsSearchSettings>: searchSettings [(Any) <Object>]: This indicates any property can be added to this object. [SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetaexternalconnection #> function New-MgBetaExternalConnection { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection] # externalConnection # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsActivitySettings] # activitySettings # To construct, see NOTES section for ACTIVITYSETTINGS properties and create a hash table. ${ActivitySettings}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsComplianceSettings] # complianceSettings # To construct, see NOTES section for COMPLIANCESETTINGS properties and create a hash table. ${ComplianceSettings}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConfiguration] # configuration # To construct, see NOTES section for CONFIGURATION properties and create a hash table. ${Configuration}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The Teams App ID. # Optional. ${ConnectorId}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Description of the connection displayed in the Microsoft 365 admin center. # Optional. ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # contentExperienceType ${EnabledContentExperiences}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Int64] # The number of items ingested into a connection. # This value is refreshed every 15 minutes. # If the connection state is draft, then ingestedItemsCount will be null. ${IngestedItemsCount}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The display name of the connection to be displayed in the Microsoft 365 admin center. # Maximum length of 128 characters. # Required. ${Name}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota] # connectionQuota # To construct, see NOTES section for QUOTA properties and create a hash table. ${Quota}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema] # schema # To construct, see NOTES section for SCHEMA properties and create a hash table. ${Schema}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSearchSettings] # searchSettings # To construct, see NOTES section for SEARCHSETTINGS properties and create a hash table. ${SearchSettings}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # connectionState ${State}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnection_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaExternalConnection_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new acronym object. .Description Create a new acronym object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchAcronym>: acronym [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [StandsFor <String>]: What the acronym stands for. [State <String>]: answerState LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetasearchacronym #> function New-MgBetaSearchAcronym { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym] # acronym # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # What the acronym stands for. ${StandsFor}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchAcronym_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchAcronym_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new bookmark object. .Description Create a new bookmark object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchBookmark>: bookmark [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [AvailabilityEndDateTime <DateTime?>]: Timestamp of when the bookmark will stop to appear as a search result. Set as null for always available. [AvailabilityStartDateTime <DateTime?>]: Timestamp of when the bookmark will start to appear as a search result. Set as null for always available. [Categories <String[]>]: Categories commonly used to describe this bookmark. For example, IT and HR. [GroupIds <String[]>]: List of security groups able to view this bookmark. [IsSuggested <Boolean?>]: True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. [Keywords <IMicrosoftGraphSearchAnswerKeyword>]: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. [LanguageTags <String[]>]: A list of language names that are geographically specific and that this bookmark can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. [Platforms <DevicePlatformType[]>]: List of devices and operating systems able to view this bookmark. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. [PowerAppIds <String[]>]: List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. [State <String>]: answerState [TargetedVariations <IMicrosoftGraphSearchAnswerVariant[]>]: Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. KEYWORDS <IMicrosoftGraphSearchAnswerKeyword>: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity TARGETEDVARIATIONS <IMicrosoftGraphSearchAnswerVariant[]>: Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetasearchbookmark #> function New-MgBetaSearchBookmark { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark] # bookmark # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the bookmark will stop to appear as a search result. # Set as null for always available. ${AvailabilityEndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the bookmark will start to appear as a search result. # Set as null for always available. ${AvailabilityStartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # Categories commonly used to describe this bookmark. # For example, IT and HR. ${Categories}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of security groups able to view this bookmark. ${GroupIds}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. # Read-only. ${IsSuggested}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerKeyword] # answerKeyword # To construct, see NOTES section for KEYWORDS properties and create a hash table. ${Keywords}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # A list of language names that are geographically specific and that this bookmark can be viewed in. # Each language tag value follows the pattern {language}-{region}. # As an example, en-us is English as used in the United States. # See supported language tags for the list of possible values. ${LanguageTags}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [ArgumentCompleter([Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType])] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType[]] # List of devices and operating systems able to view this bookmark. # Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. ${Platforms}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of Power Apps associated with this bookmark. # If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. ${PowerAppIds}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerVariant[]] # Variations of a bookmark for different countries or devices. # Use when you need to show different content to users based on their device, country/region, or both. # The date and group settings will apply to all variations. # To construct, see NOTES section for TARGETEDVARIATIONS properties and create a hash table. ${TargetedVariations}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchBookmark_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchBookmark_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Create a new qna object. .Description Create a new qna object. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchQna>: qna [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [AvailabilityEndDateTime <DateTime?>]: Timestamp of when the qna will stop to appear as a search result. Set as null for always available. [AvailabilityStartDateTime <DateTime?>]: Timestamp of when the qna will start to appear as a search result. Set as null for always available. [GroupIds <String[]>]: List of security groups able to view this qna. [IsSuggested <Boolean?>]: True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. [Keywords <IMicrosoftGraphSearchAnswerKeyword>]: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. [LanguageTags <String[]>]: A list of language names that are geographically specific and that this QnA can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. For the list of possible values, see supported language tags. [Platforms <DevicePlatformType[]>]: List of devices and operating systems able to view this qna. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. [State <String>]: answerState [TargetedVariations <IMicrosoftGraphSearchAnswerVariant[]>]: Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. KEYWORDS <IMicrosoftGraphSearchAnswerKeyword>: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity TARGETEDVARIATIONS <IMicrosoftGraphSearchAnswerVariant[]>: Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/new-mgbetasearchqna #> function New-MgBetaSearchQna { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna] # qna # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the qna will stop to appear as a search result. # Set as null for always available. ${AvailabilityEndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the qna will start to appear as a search result. # Set as null for always available. ${AvailabilityStartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of security groups able to view this qna. ${GroupIds}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. # Read-only. ${IsSuggested}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerKeyword] # answerKeyword # To construct, see NOTES section for KEYWORDS properties and create a hash table. ${Keywords}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # A list of language names that are geographically specific and that this QnA can be viewed in. # Each language tag value follows the pattern {language}-{region}. # As an example, en-us is English as used in the United States. # For the list of possible values, see supported language tags. ${LanguageTags}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [ArgumentCompleter([Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType])] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType[]] # List of devices and operating systems able to view this qna. # Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. ${Platforms}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerVariant[]] # Variations of a qna for different countries or devices. # Use when you need to show different content to users based on their device, country/region, or both. # The date and group settings will apply to all variations. # To construct, see NOTES section for TARGETEDVARIATIONS properties and create a hash table. ${TargetedVariations}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchQna_Create'; CreateExpanded = 'Microsoft.Graph.Beta.Search.private\New-MgBetaSearchQna_CreateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property members for external .Description Delete navigation property members for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectiongroupmember #> function Remove-MgBetaExternalConnectionGroupMember { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of identity ${IdentityId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionGroupMember_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionGroupMember_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property groups for external .Description Delete navigation property groups for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectiongroup #> function Remove-MgBetaExternalConnectionGroup { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionGroup_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionGroup_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property activities for external .Description Delete navigation property activities for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectionitemactivity #> function Remove-MgBetaExternalConnectionItemActivity { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalActivity ${ExternalActivityId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionItemActivity_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionItemActivity_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property items for external .Description Delete navigation property items for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectionitem #> function Remove-MgBetaExternalConnectionItem { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionItem_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionItem_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property operations for external .Description Delete navigation property operations for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectionoperation #> function Remove-MgBetaExternalConnectionOperation { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of connectionOperation ${ConnectionOperationId}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionOperation_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionOperation_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property quota for external .Description Delete navigation property quota for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectionquota #> function Remove-MgBetaExternalConnectionQuota { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionQuota_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionQuota_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property schema for external .Description Delete navigation property schema for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnectionschema #> function Remove-MgBetaExternalConnectionSchema { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionSchema_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnectionSchema_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property connections for external .Description Delete navigation property connections for external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetaexternalconnection #> function Remove-MgBetaExternalConnection { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnection_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaExternalConnection_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property acronyms for search .Description Delete navigation property acronyms for search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetasearchacronym #> function Remove-MgBetaSearchAcronym { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of acronym ${AcronymId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchAcronym_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchAcronym_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property bookmarks for search .Description Delete navigation property bookmarks for search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetasearchbookmark #> function Remove-MgBetaSearchBookmark { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of bookmark ${BookmarkId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchBookmark_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchBookmark_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Delete navigation property qnas for search .Description Delete navigation property qnas for search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .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 <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/remove-mgbetasearchqna #> function Remove-MgBetaSearchQna { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of qna ${QnaId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchQna_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Beta.Search.private\Remove-MgBetaSearchQna_DeleteViaIdentity'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property members in external .Description Update the navigation property members in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsIdentity>: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectiongroupmember #> function Update-MgBetaExternalConnectionGroupMember { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of identity ${IdentityId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity] # identity # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # identityType ${Type}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroupMember_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroupMember_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroupMember_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroupMember_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property groups in external .Description Update the navigation property groups in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalGroup>: externalGroup [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Description <String>]: The description of the external group. Optional. [DisplayName <String>]: The friendly name of the external group. Optional. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectiongroup #> function Update-MgBetaExternalConnectionGroup { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalGroup ${ExternalGroupId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalGroup] # externalGroup # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The description of the external group. # Optional. ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The friendly name of the external group. # Optional. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroup_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroup_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroup_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionGroup_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property activities in external .Description Update the navigation property activities in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalActivity>: externalActivity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [PerformedBy <IMicrosoftGraphExternalConnectorsIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType [StartDateTime <DateTime?>]: When the particular activity occurred. [Type <String>]: externalActivityType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna PERFORMEDBY <IMicrosoftGraphExternalConnectorsIdentity>: identity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Type <String>]: identityType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectionitemactivity #> function Update-MgBetaExternalConnectionItemActivity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalActivity ${ExternalActivityId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalActivity] # externalActivity # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsIdentity] # identity # To construct, see NOTES section for PERFORMEDBY properties and create a hash table. ${PerformedBy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # When the particular activity occurred. ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # externalActivityType ${Type}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItemActivity_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItemActivity_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItemActivity_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItemActivity_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property items in external .Description Update the navigation property items in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem .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. ACL <IMicrosoftGraphExternalConnectorsAcl[]>: An array of access control entries. Each entry specifies the access granted to a user or group. Required. [AccessType <String>]: accessType [IdentitySource <String>]: identitySourceType [Type <String>]: aclType [Value <String>]: The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalItem>: externalItem [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Acl <IMicrosoftGraphExternalConnectorsAcl[]>]: An array of access control entries. Each entry specifies the access granted to a user or group. Required. [AccessType <String>]: accessType [IdentitySource <String>]: identitySourceType [Type <String>]: aclType [Value <String>]: The unique identifer of the identity. In case of Azure Active Directory identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. In case of external groups value is set to the ID of the externalGroup. [Content <IMicrosoftGraphExternalConnectorsExternalItemContent>]: externalItemContent [(Any) <Object>]: This indicates any property can be added to this object. [Type <String>]: externalItemContentType [Value <String>]: The content for the externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperties>]: properties [(Any) <Object>]: This indicates any property can be added to this object. CONTENT <IMicrosoftGraphExternalConnectorsExternalItemContent>: externalItemContent [(Any) <Object>]: This indicates any property can be added to this object. [Type <String>]: externalItemContentType [Value <String>]: The content for the externalItem. Required. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectionitem #> function Update-MgBetaExternalConnectionItem { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalItem ${ExternalItemId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItem] # externalItem # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsAcl[]] # An array of access control entries. # Each entry specifies the access granted to a user or group. # Required. # To construct, see NOTES section for ACL properties and create a hash table. ${Acl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalItemContent] # externalItemContent # To construct, see NOTES section for CONTENT properties and create a hash table. ${Content}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Runtime.Info(PossibleTypes=([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsProperties]))] [System.Collections.Hashtable] # properties ${Properties}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItem_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItem_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItem_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionItem_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property operations in external .Description Update the navigation property operations in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsConnectionOperation>: connectionOperation [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [Error <IMicrosoftGraphPublicError>]: publicError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: Represents the error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error. [Code <String>]: The error code. [Message <String>]: The error message. [Target <String>]: The target of the error. [InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: The error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details. [Message <String>]: The error message. [Target <String>]: The target of the error. [Message <String>]: A non-localized message for the developer. [Target <String>]: The target of the error. [Status <String>]: connectionOperationStatus ERROR <IMicrosoftGraphPublicError>: publicError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: Represents the error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: Details of the error. [Code <String>]: The error code. [Message <String>]: The error message. [Target <String>]: The target of the error. [InnerError <IMicrosoftGraphPublicInnerError>]: publicInnerError [(Any) <Object>]: This indicates any property can be added to this object. [Code <String>]: The error code. [Details <IMicrosoftGraphPublicErrorDetail[]>]: A collection of error details. [Message <String>]: The error message. [Target <String>]: The target of the error. [Message <String>]: A non-localized message for the developer. [Target <String>]: The target of the error. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectionoperation #> function Update-MgBetaExternalConnectionOperation { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of connectionOperation ${ConnectionOperationId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionOperation] # connectionOperation # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphPublicError] # publicError # To construct, see NOTES section for ERROR properties and create a hash table. ${Error}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # connectionOperationStatus ${Status}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionOperation_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionOperation_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionOperation_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionOperation_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property quota in external .Description Update the navigation property quota in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsConnectionQuota>: connectionQuota [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectionquota #> function Update-MgBetaExternalConnectionQuota { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota] # connectionQuota # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Int64] # The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. # The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). # If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. ${ItemsRemaining}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionQuota_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionQuota_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionQuota_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionQuota_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the properties of a schema for an externalConnection. .Description Update the properties of a schema for an externalConnection. .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsSchema>: schema [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [BaseType <String>]: Must be set to microsoft.graph.externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna PROPERTIES <IMicrosoftGraphExternalConnectorsProperty[]>: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnectionschema #> function Update-MgBetaExternalConnectionSchema { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema] # schema # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Must be set to microsoft.graph.externalItem. # Required. ${BaseType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsProperty[]] # The properties defined for the items in the connection. # The minimum number of properties is one, the maximum is 128. # To construct, see NOTES section for PROPERTIES properties and create a hash table. ${Properties}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionSchema_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionSchema_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionSchema_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnectionSchema_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property connections in external .Description Update the navigation property connections in external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .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. ACTIVITYSETTINGS <IMicrosoftGraphExternalConnectorsActivitySettings>: activitySettings [(Any) <Object>]: This indicates any property can be added to this object. [UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL. [Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternalConnection>: externalConnection [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ActivitySettings <IMicrosoftGraphExternalConnectorsActivitySettings>]: activitySettings [(Any) <Object>]: This indicates any property can be added to this object. [UrlToItemResolvers <IMicrosoftGraphExternalConnectorsUrlToItemResolverBase[]>]: Specifies configurations to identify an externalItem based on a shared URL. [Priority <Int32?>]: The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated. [ComplianceSettings <IMicrosoftGraphExternalConnectorsComplianceSettings>]: complianceSettings [(Any) <Object>]: This indicates any property can be added to this object. [EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator [Configuration <IMicrosoftGraphExternalConnectorsConfiguration>]: configuration [(Any) <Object>]: This indicates any property can be added to this object. [AuthorizedAppIds <String[]>]: A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. [ConnectorId <String>]: The Teams App ID. Optional. [Description <String>]: Description of the connection displayed in the Microsoft 365 admin center. Optional. [EnabledContentExperiences <String>]: contentExperienceType [IngestedItemsCount <Int64?>]: The number of items ingested into a connection. This value is refreshed every 15 minutes. If the connection state is draft, then ingestedItemsCount will be null. [Name <String>]: The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required. [Quota <IMicrosoftGraphExternalConnectorsConnectionQuota>]: connectionQuota [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. [Schema <IMicrosoftGraphExternalConnectorsSchema>]: schema [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [BaseType <String>]: Must be set to microsoft.graph.externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType [SearchSettings <IMicrosoftGraphExternalConnectorsSearchSettings>]: searchSettings [(Any) <Object>]: This indicates any property can be added to this object. [SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. [State <String>]: connectionState COMPLIANCESETTINGS <IMicrosoftGraphExternalConnectorsComplianceSettings>: complianceSettings [(Any) <Object>]: This indicates any property can be added to this object. [EDiscoveryResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of two eDiscovery result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator CONFIGURATION <IMicrosoftGraphExternalConnectorsConfiguration>: configuration [(Any) <Object>]: This indicates any property can be added to this object. [AuthorizedAppIds <String[]>]: A collection of application IDs for registered Azure Active Directory apps that are allowed to manage the externalConnection and to index content in the externalConnection. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna QUOTA <IMicrosoftGraphExternalConnectorsConnectionQuota>: connectionQuota [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [ItemsRemaining <Int64?>]: The minimum of two values, one representing the items remaining in the connection and the other remaining items at tenant-level. The following equation represents the formula used to calculate the minimum number: min ({max capacity in the connection} – {number of items in the connection}, {tenant quota} – {number of items indexed in all connections}). If the connection is not monetized, such as in a preview connector or preview content experience, then this property is simply the number of remaining items in the connection. SCHEMA <IMicrosoftGraphExternalConnectorsSchema>: schema [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. [BaseType <String>]: Must be set to microsoft.graph.externalItem. Required. [Properties <IMicrosoftGraphExternalConnectorsProperty[]>]: The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128. [Aliases <String[]>]: A set of aliases or a friendly names for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string might not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional. [IsExactMatchRequired <Boolean?>]: Specifies if the property will be matched exactly for queries. Exact matching can only be set to true for non-searchable properties of type string or stringCollection. Optional. [IsQueryable <Boolean?>]: Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional. [IsRefinable <Boolean?>]: Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional. [IsRetrievable <Boolean?>]: Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional. [IsSearchable <Boolean?>]: Specifies if the property is searchable. Only properties of type string or stringCollection can be searchable. Non-searchable properties are not added to the search index. Optional. [Labels <String[]>]: Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (e.g. better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl, containerName, containerUrl. Note that you must use the Prefer: include-unknown-enum-members request header to get the following values in this evolvable enum: iconUrl, containerName, containerUrl. [Name <String>]: The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, the property name may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required. [Type <String>]: propertyType SEARCHSETTINGS <IMicrosoftGraphExternalConnectorsSearchSettings>: searchSettings [(Any) <Object>]: This indicates any property can be added to this object. [SearchResultTemplates <IMicrosoftGraphExternalConnectorsDisplayTemplate[]>]: Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection. [Id <String>]: The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed. [Layout <IMicrosoftGraphJson>]: Json [(Any) <Object>]: This indicates any property can be added to this object. [Priority <Int32?>]: Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value. [Rules <IMicrosoftGraphExternalConnectorsPropertyRule[]>]: Specifies additional rules for selecting this display template based on the item schema. Optional. [Operation <String>]: ruleOperation [Property <String>]: The property from the externalItem schema. Required. [Values <String[]>]: A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. [ValuesJoinedBy <String>]: binaryOperator .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternalconnection #> function Update-MgBetaExternalConnection { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of externalConnection ${ExternalConnectionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection] # externalConnection # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsActivitySettings] # activitySettings # To construct, see NOTES section for ACTIVITYSETTINGS properties and create a hash table. ${ActivitySettings}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsComplianceSettings] # complianceSettings # To construct, see NOTES section for COMPLIANCESETTINGS properties and create a hash table. ${ComplianceSettings}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConfiguration] # configuration # To construct, see NOTES section for CONFIGURATION properties and create a hash table. ${Configuration}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The Teams App ID. # Optional. ${ConnectorId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Description of the connection displayed in the Microsoft 365 admin center. # Optional. ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # contentExperienceType ${EnabledContentExperiences}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Int64] # The number of items ingested into a connection. # This value is refreshed every 15 minutes. # If the connection state is draft, then ingestedItemsCount will be null. ${IngestedItemsCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The display name of the connection to be displayed in the Microsoft 365 admin center. # Maximum length of 128 characters. # Required. ${Name}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsConnectionQuota] # connectionQuota # To construct, see NOTES section for QUOTA properties and create a hash table. ${Quota}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSchema] # schema # To construct, see NOTES section for SCHEMA properties and create a hash table. ${Schema}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsSearchSettings] # searchSettings # To construct, see NOTES section for SEARCHSETTINGS properties and create a hash table. ${SearchSettings}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # connectionState ${State}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnection_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnection_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnection_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternalConnection_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update external .Description Update external .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternal .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphExternalConnectorsExternal>: external [(Any) <Object>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetaexternal #> function Update-MgBetaExternal { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternalConnection])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphExternalConnectorsExternal] # external # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternal_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaExternal_UpdateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property acronyms in search .Description Update the navigation property acronyms in search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchAcronym>: acronym [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [StandsFor <String>]: What the acronym stands for. [State <String>]: answerState INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetasearchacronym #> function Update-MgBetaSearchAcronym { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of acronym ${AcronymId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAcronym] # acronym # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # What the acronym stands for. ${StandsFor}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchAcronym_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchAcronym_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchAcronym_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchAcronym_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property bookmarks in search .Description Update the navigation property bookmarks in search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchBookmark>: bookmark [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [AvailabilityEndDateTime <DateTime?>]: Timestamp of when the bookmark will stop to appear as a search result. Set as null for always available. [AvailabilityStartDateTime <DateTime?>]: Timestamp of when the bookmark will start to appear as a search result. Set as null for always available. [Categories <String[]>]: Categories commonly used to describe this bookmark. For example, IT and HR. [GroupIds <String[]>]: List of security groups able to view this bookmark. [IsSuggested <Boolean?>]: True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. [Keywords <IMicrosoftGraphSearchAnswerKeyword>]: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. [LanguageTags <String[]>]: A list of language names that are geographically specific and that this bookmark can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. See supported language tags for the list of possible values. [Platforms <DevicePlatformType[]>]: List of devices and operating systems able to view this bookmark. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. [PowerAppIds <String[]>]: List of Power Apps associated with this bookmark. If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. [State <String>]: answerState [TargetedVariations <IMicrosoftGraphSearchAnswerVariant[]>]: Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna KEYWORDS <IMicrosoftGraphSearchAnswerKeyword>: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity TARGETEDVARIATIONS <IMicrosoftGraphSearchAnswerVariant[]>: Variations of a bookmark for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetasearchbookmark #> function Update-MgBetaSearchBookmark { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of bookmark ${BookmarkId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchBookmark] # bookmark # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the bookmark will stop to appear as a search result. # Set as null for always available. ${AvailabilityEndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the bookmark will start to appear as a search result. # Set as null for always available. ${AvailabilityStartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # Categories commonly used to describe this bookmark. # For example, IT and HR. ${Categories}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of security groups able to view this bookmark. ${GroupIds}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # True if this bookmark was suggested to the admin by a user or was mined and suggested by Microsoft. # Read-only. ${IsSuggested}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerKeyword] # answerKeyword # To construct, see NOTES section for KEYWORDS properties and create a hash table. ${Keywords}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # A list of language names that are geographically specific and that this bookmark can be viewed in. # Each language tag value follows the pattern {language}-{region}. # As an example, en-us is English as used in the United States. # See supported language tags for the list of possible values. ${LanguageTags}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [ArgumentCompleter([Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType])] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType[]] # List of devices and operating systems able to view this bookmark. # Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. ${Platforms}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of Power Apps associated with this bookmark. # If users add existing Power Apps to a bookmark, they can complete tasks, such as to enter vacation time or to report expenses on the search results page. ${PowerAppIds}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerVariant[]] # Variations of a bookmark for different countries or devices. # Use when you need to show different content to users based on their device, country/region, or both. # The date and group settings will apply to all variations. # To construct, see NOTES section for TARGETEDVARIATIONS properties and create a hash table. ${TargetedVariations}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchBookmark_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchBookmark_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchBookmark_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchBookmark_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update search .Description Update search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchEntity>: searchEntity [(Any) <Object>]: This indicates any property can be added to this object. [Id <String>]: The unique identifier for an entity. Read-only. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetasearchentity #> function Update-MgBetaSearchEntity { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchEntity] # searchEntity # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchEntity_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchEntity_UpdateExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 } } } <# .Synopsis Update the navigation property qnas in search .Description Update the navigation property qnas in search .Example {{ Add code here }} .Example {{ Add code here }} .Inputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna .Inputs Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity .Outputs Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphSearchQna>: qna [(Any) <Object>]: This indicates any property can be added to this object. [Description <String>]: Search answer description shown on search results page. [DisplayName <String>]: Search answer name displayed in search results. [LastModifiedBy <IMicrosoftGraphSearchIdentitySet>]: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity [LastModifiedDateTime <DateTime?>]: Timestamp of when the search answer is created or edited. Read-only. [WebUrl <String>]: Search answer URL link. When users click this search answer in search results, they will go to this URL. [Id <String>]: The unique identifier for an entity. Read-only. [AvailabilityEndDateTime <DateTime?>]: Timestamp of when the qna will stop to appear as a search result. Set as null for always available. [AvailabilityStartDateTime <DateTime?>]: Timestamp of when the qna will start to appear as a search result. Set as null for always available. [GroupIds <String[]>]: List of security groups able to view this qna. [IsSuggested <Boolean?>]: True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. Read-only. [Keywords <IMicrosoftGraphSearchAnswerKeyword>]: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. [LanguageTags <String[]>]: A list of language names that are geographically specific and that this QnA can be viewed in. Each language tag value follows the pattern {language}-{region}. As an example, en-us is English as used in the United States. For the list of possible values, see supported language tags. [Platforms <DevicePlatformType[]>]: List of devices and operating systems able to view this qna. Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. [State <String>]: answerState [TargetedVariations <IMicrosoftGraphSearchAnswerVariant[]>]: Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. INPUTOBJECT <ISearchIdentity>: Identity Parameter [AcronymId <String>]: key: id of acronym [BookmarkId <String>]: key: id of bookmark [ConnectionOperationId <String>]: key: id of connectionOperation [ExternalActivityId <String>]: key: id of externalActivity [ExternalConnectionId <String>]: key: id of externalConnection [ExternalGroupId <String>]: key: id of externalGroup [ExternalItemId <String>]: key: id of externalItem [IdentityId <String>]: key: id of identity [QnaId <String>]: key: id of qna KEYWORDS <IMicrosoftGraphSearchAnswerKeyword>: answerKeyword [(Any) <Object>]: This indicates any property can be added to this object. [Keywords <String[]>]: A collection of keywords used to trigger the search answer. [MatchSimilarKeywords <Boolean?>]: If true, indicates that the search term contains similar words to the keywords that should trigger the search answer. [ReservedKeywords <String[]>]: Unique keywords that will guarantee the search answer is triggered. LASTMODIFIEDBY <IMicrosoftGraphSearchIdentitySet>: identitySet [(Any) <Object>]: This indicates any property can be added to this object. [Application <IMicrosoftGraphSearchIdentity>]: identity [(Any) <Object>]: This indicates any property can be added to this object. [DisplayName <String>]: [Id <String>]: [Device <IMicrosoftGraphSearchIdentity>]: identity [User <IMicrosoftGraphSearchIdentity>]: identity TARGETEDVARIATIONS <IMicrosoftGraphSearchAnswerVariant[]>: Variations of a qna for different countries or devices. Use when you need to show different content to users based on their device, country/region, or both. The date and group settings will apply to all variations. [Description <String>]: Answer variation description shown on search results page. [DisplayName <String>]: Answer variation name displayed in search results. [LanguageTag <String>]: [Platform <DevicePlatformType?>]: Supported platform types. [WebUrl <String>]: Answer variation URL link. When users click this answer variation in search results, they will go to this URL. .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.beta.search/update-mgbetasearchqna #> function Update-MgBetaSearchQna { [OutputType([Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [System.String] # key: id of qna ${QnaId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Path')] [Microsoft.Graph.Beta.PowerShell.Models.ISearchIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchQna] # qna # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Collections.Hashtable] # Additional Parameters ${AdditionalProperties}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the qna will stop to appear as a search result. # Set as null for always available. ${AvailabilityEndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the qna will start to appear as a search result. # Set as null for always available. ${AvailabilityStartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer description shown on search results page. ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer name displayed in search results. ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # List of security groups able to view this qna. ${GroupIds}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # The unique identifier for an entity. # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # True if this qna was suggested to the admin by a user or was mined and suggested by Microsoft. # Read-only. ${IsSuggested}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerKeyword] # answerKeyword # To construct, see NOTES section for KEYWORDS properties and create a hash table. ${Keywords}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String[]] # A list of language names that are geographically specific and that this QnA can be viewed in. # Each language tag value follows the pattern {language}-{region}. # As an example, en-us is English as used in the United States. # For the list of possible values, see supported language tags. ${LanguageTags}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchIdentitySet] # identitySet # To construct, see NOTES section for LASTMODIFIEDBY properties and create a hash table. ${LastModifiedBy}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.DateTime] # Timestamp of when the search answer is created or edited. # Read-only. ${LastModifiedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [ArgumentCompleter([Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType])] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Support.DevicePlatformType[]] # List of devices and operating systems able to view this qna. # Possible values are: unknown, android, androidForWork, ios, macOS, windowsPhone81, windowsPhone81AndLater, windows10AndLater, androidWorkProfile, androidASOP. ${Platforms}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # answerState ${State}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [Microsoft.Graph.Beta.PowerShell.Models.IMicrosoftGraphSearchAnswerVariant[]] # Variations of a qna for different countries or devices. # Use when you need to show different content to users based on their device, country/region, or both. # The date and group settings will apply to all variations. # To construct, see NOTES section for TARGETEDVARIATIONS properties and create a hash table. ${TargetedVariations}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.Beta.PowerShell.Category('Body')] [System.String] # Search answer URL link. # When users click this search answer in search results, they will go to this URL. ${WebUrl}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [Microsoft.Graph.Beta.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.Beta.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchQna_Update'; UpdateExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchQna_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchQna_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Beta.Search.private\Update-MgBetaSearchQna_UpdateViaIdentityExpanded'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Graph.Beta.PowerShell.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $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 # MIInkwYJKoZIhvcNAQcCoIInhDCCJ4ACAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCA2aoihgQluQJlv # /1MwjBix0ZEwupAs2lyRkRwazKFJh6CCDXYwggX0MIID3KADAgECAhMzAAACy7d1 # OfsCcUI2AAAAAALLMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjIwNTEyMjA0NTU5WhcNMjMwNTExMjA0NTU5WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQC3sN0WcdGpGXPZIb5iNfFB0xZ8rnJvYnxD6Uf2BHXglpbTEfoe+mO//oLWkRxA # wppditsSVOD0oglKbtnh9Wp2DARLcxbGaW4YanOWSB1LyLRpHnnQ5POlh2U5trg4 # 3gQjvlNZlQB3lL+zrPtbNvMA7E0Wkmo+Z6YFnsf7aek+KGzaGboAeFO4uKZjQXY5 # RmMzE70Bwaz7hvA05jDURdRKH0i/1yK96TDuP7JyRFLOvA3UXNWz00R9w7ppMDcN # lXtrmbPigv3xE9FfpfmJRtiOZQKd73K72Wujmj6/Su3+DBTpOq7NgdntW2lJfX3X # a6oe4F9Pk9xRhkwHsk7Ju9E/AgMBAAGjggFzMIIBbzAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUrg/nt/gj+BBLd1jZWYhok7v5/w4w # RQYDVR0RBD4wPKQ6MDgxHjAcBgNVBAsTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEW # MBQGA1UEBRMNMjMwMDEyKzQ3MDUyODAfBgNVHSMEGDAWgBRIbmTlUAXTgqoXNzci # tW2oynUClTBUBgNVHR8ETTBLMEmgR6BFhkNodHRwOi8vd3d3Lm1pY3Jvc29mdC5j # b20vcGtpb3BzL2NybC9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3JsMGEG # CCsGAQUFBwEBBFUwUzBRBggrBgEFBQcwAoZFaHR0cDovL3d3dy5taWNyb3NvZnQu # Y29tL3BraW9wcy9jZXJ0cy9NaWNDb2RTaWdQQ0EyMDExXzIwMTEtMDctMDguY3J0 # MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggIBAJL5t6pVjIRlQ8j4dAFJ # ZnMke3rRHeQDOPFxswM47HRvgQa2E1jea2aYiMk1WmdqWnYw1bal4IzRlSVf4czf # zx2vjOIOiaGllW2ByHkfKApngOzJmAQ8F15xSHPRvNMmvpC3PFLvKMf3y5SyPJxh # 922TTq0q5epJv1SgZDWlUlHL/Ex1nX8kzBRhHvc6D6F5la+oAO4A3o/ZC05OOgm4 # EJxZP9MqUi5iid2dw4Jg/HvtDpCcLj1GLIhCDaebKegajCJlMhhxnDXrGFLJfX8j # 7k7LUvrZDsQniJZ3D66K+3SZTLhvwK7dMGVFuUUJUfDifrlCTjKG9mxsPDllfyck # 4zGnRZv8Jw9RgE1zAghnU14L0vVUNOzi/4bE7wIsiRyIcCcVoXRneBA3n/frLXvd # jDsbb2lpGu78+s1zbO5N0bhHWq4j5WMutrspBxEhqG2PSBjC5Ypi+jhtfu3+x76N # mBvsyKuxx9+Hm/ALnlzKxr4KyMR3/z4IRMzA1QyppNk65Ui+jB14g+w4vole33M1 # pVqVckrmSebUkmjnCshCiH12IFgHZF7gRwE4YZrJ7QjxZeoZqHaKsQLRMp653beB # fHfeva9zJPhBSdVcCW7x9q0c2HVPLJHX9YCUU714I+qtLpDGrdbZxD9mikPqL/To # /1lDZ0ch8FtePhME7houuoPcMIIHejCCBWKgAwIBAgIKYQ6Q0gAAAAAAAzANBgkq # hkiG9w0BAQsFADCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x # EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv # bjEyMDAGA1UEAxMpTWljcm9zb2Z0IFJvb3QgQ2VydGlmaWNhdGUgQXV0aG9yaXR5 # IDIwMTEwHhcNMTEwNzA4MjA1OTA5WhcNMjYwNzA4MjEwOTA5WjB+MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSgwJgYDVQQDEx9NaWNyb3NvZnQg # Q29kZSBTaWduaW5nIFBDQSAyMDExMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIIC # CgKCAgEAq/D6chAcLq3YbqqCEE00uvK2WCGfQhsqa+laUKq4BjgaBEm6f8MMHt03 # a8YS2AvwOMKZBrDIOdUBFDFC04kNeWSHfpRgJGyvnkmc6Whe0t+bU7IKLMOv2akr # rnoJr9eWWcpgGgXpZnboMlImEi/nqwhQz7NEt13YxC4Ddato88tt8zpcoRb0Rrrg # OGSsbmQ1eKagYw8t00CT+OPeBw3VXHmlSSnnDb6gE3e+lD3v++MrWhAfTVYoonpy # 4BI6t0le2O3tQ5GD2Xuye4Yb2T6xjF3oiU+EGvKhL1nkkDstrjNYxbc+/jLTswM9 # sbKvkjh+0p2ALPVOVpEhNSXDOW5kf1O6nA+tGSOEy/S6A4aN91/w0FK/jJSHvMAh # dCVfGCi2zCcoOCWYOUo2z3yxkq4cI6epZuxhH2rhKEmdX4jiJV3TIUs+UsS1Vz8k # A/DRelsv1SPjcF0PUUZ3s/gA4bysAoJf28AVs70b1FVL5zmhD+kjSbwYuER8ReTB # w3J64HLnJN+/RpnF78IcV9uDjexNSTCnq47f7Fufr/zdsGbiwZeBe+3W7UvnSSmn # Eyimp31ngOaKYnhfsi+E11ecXL93KCjx7W3DKI8sj0A3T8HhhUSJxAlMxdSlQy90 # lfdu+HggWCwTXWCVmj5PM4TasIgX3p5O9JawvEagbJjS4NaIjAsCAwEAAaOCAe0w # ggHpMBAGCSsGAQQBgjcVAQQDAgEAMB0GA1UdDgQWBBRIbmTlUAXTgqoXNzcitW2o # ynUClTAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYD # VR0TAQH/BAUwAwEB/zAfBgNVHSMEGDAWgBRyLToCMZBDuRQFTuHqp8cx0SOJNDBa # BgNVHR8EUzBRME+gTaBLhklodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny # bC9wcm9kdWN0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3JsMF4GCCsG # AQUFBwEBBFIwUDBOBggrBgEFBQcwAoZCaHR0cDovL3d3dy5taWNyb3NvZnQuY29t # L3BraS9jZXJ0cy9NaWNSb29DZXJBdXQyMDExXzIwMTFfMDNfMjIuY3J0MIGfBgNV # HSAEgZcwgZQwgZEGCSsGAQQBgjcuAzCBgzA/BggrBgEFBQcCARYzaHR0cDovL3d3 # dy5taWNyb3NvZnQuY29tL3BraW9wcy9kb2NzL3ByaW1hcnljcHMuaHRtMEAGCCsG # AQUFBwICMDQeMiAdAEwAZQBnAGEAbABfAHAAbwBsAGkAYwB5AF8AcwB0AGEAdABl # AG0AZQBuAHQALiAdMA0GCSqGSIb3DQEBCwUAA4ICAQBn8oalmOBUeRou09h0ZyKb # C5YR4WOSmUKWfdJ5DJDBZV8uLD74w3LRbYP+vj/oCso7v0epo/Np22O/IjWll11l # hJB9i0ZQVdgMknzSGksc8zxCi1LQsP1r4z4HLimb5j0bpdS1HXeUOeLpZMlEPXh6 # I/MTfaaQdION9MsmAkYqwooQu6SpBQyb7Wj6aC6VoCo/KmtYSWMfCWluWpiW5IP0 # wI/zRive/DvQvTXvbiWu5a8n7dDd8w6vmSiXmE0OPQvyCInWH8MyGOLwxS3OW560 # STkKxgrCxq2u5bLZ2xWIUUVYODJxJxp/sfQn+N4sOiBpmLJZiWhub6e3dMNABQam # ASooPoI/E01mC8CzTfXhj38cbxV9Rad25UAqZaPDXVJihsMdYzaXht/a8/jyFqGa # J+HNpZfQ7l1jQeNbB5yHPgZ3BtEGsXUfFL5hYbXw3MYbBL7fQccOKO7eZS/sl/ah # XJbYANahRr1Z85elCUtIEJmAH9AAKcWxm6U/RXceNcbSoqKfenoi+kiVH6v7RyOA # 9Z74v2u3S5fi63V4GuzqN5l5GEv/1rMjaHXmr/r8i+sLgOppO6/8MO0ETI7f33Vt # Y5E90Z1WTk+/gFcioXgRMiF670EKsT/7qMykXcGhiJtXcVZOSEXAQsmbdlsKgEhr # /Xmfwb1tbWrJUnMTDXpQzTGCGXMwghlvAgEBMIGVMH4xCzAJBgNVBAYTAlVTMRMw # EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN # aWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNp # Z25pbmcgUENBIDIwMTECEzMAAALLt3U5+wJxQjYAAAAAAsswDQYJYIZIAWUDBAIB # BQCgga4wGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGCNwIBCzEO # MAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIJwE5Tb+OZGTiqWAqL2FmnXJ # J5E7E3xwVe20hAImnlo1MEIGCisGAQQBgjcCAQwxNDAyoBSAEgBNAGkAYwByAG8A # cwBvAGYAdKEagBhodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEB # BQAEggEAETjkJbnG6gg62dtg0iMO/UtjCB63BPTG3S2RjGXtZ/Et8nXOddE/9cXM # v4MAGvooMi1iNdXqdriI3rMD9JkBmfmzDH6gYbUN+f4dk30RZUPUdAT0OB4SSu+5 # vpCYJceV8HurkXkUsAXyoWxKz+h/iraWFsamiDW2YodRCOEytG/1VIWwTBwOVkXw # AnANI5xuDn0n3BI60DVceLhv2AMOrsZwZt3P1pRqOi3i200PSwOXBPX/Wfn6LgPt # U6qEozyB2vBy88TqDU09wWVjA8kU3OMCAfelBQ7kdPdXaBCnUIzPZsKm6itaBaux # AIlS9ue7eWx8zf2Q6YqMZUNfeHmtPqGCFv0wghb5BgorBgEEAYI3AwMBMYIW6TCC # FuUGCSqGSIb3DQEHAqCCFtYwghbSAgEDMQ8wDQYJYIZIAWUDBAIBBQAwggFRBgsq # hkiG9w0BCRABBKCCAUAEggE8MIIBOAIBAQYKKwYBBAGEWQoDATAxMA0GCWCGSAFl # AwQCAQUABCBXyNf0vlpvRkcABNOD/ecExOhKT3ufF6CTiw3784pDcgIGY7/w6fsA # GBMyMDIzMDEyNDE1NDQwNS43OTRaMASAAgH0oIHQpIHNMIHKMQswCQYDVQQGEwJV # UzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UE # ChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1l # cmljYSBPcGVyYXRpb25zMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjoyMjY0LUUz # M0UtNzgwQzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaCC # EVQwggcMMIIE9KADAgECAhMzAAABwT6gg5zgCa/FAAEAAAHBMA0GCSqGSIb3DQEB # CwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH # EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNV # BAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMB4XDTIyMTEwNDE5MDEy # N1oXDTI0MDIwMjE5MDEyN1owgcoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo # aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y # cG9yYXRpb24xJTAjBgNVBAsTHE1pY3Jvc29mdCBBbWVyaWNhIE9wZXJhdGlvbnMx # JjAkBgNVBAsTHVRoYWxlcyBUU1MgRVNOOjIyNjQtRTMzRS03ODBDMSUwIwYDVQQD # ExxNaWNyb3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIICIjANBgkqhkiG9w0BAQEF # AAOCAg8AMIICCgKCAgEA5LHXMydw2hUC4pJU0I5uPJnMeRm8LKC4xaIDu3Fxx3Ip # Z/We2qXLj4NOmow/WPFeY4vaT4/S4T9xoDsFGg5wEJM6OLZVfa7BUNu0tDt4rkl7 # QBYNHzz6pcr9bwaq2qm7x6P9yi5W0Y8sjoj+QTgtmmXoxCoNXhJ1oG6GbqADQXDZ # kTcDjIAiteE6TxrhBpIb7e6upifTGZNfcChPfuzHq61FSIwJ0XCxcaR1BwAlSKhb # /NUOuQGPr9Zzd6OnIcA+RctxwKgfOKB9aWEEHlt0jhKKgpEBvcJnMMP+WaTwmMho # b1e+hoCEFx/nI0YHupi6082kFdNFraE72msOYQrwrUyWCeSmN202LZDpTzxZVty6 # QrBOk+f+BErsR+M5evkKuUTWVJHI3vtNgb6K5+gk6EuQw0ocsDdspiPp+qlxBaW5 # 0yUbr6wnfzYjJh7QkPcfBIZbJAhWQHaV0uS3T7OkObdCssCRMWH7VWUAeSbemuUq # OXCR7rdpFTfY/SXKO9lCIQBAQSh+wzwh5Zv1b+jT2zWwVl82By3YHmST8b8CKnRX # SCjLtgoyy7ERLwkbzPIkCfBXcyVneC1w2/wUnqPiAjK0wQfztfXFfoMQr8YUcLHn # Atek8OVNPuRIV6bcERbF6rtFXmnjjD4ZwVxIZ/HM4cjeVGsEwkFA9XTzqX9W1P8C # AwEAAaOCATYwggEyMB0GA1UdDgQWBBRfr2MJ6x7yE+gP5uX9xWGTwpRC+jAfBgNV # HSMEGDAWgBSfpxVdAF5iXYP05dJlpxtTNRnpcjBfBgNVHR8EWDBWMFSgUqBQhk5o # dHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NybC9NaWNyb3NvZnQlMjBU # aW1lLVN0YW1wJTIwUENBJTIwMjAxMCgxKS5jcmwwbAYIKwYBBQUHAQEEYDBeMFwG # CCsGAQUFBzAChlBodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRz # L01pY3Jvc29mdCUyMFRpbWUtU3RhbXAlMjBQQ0ElMjAyMDEwKDEpLmNydDAMBgNV # HRMBAf8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEBCwUAA4IC # AQBfuiaBgsecHvM90RZiTDlfHblL09r9X+5q9ckuMR0Bs1Sr5B2MALhT5Y0R3ggL # ufRX6RQQbSc7WxRXIMr5tFEgB5zy/7Yg81Cn2dhTf1GzjCb7/n3wtJSGtr2QwHsa # 1ehYWdMfi+ETLoEX1G79VPFrs0t6Giwpr74tv+CLE3s6m10VOwe80wP4yuT3eiFf # qRV8poUFSdL2wclgQKoSwbCpbJlNC/ESaDQbbQFli9uO5j2f/G7S4TMG/gyyxvMQ # 5QJui9Fw2s7qklmozQoX2Ah4aKubKe9/VZveiETNYl1AZPj0kj1g51VNyWjvHw+H # z1xZekWIpfMXQEi0wrGdWeiW4i8l92rY3ZbdHsErFYqzh6FRFOeXgazNsfkLmwy+ # TK17mA7CTEUzaAWMq5+f9K4Y/3mhB4r6UristkWpdkPWEo8b9tbkdKSY00E+FS5D # UtjgAdCaRBNaBu8cFYCbErh9roWDxc+Isv8yMQAUDuEwXSy0ExnIAlcVIrhzL40O # sG2ca5R5BgAevGP1Hj9ej4l/y+Sh0HVcN9N6LmPDmI/MaU2rEZ7Y+jRfCZ1d+l5D # ESdLXIxDTysYXkT+3VM/1zh6y2s0Zsb/3vPaGnp2zejwf2YlGWl1XpChNZTelF5e # OCCfSzUUn3qHe7IyyDKhahgbnKpmwcEkMVBs+RHbVkNWqDCCB3EwggVZoAMCAQIC # EzMAAAAVxedrngKbSZkAAAAAABUwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYT # AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD # VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBS # b290IENlcnRpZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTIxMDkzMDE4MjIyNVoX # DTMwMDkzMDE4MzIyNVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 # b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh # dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggIi # MA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQDk4aZM57RyIQt5osvXJHm9DtWC # 0/3unAcH0qlsTnXIyjVX9gF/bErg4r25PhdgM/9cT8dm95VTcVrifkpa/rg2Z4VG # Iwy1jRPPdzLAEBjoYH1qUoNEt6aORmsHFPPFdvWGUNzBRMhxXFExN6AKOG6N7dcP # 2CZTfDlhAnrEqv1yaa8dq6z2Nr41JmTamDu6GnszrYBbfowQHJ1S/rboYiXcag/P # XfT+jlPP1uyFVk3v3byNpOORj7I5LFGc6XBpDco2LXCOMcg1KL3jtIckw+DJj361 # VI/c+gVVmG1oO5pGve2krnopN6zL64NF50ZuyjLVwIYwXE8s4mKyzbnijYjklqwB # Sru+cakXW2dg3viSkR4dPf0gz3N9QZpGdc3EXzTdEonW/aUgfX782Z5F37ZyL9t9 # X4C626p+Nuw2TPYrbqgSUei/BQOj0XOmTTd0lBw0gg/wEPK3Rxjtp+iZfD9M269e # wvPV2HM9Q07BMzlMjgK8QmguEOqEUUbi0b1qGFphAXPKZ6Je1yh2AuIzGHLXpyDw # wvoSCtdjbwzJNmSLW6CmgyFdXzB0kZSU2LlQ+QuJYfM2BjUYhEfb3BvR/bLUHMVr # 9lxSUV0S2yW6r1AFemzFER1y7435UsSFF5PAPBXbGjfHCBUYP3irRbb1Hode2o+e # FnJpxq57t7c+auIurQIDAQABo4IB3TCCAdkwEgYJKwYBBAGCNxUBBAUCAwEAATAj # BgkrBgEEAYI3FQIEFgQUKqdS/mTEmr6CkTxGNSnPEP8vBO4wHQYDVR0OBBYEFJ+n # FV0AXmJdg/Tl0mWnG1M1GelyMFwGA1UdIARVMFMwUQYMKwYBBAGCN0yDfQEBMEEw # PwYIKwYBBQUHAgEWM2h0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9wa2lvcHMvRG9j # cy9SZXBvc2l0b3J5Lmh0bTATBgNVHSUEDDAKBggrBgEFBQcDCDAZBgkrBgEEAYI3 # FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAf # BgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBWBgNVHR8ETzBNMEugSaBH # hkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0cy9NaWNS # b29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUHAQEETjBMMEoGCCsGAQUF # BzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0Nl # ckF1dF8yMDEwLTA2LTIzLmNydDANBgkqhkiG9w0BAQsFAAOCAgEAnVV9/Cqt4Swf # ZwExJFvhnnJL/Klv6lwUtj5OR2R4sQaTlz0xM7U518JxNj/aZGx80HU5bbsPMeTC # j/ts0aGUGCLu6WZnOlNN3Zi6th542DYunKmCVgADsAW+iehp4LoJ7nvfam++Kctu # 2D9IdQHZGN5tggz1bSNU5HhTdSRXud2f8449xvNo32X2pFaq95W2KFUn0CS9QKC/ # GbYSEhFdPSfgQJY4rPf5KYnDvBewVIVCs/wMnosZiefwC2qBwoEZQhlSdYo2wh3D # YXMuLGt7bj8sCXgU6ZGyqVvfSaN0DLzskYDSPeZKPmY7T7uG+jIa2Zb0j/aRAfbO # xnT99kxybxCrdTDFNLB62FD+CljdQDzHVG2dY3RILLFORy3BFARxv2T5JL5zbcqO # Cb2zAVdJVGTZc9d/HltEAY5aGZFrDZ+kKNxnGSgkujhLmm77IVRrakURR6nxt67I # 6IleT53S0Ex2tVdUCbFpAUR+fKFhbHP+CrvsQWY9af3LwUFJfn6Tvsv4O+S3Fb+0 # zj6lMVGEvL8CwYKiexcdFYmNcP7ntdAoGokLjzbaukz5m/8K6TT4JDVnK+ANuOaM # mdbhIurwJ0I9JZTmdHRbatGePu1+oDEzfbzL6Xu/OHBE0ZDxyKs6ijoIYn/ZcGNT # TY3ugm2lBRDBcQZqELQdVTNYs6FwZvKhggLLMIICNAIBATCB+KGB0KSBzTCByjEL # MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v # bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWlj # cm9zb2Z0IEFtZXJpY2EgT3BlcmF0aW9uczEmMCQGA1UECxMdVGhhbGVzIFRTUyBF # U046MjI2NC1FMzNFLTc4MEMxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1w # IFNlcnZpY2WiIwoBATAHBgUrDgMCGgMVAESKOtSK7RVVK+Si+aqFd0YSY+VPoIGD # MIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV # BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG # A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwDQYJKoZIhvcNAQEF # BQACBQDnekEoMCIYDzIwMjMwMTI0MTkzNjA4WhgPMjAyMzAxMjUxOTM2MDhaMHQw # OgYKKwYBBAGEWQoEATEsMCowCgIFAOd6QSgCAQAwBwIBAAICJW8wBwIBAAICEaQw # CgIFAOd7kqgCAQAwNgYKKwYBBAGEWQoEAjEoMCYwDAYKKwYBBAGEWQoDAqAKMAgC # AQACAwehIKEKMAgCAQACAwGGoDANBgkqhkiG9w0BAQUFAAOBgQAN+YaeWTxyMmap # aILVYPb4eDZh4yxvulK0Lwb4nYqZTPdQIeoo8/vBrK71P4a1TjJer8aRscz6+UWg # eD+BvNQIZ9FDP1PSmpEfb4myiYFC4HkYjGKpe0nMO94O7IaGEhVSCnGxZfKFOAUJ # DwDNGXhCXiugXi0hl10HcXFQYldIvzGCBA0wggQJAgEBMIGTMHwxCzAJBgNVBAYT # AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD # VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBU # aW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABwT6gg5zgCa/FAAEAAAHBMA0GCWCGSAFl # AwQCAQUAoIIBSjAaBgkqhkiG9w0BCQMxDQYLKoZIhvcNAQkQAQQwLwYJKoZIhvcN # AQkEMSIEIB39DgKa2v/DQtxMFCc0I7ARL8YRmGPgA4Y1kQTfMzSCMIH6BgsqhkiG # 9w0BCRACLzGB6jCB5zCB5DCBvQQgCrkg6tgYHeSgIsN3opR2z7EExWA0YkirkvVY # STBgdtQwgZgwgYCkfjB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3Rv # bjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0 # aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAA # AcE+oIOc4AmvxQABAAABwTAiBCASqnvNI5M2ZCg4PB6MOE2wfbq08DVQpRvyy9io # ypaZIzANBgkqhkiG9w0BAQsFAASCAgA4liZuvLlnCKDyEwfDoxwFpRmAVir8X0IT # zY4ao/Q+5HZadzKoDnktIdO7bRZEtccPbhfk903xyCuWS6c3S/bwGVCoLrWB1Snw # wbNpDZA4vqUi8n61KaF0685HNHuaEwjASTub7abQOegTAb4Ww8NB0XbnNQ7rF4sk # /9SCiT531HtfgMGg76FrkdyJENHchh9TFqor4+Y6j0UGdlC2NvlAnnHI7Rmnxmh9 # C9TcseUp1ooZiQqJp/I/nOiiWcUf/ifrVg+bcnNtP1MzBb0SoF4//FM9utgw0xt6 # 48bx5ajeVIopP9EwGF9GveuuHXRv54oE+hUZnGheSAUb9YxQdqTLinxACQGf8Sak # RbA/GuB/O6f/E1FtGbAH/wmpmq+wtDfHbpH+yNXKgnk5K7av9XMZzba+b78V9nfj # MZvpv4xRFZxXMkiawZ7DwZ35vsx1MtJj2m53uTYKfdcJhoBqXZ4xnXq9Q4ZBAkPX # 7efhy1XypIsl2gj8lpVflIMr6ch8cNVAPF4rn0gVIsKQQanmZ1XejL+SbC91tVog # XDodfx1NZPPKe4blXaHlVb84dWSfbwuLt+UNZTBLTIesPPSA3GAk2LU2h9Qu7IQx # knq2PBFkIH7mQCKoSVF3n3012o5XfcnbZTfeT6RJbWn1SRezSisET+WKkzcrdMMB # HJJ3efRqPg== # SIG # End signature block |