exports/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action applyDecisions .Description Invoke action applyDecisions .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/add-mgaccessreviewdecision #> function Add-MgAccessReviewDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Apply', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Apply', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='ApplyViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Apply = 'Microsoft.Graph.Identity.AccessReview.private\Add-MgAccessReviewDecision_Apply'; ApplyViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Add-MgAccessReviewDecision_ApplyViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from accessReviewDecisions by key .Description Get entity from accessReviewDecisions by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreviewdecisionaccessreviewdecisionaccessreviewdecision #> function Get-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get decisions from accessReviews .Description Get decisions from accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreviewdecision #> function Get-MgAccessReviewDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecision_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecision_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewDecision_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get instances from accessReviews .Description Get instances from accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreviewinstance #> function Get-MgAccessReviewInstance { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId1}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewInstance_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewInstance_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewInstance_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get myDecisions from accessReviews .Description Get myDecisions from accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreviewmydecision #> function Get-MgAccessReviewMyDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewMyDecision_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewMyDecision_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewMyDecision_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get reviewers from accessReviews .Description Get reviewers from accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreviewreviewer #> function Get-MgAccessReviewReviewer { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewReviewer-id of accessReviewReviewer ${AccessReviewReviewerId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewReviewer_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewReviewer_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReviewReviewer_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from accessReviews by key .Description Get entity from accessReviews by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgaccessreview #> function Get-MgAccessReview { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReview_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReview_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgAccessReview_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from businessFlowTemplates by key .Description Get entity from businessFlowTemplates by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgbusinessflowtemplatebusinessflowtemplatebusinessflowtemplate #> function Get-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: businessFlowTemplate-id of businessFlowTemplate ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get program from programControls .Description Get program from programControls .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgprogramcontrolprogram #> function Get-MgProgramControlProgram { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControl-id of programControl ${ProgramControlId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControlProgram_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControlProgram_GetViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from programControlTypes by key .Description Get entity from programControlTypes by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgprogramcontroltypeprogramcontroltypeprogramcontroltype #> function Get-MgProgramControlTypeProgramControlTypeProgramControlType { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControlType-id of programControlType ${ProgramControlTypeId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControlTypeProgramControlTypeProgramControlType_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControlTypeProgramControlTypeProgramControlType_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControlTypeProgramControlTypeProgramControlType_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from programControls by key .Description Get entity from programControls by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgprogramcontrol #> function Get-MgProgramControl { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='Get1', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControl-id of programControl ${ProgramControlId}, [Parameter(ParameterSetName='Get1', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_Get'; Get1 = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_Get1'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_GetViaIdentity'; GetViaIdentity1 = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_GetViaIdentity1'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_List'; List1 = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgramControl_List1'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Get entity from programs by key .Description Get entity from programs by key .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/get-mgprogram #> function Get-MgProgram { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('Expand')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Expand related entities ${ExpandProperty}, [Parameter()] [Alias('Select')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Select properties to be returned ${Property}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Management.Automation.SwitchParameter] # Include count of items ${Count}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Filter items by property values ${Filter}, [Parameter(ParameterSetName='List')] [Alias('Top')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Show only the first n items ${PageSize}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String] # Search items by search phrases ${Search}, [Parameter(ParameterSetName='List')] [Microsoft.Graph.PowerShell.Category('Query')] [System.Int32] # Skip the first n items ${Skip}, [Parameter(ParameterSetName='List')] [Alias('OrderBy')] [Microsoft.Graph.PowerShell.Category('Query')] [System.String[]] # Order items by property values ${Sort}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgram_Get'; GetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgram_GetViaIdentity'; List = 'Microsoft.Graph.Identity.AccessReview.private\Get-MgProgram_List'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to accessReviewDecisions .Description Add new entity to accessReviewDecisions .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreviewdecisionaccessreviewdecisionaccessreviewdecision #> function New-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to decisions for accessReviews .Description Create new navigation property to decisions for accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreviewdecision #> function New-MgAccessReviewDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId1}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecision_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecision_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecision_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewDecision_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to instances for accessReviews .Description Create new navigation property to instances for accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .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 <IMicrosoftGraphAccessReview>: accessReview [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: DECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program INSTANCES <IMicrosoftGraphAccessReview[]>: . [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: MYDECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: REVIEWERS <IMicrosoftGraphAccessReviewReviewer[]>: . [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreviewinstance #> function New-MgAccessReviewInstance { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview] # accessReview # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AutoReviewSettingNotReviewedResult}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${CreatedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${CreatedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${CreatedById}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${CreatedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for DECISIONS properties and create a hash table. ${Decisions}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview[]] # . # To construct, see NOTES section for INSTANCES properties and create a hash table. ${Instances}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for MYDECISIONS properties and create a hash table. ${MyDecisions}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingDurationInDays}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingRecurrenceCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceEndType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ReviewedEntityDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedEntityId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewerType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer[]] # . # To construct, see NOTES section for REVIEWERS properties and create a hash table. ${Reviewers}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAccessRecommendationsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${SettingActivityDurationInDays}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoApplyReviewResultsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoReviewEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingJustificationRequiredOnApproval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingMailNotificationsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingRemindersEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewInstance_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewInstance_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewInstance_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewInstance_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to myDecisions for accessReviews .Description Create new navigation property to myDecisions for accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .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 <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreviewmydecision #> function New-MgAccessReviewMyDecision { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId1}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewMyDecision_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewMyDecision_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewMyDecision_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewMyDecision_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Create new navigation property to reviewers for accessReviews .Description Create new navigation property to reviewers for accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer .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 <IMicrosoftGraphAccessReviewReviewer>: accessReviewReviewer [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreviewreviewer #> function New-MgAccessReviewReviewer { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer] # accessReviewReviewer # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${UserPrincipalName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewReviewer_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewReviewer_CreateExpanded'; CreateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewReviewer_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReviewReviewer_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to accessReviews .Description Add new entity to accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .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 <IMicrosoftGraphAccessReview>: accessReview [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: DECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INSTANCES <IMicrosoftGraphAccessReview[]>: . [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: MYDECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: REVIEWERS <IMicrosoftGraphAccessReviewReviewer[]>: . [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgaccessreview #> function New-MgAccessReview { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview] # accessReview # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AutoReviewSettingNotReviewedResult}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${CreatedByDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${CreatedByIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${CreatedById}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${CreatedByUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for DECISIONS properties and create a hash table. ${Decisions}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${EndDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview[]] # . # To construct, see NOTES section for INSTANCES properties and create a hash table. ${Instances}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for MYDECISIONS properties and create a hash table. ${MyDecisions}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingDurationInDays}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingRecurrenceCount}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceEndType}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceType}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ReviewedEntityDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedEntityId}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewerType}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer[]] # . # To construct, see NOTES section for REVIEWERS properties and create a hash table. ${Reviewers}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAccessRecommendationsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${SettingActivityDurationInDays}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoApplyReviewResultsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoReviewEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingJustificationRequiredOnApproval}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingMailNotificationsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingRemindersEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${StartDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReview_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgAccessReview_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to businessFlowTemplates .Description Add new entity to businessFlowTemplates .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate .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 <IMicrosoftGraphBusinessFlowTemplate>: businessFlowTemplate [Id <String>]: Read-only. [DisplayName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgbusinessflowtemplatebusinessflowtemplatebusinessflowtemplate #> function New-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate] # businessFlowTemplate # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to programControlTypes .Description Add new entity to programControlTypes .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType .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 <IMicrosoftGraphProgramControlType>: programControlType [Id <String>]: Read-only. [ControlTypeGroupId <String>]: [DisplayName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgprogramcontroltypeprogramcontroltypeprogramcontroltype #> function New-MgProgramControlTypeProgramControlTypeProgramControlType { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType] # programControlType # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlTypeGroupId}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControlTypeProgramControlTypeProgramControlType_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControlTypeProgramControlTypeProgramControlType_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to programControls .Description Add new entity to programControls .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl .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 <IMicrosoftGraphProgramControl>: programControl [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program PROGRAMCONTROLS <IMicrosoftGraphProgramControl[]>: . [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgprogramcontrol #> function New-MgProgramControl { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create1', Mandatory)] [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='Create1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl] # programControl # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlTypeId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${CreatedDateTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${MicrosoftGraphEntityId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${OwnerDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${OwnerIPAddress}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${OwnerId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${OwnerUserPrincipalName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl[]] # . # To construct, see NOTES section for PROGRAMCONTROLS properties and create a hash table. ${ProgramControls}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramDescription}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ResourceDisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ResourceId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ResourceType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateExpanded1')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(ParameterSetName='CreateExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramId1}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_Create'; Create1 = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_Create1'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_CreateExpanded'; CreateExpanded1 = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_CreateExpanded1'; CreateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_CreateViaIdentity'; CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgramControl_CreateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Add new entity to programs .Description Add new entity to programs .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .Outputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .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 <IMicrosoftGraphProgram>: program [Id <String>]: Read-only. [Controls <IMicrosoftGraphProgramControl[]>]: [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: [Description <String>]: [DisplayName <String>]: CONTROLS <IMicrosoftGraphProgramControl[]>: . [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/new-mgprogram #> function New-MgProgram { [OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram] # program # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl[]] # . # To construct, see NOTES section for CONTROLS properties and create a hash table. ${Controls}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgram_Create'; CreateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\New-MgProgram_CreateExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from accessReviewDecisions .Description Delete entity from accessReviewDecisions .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgaccessreviewdecisionaccessreviewdecisionaccessreviewdecision #> function Remove-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from accessReviews .Description Delete entity from accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgaccessreview #> function Remove-MgAccessReview { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgAccessReview_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgAccessReview_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from businessFlowTemplates .Description Delete entity from businessFlowTemplates .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgbusinessflowtemplatebusinessflowtemplatebusinessflowtemplate #> function Remove-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: businessFlowTemplate-id of businessFlowTemplate ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from programControlTypes .Description Delete entity from programControlTypes .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgprogramcontroltypeprogramcontroltypeprogramcontroltype #> function Remove-MgProgramControlTypeProgramControlTypeProgramControlType { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControlType-id of programControlType ${ProgramControlTypeId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgramControlTypeProgramControlTypeProgramControlType_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgramControlTypeProgramControlTypeProgramControlType_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from programControls .Description Delete entity from programControls .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgprogramcontrol #> function Remove-MgProgramControl { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControl-id of programControl ${ProgramControlId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgramControl_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgramControl_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Delete entity from programs .Description Delete entity from programs .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/remove-mgprogram #> function Remove-MgProgram { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Header')] [System.String] # ETag ${IfMatch}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgram_Delete'; DeleteViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Remove-MgProgram_DeleteViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action resetDecisions .Description Invoke action resetDecisions .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/reset-mgaccessreviewdecision #> function Reset-MgAccessReviewDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Reset', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Reset', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='ResetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Reset = 'Microsoft.Graph.Identity.AccessReview.private\Reset-MgAccessReviewDecision_Reset'; ResetViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Reset-MgAccessReviewDecision_ResetViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action sendReminder .Description Invoke action sendReminder .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/send-mgaccessreviewreminder #> function Send-MgAccessReviewReminder { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Send', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Send', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='SendViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Send = 'Microsoft.Graph.Identity.AccessReview.private\Send-MgAccessReviewReminder_Send'; SendViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Send-MgAccessReviewReminder_SendViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Invoke action stop .Description Invoke action stop .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .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 <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/stop-mgaccessreview #> function Stop-MgAccessReview { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Stop = 'Microsoft.Graph.Identity.AccessReview.private\Stop-MgAccessReview_Stop'; StopViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Stop-MgAccessReview_StopViaIdentity'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in accessReviewDecisions .Description Update entity in accessReviewDecisions .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreviewdecisionaccessreviewdecisionaccessreviewdecision #> function Update-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecisionAccessReviewDecisionAccessReviewDecision_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property decisions in accessReviews .Description Update the navigation property decisions in accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreviewdecision #> function Update-MgAccessReviewDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId1}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecision_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecision_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecision_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewDecision_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property instances in accessReviews .Description Update the navigation property instances in accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReview>: accessReview [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: DECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program INSTANCES <IMicrosoftGraphAccessReview[]>: . [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: MYDECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: REVIEWERS <IMicrosoftGraphAccessReviewReviewer[]>: . [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreviewinstance #> function Update-MgAccessReviewInstance { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId1}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview] # accessReview # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AutoReviewSettingNotReviewedResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${CreatedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${CreatedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${CreatedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${CreatedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for DECISIONS properties and create a hash table. ${Decisions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview[]] # . # To construct, see NOTES section for INSTANCES properties and create a hash table. ${Instances}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for MYDECISIONS properties and create a hash table. ${MyDecisions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingDurationInDays}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingRecurrenceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceEndType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ReviewedEntityDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedEntityId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewerType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer[]] # . # To construct, see NOTES section for REVIEWERS properties and create a hash table. ${Reviewers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAccessRecommendationsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${SettingActivityDurationInDays}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoApplyReviewResultsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoReviewEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingJustificationRequiredOnApproval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingMailNotificationsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingRemindersEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewInstance_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewInstance_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewInstance_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewInstance_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property myDecisions in accessReviews .Description Update the navigation property myDecisions in accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReviewDecision>: accessReviewDecision [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreviewmydecision #> function Update-MgAccessReviewMyDecision { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewDecision-id of accessReviewDecision ${AccessReviewDecisionId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision] # accessReviewDecision # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessRecommendation}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AccessReviewId1}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${AppliedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${AppliedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${AppliedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${AppliedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${AppliedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ApplyResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Justification}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${ReviewedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${ReviewedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${ReviewedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${ReviewedDateTime}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewMyDecision_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewMyDecision_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewMyDecision_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewMyDecision_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property reviewers in accessReviews .Description Update the navigation property reviewers in accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReviewReviewer>: accessReviewReviewer [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreviewreviewer #> function Update-MgAccessReviewReviewer { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReviewReviewer-id of accessReviewReviewer ${AccessReviewReviewerId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer] # accessReviewReviewer # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${UserPrincipalName}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewReviewer_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewReviewer_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewReviewer_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReviewReviewer_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in accessReviews .Description Update entity in accessReviews .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphAccessReview>: accessReview [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: DECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program INSTANCES <IMicrosoftGraphAccessReview[]>: . [Id <String>]: Read-only. [AutoReviewSettingNotReviewedResult <String>]: [BusinessFlowTemplateId <String>]: [CreatedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [CreatedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [CreatedById <String>]: Unique identifier for the identity. [CreatedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [Decisions <IMicrosoftGraphAccessReviewDecision[]>]: [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: [Description <String>]: [DisplayName <String>]: [EndDateTime <DateTime?>]: [Instances <IMicrosoftGraphAccessReview[]>]: [MyDecisions <IMicrosoftGraphAccessReviewDecision[]>]: [RecurrenceSettingDurationInDays <Int32?>]: [RecurrenceSettingRecurrenceCount <Int32?>]: [RecurrenceSettingRecurrenceEndType <String>]: [RecurrenceSettingRecurrenceType <String>]: [ReviewedEntityDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ReviewedEntityId <String>]: Unique identifier for the identity. [ReviewerType <String>]: [Reviewers <IMicrosoftGraphAccessReviewReviewer[]>]: [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: [SettingAccessRecommendationsEnabled <Boolean?>]: [SettingActivityDurationInDays <Int32?>]: [SettingAutoApplyReviewResultsEnabled <Boolean?>]: [SettingAutoReviewEnabled <Boolean?>]: [SettingJustificationRequiredOnApproval <Boolean?>]: [SettingMailNotificationsEnabled <Boolean?>]: [SettingRemindersEnabled <Boolean?>]: [StartDateTime <DateTime?>]: [Status <String>]: MYDECISIONS <IMicrosoftGraphAccessReviewDecision[]>: . [Id <String>]: Read-only. [AccessRecommendation <String>]: [AccessReviewId <String>]: [AppliedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [AppliedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [AppliedById <String>]: Unique identifier for the identity. [AppliedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [AppliedDateTime <DateTime?>]: [ApplyResult <String>]: [Justification <String>]: [ReviewResult <String>]: [ReviewedByDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [ReviewedByIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [ReviewedById <String>]: Unique identifier for the identity. [ReviewedByUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ReviewedDateTime <DateTime?>]: REVIEWERS <IMicrosoftGraphAccessReviewReviewer[]>: . [Id <String>]: Read-only. [DisplayName <String>]: [UserPrincipalName <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgaccessreview #> function Update-MgAccessReview { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: accessReview-id of accessReview ${AccessReviewId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview] # accessReview # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${AutoReviewSettingNotReviewedResult}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${CreatedByDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${CreatedByIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${CreatedById}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${CreatedByUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for DECISIONS properties and create a hash table. ${Decisions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${EndDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReview[]] # . # To construct, see NOTES section for INSTANCES properties and create a hash table. ${Instances}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewDecision[]] # . # To construct, see NOTES section for MYDECISIONS properties and create a hash table. ${MyDecisions}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingDurationInDays}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${RecurrenceSettingRecurrenceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceEndType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${RecurrenceSettingRecurrenceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ReviewedEntityDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ReviewedEntityId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ReviewerType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphAccessReviewReviewer[]] # . # To construct, see NOTES section for REVIEWERS properties and create a hash table. ${Reviewers}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAccessRecommendationsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Int32] # . ${SettingActivityDurationInDays}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoApplyReviewResultsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingAutoReviewEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingJustificationRequiredOnApproval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingMailNotificationsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.Management.Automation.SwitchParameter] # . ${SettingRemindersEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${StartDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReview_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReview_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReview_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgAccessReview_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in businessFlowTemplates .Description Update entity in businessFlowTemplates .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphBusinessFlowTemplate>: businessFlowTemplate [Id <String>]: Read-only. [DisplayName <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgbusinessflowtemplatebusinessflowtemplatebusinessflowtemplate #> function Update-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: businessFlowTemplate-id of businessFlowTemplate ${BusinessFlowTemplateId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphBusinessFlowTemplate] # businessFlowTemplate # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgBusinessFlowTemplateBusinessFlowTemplateBusinessFlowTemplate_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update the navigation property program in programControls .Description Update the navigation property program in programControls .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProgram>: program [Id <String>]: Read-only. [Controls <IMicrosoftGraphProgramControl[]>]: [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: [Description <String>]: [DisplayName <String>]: CONTROLS <IMicrosoftGraphProgramControl[]>: . [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgprogramcontrolprogram #> function Update-MgProgramControlProgram { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControl-id of programControl ${ProgramControlId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram] # program # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl[]] # . # To construct, see NOTES section for CONTROLS properties and create a hash table. ${Controls}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlProgram_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlProgram_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlProgram_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlProgram_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in programControlTypes .Description Update entity in programControlTypes .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProgramControlType>: programControlType [Id <String>]: Read-only. [ControlTypeGroupId <String>]: [DisplayName <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgprogramcontroltypeprogramcontroltypeprogramcontroltype #> function Update-MgProgramControlTypeProgramControlTypeProgramControlType { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControlType-id of programControlType ${ProgramControlTypeId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControlType] # programControlType # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlTypeGroupId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlTypeProgramControlTypeProgramControlType_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlTypeProgramControlTypeProgramControlType_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlTypeProgramControlTypeProgramControlType_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControlTypeProgramControlTypeProgramControlType_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in programControls .Description Update entity in programControls .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProgramControl>: programControl [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program PROGRAMCONTROLS <IMicrosoftGraphProgramControl[]>: . [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgprogramcontrol #> function Update-MgProgramControl { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='Update1', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded1', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: programControl-id of programControl ${ProgramControlId}, [Parameter(ParameterSetName='Update1', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1', Mandatory)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='Update1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl] # programControl # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ControlTypeId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.DateTime] # . ${CreatedDateTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${MicrosoftGraphEntityId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up-to-date. ${OwnerDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Indicates the client IP address used by user performing the activity (audit log only). ${OwnerIPAddress}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${OwnerId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The userPrincipalName attribute of the user. ${OwnerUserPrincipalName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl[]] # . # To construct, see NOTES section for PROGRAMCONTROLS properties and create a hash table. ${ProgramControls}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramDescription}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # The identity's display name. # Note that this may not always be available or up to date. # For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. ${ResourceDisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Unique identifier for the identity. ${ResourceId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ResourceType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateExpanded1')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Status}, [Parameter(ParameterSetName='UpdateExpanded1')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${ProgramId1}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_Update'; Update1 = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_Update1'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateExpanded'; UpdateExpanded1 = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateExpanded1'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateViaIdentity'; UpdateViaIdentity1 = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateViaIdentity1'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateViaIdentityExpanded'; UpdateViaIdentityExpanded1 = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgramControl_UpdateViaIdentityExpanded1'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # ---------------------------------------------------------------------------------- # # Copyright Microsoft Corporation # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ---------------------------------------------------------------------------------- <# .Synopsis Update entity in programs .Description Update entity in programs .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity .Inputs Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram .Outputs System.Boolean .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. BODYPARAMETER <IMicrosoftGraphProgram>: program [Id <String>]: Read-only. [Controls <IMicrosoftGraphProgramControl[]>]: [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: [Description <String>]: [DisplayName <String>]: CONTROLS <IMicrosoftGraphProgramControl[]>: . [Id <String>]: Read-only. [ControlId <String>]: [ControlTypeId <String>]: [CreatedDateTime <DateTime?>]: [DisplayName <String>]: [MicrosoftGraphEntityId <String>]: Read-only. [OwnerDisplayName <String>]: The identity's display name. Note that this may not always be available or up-to-date. [OwnerIPAddress <String>]: Indicates the client IP address used by user performing the activity (audit log only). [OwnerId <String>]: Unique identifier for the identity. [OwnerUserPrincipalName <String>]: The userPrincipalName attribute of the user. [ProgramControls <IMicrosoftGraphProgramControl[]>]: [ProgramDescription <String>]: [ProgramDisplayName <String>]: [ProgramId <String>]: [ResourceDisplayName <String>]: The identity's display name. Note that this may not always be available or up to date. For example, if a user changes their display name, the API may show the new value in a future response, but the items associated with the user won't show up as having changed when using delta. [ResourceId <String>]: Unique identifier for the identity. [ResourceType <String>]: [Status <String>]: INPUTOBJECT <IIdentityAccessReviewIdentity>: Identity Parameter [AccessReviewDecisionId <String>]: key: accessReviewDecision-id of accessReviewDecision [AccessReviewId <String>]: key: accessReview-id of accessReview [AccessReviewId1 <String>]: key: accessReview-id of accessReview [AccessReviewReviewerId <String>]: key: accessReviewReviewer-id of accessReviewReviewer [BusinessFlowTemplateId <String>]: key: businessFlowTemplate-id of businessFlowTemplate [ProgramControlId <String>]: key: programControl-id of programControl [ProgramControlTypeId <String>]: key: programControlType-id of programControlType [ProgramId <String>]: key: program-id of program .Link https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.accessreview/update-mgprogram #> function Update-MgProgram { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Graph.PowerShell.Category('Path')] [System.String] # key: program-id of program ${ProgramId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Path')] [Microsoft.Graph.PowerShell.Models.IIdentityAccessReviewIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgram] # program # To construct, see NOTES section for BODYPARAMETER properties and create a hash table. ${BodyParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphProgramControl[]] # . # To construct, see NOTES section for CONTROLS properties and create a hash table. ${Controls}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${Description}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # . ${DisplayName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Graph.PowerShell.Category('Body')] [System.String] # Read-only. ${Id}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [Microsoft.Graph.PowerShell.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Graph.PowerShell.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgram_Update'; UpdateExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgram_UpdateExpanded'; UpdateViaIdentity = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgram_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.AccessReview.private\Update-MgProgram_UpdateViaIdentityExpanded'; } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjggYJKoZIhvcNAQcCoIIjczCCI28CAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBWhWXZgL7cXs4F # sMZZt4BzjCL+34eLR6EqUp7sZt1mxaCCDYEwggX/MIID56ADAgECAhMzAAABh3IX # chVZQMcJAAAAAAGHMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjAwMzA0MTgzOTQ3WhcNMjEwMzAzMTgzOTQ3WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDOt8kLc7P3T7MKIhouYHewMFmnq8Ayu7FOhZCQabVwBp2VS4WyB2Qe4TQBT8aB # znANDEPjHKNdPT8Xz5cNali6XHefS8i/WXtF0vSsP8NEv6mBHuA2p1fw2wB/F0dH # sJ3GfZ5c0sPJjklsiYqPw59xJ54kM91IOgiO2OUzjNAljPibjCWfH7UzQ1TPHc4d # weils8GEIrbBRb7IWwiObL12jWT4Yh71NQgvJ9Fn6+UhD9x2uk3dLj84vwt1NuFQ # itKJxIV0fVsRNR3abQVOLqpDugbr0SzNL6o8xzOHL5OXiGGwg6ekiXA1/2XXY7yV # Fc39tledDtZjSjNbex1zzwSXAgMBAAGjggF+MIIBejAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUhov4ZyO96axkJdMjpzu2zVXOJcsw # UAYDVR0RBEkwR6RFMEMxKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1 # ZXJ0byBSaWNvMRYwFAYDVQQFEw0yMzAwMTIrNDU4Mzg1MB8GA1UdIwQYMBaAFEhu # ZOVQBdOCqhc3NyK1bajKdQKVMFQGA1UdHwRNMEswSaBHoEWGQ2h0dHA6Ly93d3cu # bWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY0NvZFNpZ1BDQTIwMTFfMjAxMS0w # Ny0wOC5jcmwwYQYIKwYBBQUHAQEEVTBTMFEGCCsGAQUFBzAChkVodHRwOi8vd3d3 # Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRzL01pY0NvZFNpZ1BDQTIwMTFfMjAx # MS0wNy0wOC5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQsFAAOCAgEAixmy # S6E6vprWD9KFNIB9G5zyMuIjZAOuUJ1EK/Vlg6Fb3ZHXjjUwATKIcXbFuFC6Wr4K # NrU4DY/sBVqmab5AC/je3bpUpjtxpEyqUqtPc30wEg/rO9vmKmqKoLPT37svc2NV # BmGNl+85qO4fV/w7Cx7J0Bbqk19KcRNdjt6eKoTnTPHBHlVHQIHZpMxacbFOAkJr # qAVkYZdz7ikNXTxV+GRb36tC4ByMNxE2DF7vFdvaiZP0CVZ5ByJ2gAhXMdK9+usx # zVk913qKde1OAuWdv+rndqkAIm8fUlRnr4saSCg7cIbUwCCf116wUJ7EuJDg0vHe # yhnCeHnBbyH3RZkHEi2ofmfgnFISJZDdMAeVZGVOh20Jp50XBzqokpPzeZ6zc1/g # yILNyiVgE+RPkjnUQshd1f1PMgn3tns2Cz7bJiVUaqEO3n9qRFgy5JuLae6UweGf # AeOo3dgLZxikKzYs3hDMaEtJq8IP71cX7QXe6lnMmXU/Hdfz2p897Zd+kU+vZvKI # 3cwLfuVQgK2RZ2z+Kc3K3dRPz2rXycK5XCuRZmvGab/WbrZiC7wJQapgBodltMI5 # GMdFrBg9IeF7/rP4EqVQXeKtevTlZXjpuNhhjuR+2DMt/dWufjXpiW91bo3aH6Ea # jOALXmoxgltCp1K7hrS6gmsvj94cLRf50QQ4U8Qwggd6MIIFYqADAgECAgphDpDS # AAAAAAADMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMK # V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 # IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0 # ZSBBdXRob3JpdHkgMjAxMTAeFw0xMTA3MDgyMDU5MDlaFw0yNjA3MDgyMTA5MDla # MH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS # ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMT # H01pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTEwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQCr8PpyEBwurdhuqoIQTTS68rZYIZ9CGypr6VpQqrgG # OBoESbp/wwwe3TdrxhLYC/A4wpkGsMg51QEUMULTiQ15ZId+lGAkbK+eSZzpaF7S # 35tTsgosw6/ZqSuuegmv15ZZymAaBelmdugyUiYSL+erCFDPs0S3XdjELgN1q2jz # y23zOlyhFvRGuuA4ZKxuZDV4pqBjDy3TQJP4494HDdVceaVJKecNvqATd76UPe/7 # 4ytaEB9NViiienLgEjq3SV7Y7e1DkYPZe7J7hhvZPrGMXeiJT4Qa8qEvWeSQOy2u # M1jFtz7+MtOzAz2xsq+SOH7SnYAs9U5WkSE1JcM5bmR/U7qcD60ZI4TL9LoDho33 # X/DQUr+MlIe8wCF0JV8YKLbMJyg4JZg5SjbPfLGSrhwjp6lm7GEfauEoSZ1fiOIl # XdMhSz5SxLVXPyQD8NF6Wy/VI+NwXQ9RRnez+ADhvKwCgl/bwBWzvRvUVUvnOaEP # 6SNJvBi4RHxF5MHDcnrgcuck379GmcXvwhxX24ON7E1JMKerjt/sW5+v/N2wZuLB # l4F77dbtS+dJKacTKKanfWeA5opieF+yL4TXV5xcv3coKPHtbcMojyyPQDdPweGF # RInECUzF1KVDL3SV9274eCBYLBNdYJWaPk8zhNqwiBfenk70lrC8RqBsmNLg1oiM # CwIDAQABo4IB7TCCAekwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFEhuZOVQ # BdOCqhc3NyK1bajKdQKVMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1Ud # DwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFHItOgIxkEO5FAVO # 4eqnxzHRI4k0MFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwubWljcm9zb2Z0 # LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcmwwXgYIKwYBBQUHAQEEUjBQME4GCCsGAQUFBzAChkJodHRwOi8vd3d3Lm1p # Y3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcnQwgZ8GA1UdIASBlzCBlDCBkQYJKwYBBAGCNy4DMIGDMD8GCCsGAQUFBwIB # FjNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2RvY3MvcHJpbWFyeWNw # cy5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AcABvAGwAaQBjAHkA # XwBzAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAGfyhqWY # 4FR5Gi7T2HRnIpsLlhHhY5KZQpZ90nkMkMFlXy4sPvjDctFtg/6+P+gKyju/R6mj # 82nbY78iNaWXXWWEkH2LRlBV2AySfNIaSxzzPEKLUtCw/WvjPgcuKZvmPRul1LUd # d5Q54ulkyUQ9eHoj8xN9ppB0g430yyYCRirCihC7pKkFDJvtaPpoLpWgKj8qa1hJ # Yx8JaW5amJbkg/TAj/NGK978O9C9Ne9uJa7lryft0N3zDq+ZKJeYTQ49C/IIidYf # wzIY4vDFLc5bnrRJOQrGCsLGra7lstnbFYhRRVg4MnEnGn+x9Cf43iw6IGmYslmJ # aG5vp7d0w0AFBqYBKig+gj8TTWYLwLNN9eGPfxxvFX1Fp3blQCplo8NdUmKGwx1j # NpeG39rz+PIWoZon4c2ll9DuXWNB41sHnIc+BncG0QaxdR8UvmFhtfDcxhsEvt9B # xw4o7t5lL+yX9qFcltgA1qFGvVnzl6UJS0gQmYAf0AApxbGbpT9Fdx41xtKiop96 # eiL6SJUfq/tHI4D1nvi/a7dLl+LrdXga7Oo3mXkYS//WsyNodeav+vyL6wuA6mk7 # r/ww7QRMjt/fdW1jkT3RnVZOT7+AVyKheBEyIXrvQQqxP/uozKRdwaGIm1dxVk5I # RcBCyZt2WwqASGv9eZ/BvW1taslScxMNelDNMYIVVzCCFVMCAQEwgZUwfjELMAkG # A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx # HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9z # b2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMQITMwAAAYdyF3IVWUDHCQAAAAABhzAN # BglghkgBZQMEAgEFAKCBrjAZBgkqhkiG9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgor # BgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQgQmkKMM4f # GX2jhOt7e08lT9Qg8alsurnFSMpx1DwZcnEwQgYKKwYBBAGCNwIBDDE0MDKgFIAS # AE0AaQBjAHIAbwBzAG8AZgB0oRqAGGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbTAN # BgkqhkiG9w0BAQEFAASCAQBiDgvU079nvPen4uNwUeuVW9OmuJpFt7rlk07cy+D3 # yS5Je80zbIaI4ZWlF/KPjNIxV4n3S/GVUO14aHW1scH/GGjR6xhRnn6NsbIt+net # 3q29bXw3zpfunlV1/YMq0nk0IfBJEPRki76pKzXD2LdkHwu0Sktyce9xgHKQ/F9i # ibgYSzSBcR/2hQbuxp4v1MTHhFuHnUQbeszB0Q73KNblIVEy7nhUDpciBAPkAyG9 # jcr4xODprRQexogaB5GChPgR0UCMd8mXKBDoouboVWcI+xquiNhSE2d9euw7vnS9 # tN3qZFrbSG2vvFx/+cilp2cWLDACk/V8VdOH4DHF8EJFoYIS4TCCEt0GCisGAQQB # gjcDAwExghLNMIISyQYJKoZIhvcNAQcCoIISujCCErYCAQMxDzANBglghkgBZQME # AgEFADCCAVEGCyqGSIb3DQEJEAEEoIIBQASCATwwggE4AgEBBgorBgEEAYRZCgMB # MDEwDQYJYIZIAWUDBAIBBQAEIBI9EYytHBjytzN0TZ9iG0eO7SDL9SNuJDxP1HMG # fK6DAgZerEDKwnIYEzIwMjAwNTAxMjE0OTI3LjUxNVowBIACAfSggdCkgc0wgcox # CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJXQTEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMS0wKwYDVQQLEyRNaWNyb3NvZnQg # SXJlbGFuZCBPcGVyYXRpb25zIExpbWl0ZWQxJjAkBgNVBAsTHVRoYWxlcyBUU1Mg # RVNOOjhENDEtNEJGNy1CM0I3MSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFt # cCBTZXJ2aWNloIIOODCCBPEwggPZoAMCAQICEzMAAAEKUsg5AVLRcEsAAAAAAQow # DQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 # b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh # dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcN # MTkxMDIzMjMxOTE1WhcNMjEwMTIxMjMxOTE1WjCByjELMAkGA1UEBhMCVVMxCzAJ # BgNVBAgTAldBMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQg # Q29ycG9yYXRpb24xLTArBgNVBAsTJE1pY3Jvc29mdCBJcmVsYW5kIE9wZXJhdGlv # bnMgTGltaXRlZDEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046OEQ0MS00QkY3LUIz # QjcxJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEiMA0G # CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7PhutlKFwxZ+GePU/V0pMke215HSX # 8PcLX1hjYUbyCERBFs7/wEwrbwMIZdOo7NDqcIUhXXt3kxg1OqBJxuozVcCJ8JwR # y/VI79p1ZeLbSv3aMMxouOzoqaNL/Dmb8CT9UEcqq3PF18vMv1cZfk8ZphuVSGPM # 0eWsJvE1kfPXCJsYzsZturq0jEI6XBh9hpuKQq8KSXvoqCE37EZWrYWy3uhRJnsr # d4Tq2YgYsyWQ/aQF20db73ZWwItXG4TUly4IQ0pcQi9/UH3fsVu06q8/yNvc7MfI # cmnYOUPOyFMBh0EW519K/mg/xYgMhtmZlnzmvHnr5npzJTiwbBuhnwUnAgMBAAGj # ggEbMIIBFzAdBgNVHQ4EFgQU+ESUpf06TE1Q3pH4Oq0BopFxhSgwHwYDVR0jBBgw # FoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDov # L2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljVGltU3RhUENB # XzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0 # cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNUaW1TdGFQQ0FfMjAx # MC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDCDAN # BgkqhkiG9w0BAQsFAAOCAQEAVJeufNQV8t3TcyWq0Su3nVYZfdRcV6isTp0Zj5gj # BKZ8VEpE3AR7xyYu3QQ7F7PJNXr7991hPKs9w8O+BHeToXmwd4oTGiGOupyPEBrf # JVD1IllqRdlUrNodbNu8y4DyRybOPQn9jr+mTntoWyn+Sv6W7lo13DlXdaCK0lin # ATp+hlCwGtNM81GEhdUwec8STqzb7ucLpPL1ksgmFh4zKou6K0kYq8SJGEPw9jOQ # YmcuSOnrUgIOT/TRlVm++Vcuie2HfZmih5n3/7vrSj2DaVSEXyhoscIHWLzZ1QKF # d3Nm6VQTBDkJlaHxYiNBlJS6847W9XQV86p03BwPJe4V0jCCBnEwggRZoAMCAQIC # CmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRp # ZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIxMzY1NVoXDTI1MDcwMTIx # NDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV # BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG # A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggEiMA0GCSqGSIb3 # DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX9fp/aZRrdFQQ1aUKAIKF # ++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkTjnxhMFmxMEQP8WCIhFRD # DNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG8lhHhjKEHnRhZ5FfgVSx # z5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGKr0tkiVBisV39dx898Fd1 # rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6Kgox8NpOBpG2iAg16Hgc # sOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEFTyJNAgMBAAGjggHmMIIB # 4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6XIoxkPNDe3xGG8UzaFqF # bVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud # EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQwVgYD # VR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwv # cHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUFBwEB # BE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9j # ZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQwgaAGA1UdIAEB/wSBlTCB # kjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFodHRwOi8vd3d3Lm1pY3Jv # c29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRtMEAGCCsGAQUFBwICMDQe # MiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0AGEAdABlAG0AZQBuAHQA # LiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/gXEDPZ2joSFvs+umzPUx # vs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtUVwgrUYJEEvu5U4zM9GAS # inbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9Wj8c8pl5SpFSAK84Dxf1 # L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9BOFwnzJKJ/1Vry/+tuWO # M7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOdeyFtw5yjojz6f32WapB4 # pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1JeVk7Pf0v35jWSUPei45 # V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4TtxCd9ddJgiCGHasFAeb73x # 4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5u+zGy9iCtHLNHfS4hQEe # gPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9UJyH3yKxO2ii4sanblrKn # QqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Zta7cRDyXUHHXodLFVeNp # 3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa7wknHNWzfjUeCLraNtvT # X4/edIhJEqGCAsowggIzAgEBMIH4oYHQpIHNMIHKMQswCQYDVQQGEwJVUzELMAkG # A1UECBMCV0ExEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD # b3Jwb3JhdGlvbjEtMCsGA1UECxMkTWljcm9zb2Z0IElyZWxhbmQgT3BlcmF0aW9u # cyBMaW1pdGVkMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjo4RDQxLTRCRjctQjNC # NzElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIjCgEBMAcG # BSsOAwIaAxUAOb12pXHRf+5RrRVyRXbiGmhj3vmggYMwgYCkfjB8MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg # VGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOJWv0swIhgPMjAy # MDA1MDEyMzMxMjNaGA8yMDIwMDUwMjIzMzEyM1owczA5BgorBgEEAYRZCgQBMSsw # KTAKAgUA4la/SwIBADAGAgEAAgEDMAcCAQACAhG2MAoCBQDiWBDLAgEAMDYGCisG # AQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwKgCjAIAgEAAgMHoSChCjAIAgEAAgMB # hqAwDQYJKoZIhvcNAQEFBQADgYEAMIDyBQWtt/1ZX/hqTHIjjjoBIYd+5j4zarLE # zsp9MnTnIl9Gqy93krdme2iBufX38XRsbdIpO1juETL7IaLuMZ7jacQkxV3C3Neg # TRFLNmYohgi5aOxIUpDx8/GYF31sL510d03fuCXnWY5W9L7hd4iwpKDYksEXEyS8 # Qm8IhVAxggMNMIIDCQIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2Fz # aGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENv # cnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAx # MAITMwAAAQpSyDkBUtFwSwAAAAABCjANBglghkgBZQMEAgEFAKCCAUowGgYJKoZI # hvcNAQkDMQ0GCyqGSIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCBskE1mEadlLuFA # siAcdyIWd+EJHdj+M+DbdTeACZm9fDCB+gYLKoZIhvcNAQkQAi8xgeowgecwgeQw # gb0EIFcDNiQzuqEMKA3oRvFdtm1Hcc2Q1loZIxgfN8vk0qyqMIGYMIGApH4wfDEL # MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v # bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWlj # cm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMAAAEKUsg5AVLRcEsAAAAAAQow # IgQg0Z50pWSLXgp4GVQrLXDHazqKMgGM6IPR5P8VaIISc1wwDQYJKoZIhvcNAQEL # BQAEggEAEmcucXb8/ZoZ/XVliYN/4Jwgj1dKbO8GOBEoDUOc/IU5HX2uCXSNNMcP # JS2mIVnnOZBRn11XvLO2hC6NUKjKOwH+VW0ZIBc3RACcenj6ekwmvI4VW0hcKrF0 # aNEaZtIOm4Vbz2kgRWlMlN9LFKKHOIvzEUKln+DUtzuD5+RdghqHgiPl9roItlTR # wwPITopBI57znU4MZ1VBPtqlEiPuxxuFQyLfcr8Q/YxLJ1TZOOwgpkGQT6IAKE9/ # YRsIHSGcRLaoU1rEq9Kpq0vqD2H733ZpDdi1LWkjCXi8+fMF3G+xZQ9RQtLGwwME # 7Ag2KuRMBbP6zODELZ4rPh6DKsA/8w== # SIG # End signature block |