exports/ProxyCmdletDefinitions.ps1


# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ----------------------------------------------------------------------------------
<#
.Synopsis
Get agents from onPremisesPublishingProfiles
.Description
Get agents from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgroupagent
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgroupagent
#>

function Get-MgOnPremisPublishingProfileAgentGroupAgent {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgentGroup-id of onPremisesAgentGroup
    ${OnPremisesAgentGroupId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgent-id of onPremisesAgent
    ${OnPremisesAgentId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupAgent_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupAgent_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupAgent_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 publishedResources from onPremisesPublishingProfiles
.Description
Get publishedResources from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgrouppublishedresource
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgrouppublishedresource
#>

function Get-MgOnPremisPublishingProfileAgentGroupPublishedResource {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgentGroup-id of onPremisesAgentGroup
    ${OnPremisesAgentGroupId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: publishedResource-id of publishedResource
    ${PublishedResourceId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupPublishedResource_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupPublishedResource_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroupPublishedResource_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 agentGroups from onPremisesPublishingProfiles
.Description
Get agentGroups from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgroup
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagentgroup
#>

function Get-MgOnPremisPublishingProfileAgentGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup])]
[CmdletBinding(DefaultParameterSetName='List1', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgentGroup-id of onPremisesAgentGroup
    ${OnPremisesAgentGroupId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgent-id of onPremisesAgent
    ${OnPremisesAgentId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='Get1', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Parameter(ParameterSetName='List1', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='GetViaIdentity1', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_Get';
            Get1 = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_Get1';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_GetViaIdentity';
            GetViaIdentity1 = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_GetViaIdentity1';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_List';
            List1 = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgentGroup_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 agents from onPremisesPublishingProfiles
.Description
Get agents from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagent
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileagent
#>

function Get-MgOnPremisPublishingProfileAgent {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgent-id of onPremisesAgent
    ${OnPremisesAgentId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgent_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgent_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileAgent_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 onPremisesPublishingProfiles by key
.Description
Get entity from onPremisesPublishingProfiles by key
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
#>

function Get-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_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 agentGroups from onPremisesPublishingProfiles
.Description
Get agentGroups from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofilepublishedresourceagentgroup
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofilepublishedresourceagentgroup
#>

function Get-MgOnPremisPublishingProfilePublishedResourceAgentGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesAgentGroup-id of onPremisesAgentGroup
    ${OnPremisesAgentGroupId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: publishedResource-id of publishedResource
    ${PublishedResourceId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResourceAgentGroup_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResourceAgentGroup_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResourceAgentGroup_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 publishedResources from onPremisesPublishingProfiles
.Description
Get publishedResources from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofilepublishedresource
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/get-mgonpremispublishingprofilepublishedresource
#>

function Get-MgOnPremisPublishingProfilePublishedResource {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource])]
[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)]
param(
    [Parameter(ParameterSetName='Get', Mandatory)]
    [Parameter(ParameterSetName='List', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='Get', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: publishedResource-id of publishedResource
    ${PublishedResourceId},

    [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # Identity Parameter
    # To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
    ${InputObject},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Expand related entities
    ${Expand},

    [Parameter()]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Select properties to be returned
    ${Select},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.String[]]
    # Order items by property values
    ${Orderby},

    [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')]
    [Microsoft.Graph.PowerShell.Category('Query')]
    [System.Int32]
    # Show only the first n items
    ${Top},

    [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.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResource_Get';
            GetViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResource_GetViaIdentity';
            List = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Get-MgOnPremisPublishingProfilePublishedResource_List';
        }
        $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet)
        $scriptCmd = {& $wrappedCmd @PSBoundParameters}
        $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin)
        $steppablePipeline.Begin($PSCmdlet)
    } catch {
        throw
    }
}

process {
    try {
        $steppablePipeline.Process($_)
    } catch {
        throw
    }
}

end {
    try {
        $steppablePipeline.End()
    } catch {
        throw
    }
}
}

# ----------------------------------------------------------------------------------
#
# Copyright Microsoft Corporation
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ----------------------------------------------------------------------------------
<#
.Synopsis
Create new navigation property to agentGroups for onPremisesPublishingProfiles
.Description
Create new navigation property to agentGroups for onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileagentgroup
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup
.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.
 
AGENTS <IMicrosoftGraphOnPremisesAgent[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
BODYPARAMETER <IMicrosoftGraphOnPremisesAgentGroup>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
 
PUBLISHEDRESOURCES <IMicrosoftGraphPublishedResource[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileagentgroup
#>

function New-MgOnPremisPublishingProfileAgentGroup {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup])]
[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: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphOnPremisesAgentGroup]
    # HELP MESSAGE MISSING
    # 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')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTS properties and create a hash table.
    ${Agents},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # HELP MESSAGE MISSING
    ${IsDefault},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for PUBLISHEDRESOURCES properties and create a hash table.
    ${PublishedResources},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # onPremisesPublishingType
    ${PublishingType},

    [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.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgentGroup_Create';
            CreateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgentGroup_CreateExpanded';
            CreateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgentGroup_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgentGroup_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 agents for onPremisesPublishingProfiles
.Description
Create new navigation property to agents for onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileagent
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
BODYPARAMETER <IMicrosoftGraphOnPremisesAgent>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileagent
#>

function New-MgOnPremisPublishingProfileAgent {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent])]
[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: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphOnPremisesAgent]
    # HELP MESSAGE MISSING
    # 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')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${ExternalIP},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${MachineName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # agentStatus
    ${Status},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String[]]
    # HELP MESSAGE MISSING
    ${SupportedPublishingTypes},

    [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.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgent_Create';
            CreateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgent_CreateExpanded';
            CreateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgent_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileAgent_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 onPremisesPublishingProfiles
.Description
Add new entity to onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
AGENTS <IMicrosoftGraphOnPremisesAgent[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
BODYPARAMETER <IMicrosoftGraphOnPremisesPublishingProfile>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
  [HybridAgentUpdaterConfigurationAllowUpdateConfigurationOverride <Boolean?>]:
  [HybridAgentUpdaterConfigurationDeferUpdateDateTime <DateTime?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
  [UpdateWindowEndTime <String>]:
  [UpdateWindowStartTime <String>]:
 
PUBLISHEDRESOURCES <IMicrosoftGraphPublishedResource[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
#>

function New-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
    [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile]
    # HELP MESSAGE MISSING
    # 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.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTS properties and create a hash table.
    ${Agents},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # HELP MESSAGE MISSING
    ${HybridAgentUpdaterConfigurationAllowUpdateConfigurationOverride},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # HELP MESSAGE MISSING
    ${HybridAgentUpdaterConfigurationDeferUpdateDateTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for PUBLISHEDRESOURCES properties and create a hash table.
    ${PublishedResources},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${UpdateWindowEndTime},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${UpdateWindowStartTime},

    [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.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_Create';
            CreateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_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 publishedResources for onPremisesPublishingProfiles
.Description
Create new navigation property to publishedResources for onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofilepublishedresource
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource
.Outputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
BODYPARAMETER <IMicrosoftGraphPublishedResource>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/new-mgonpremispublishingprofilepublishedresource
#>

function New-MgOnPremisPublishingProfilePublishedResource {
[OutputType([Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource])]
[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: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphPublishedResource]
    # HELP MESSAGE MISSING
    # 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')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${DisplayName},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # onPremisesPublishingType
    ${PublishingType},

    [Parameter(ParameterSetName='CreateExpanded')]
    [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${ResourceName},

    [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.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfilePublishedResource_Create';
            CreateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfilePublishedResource_CreateExpanded';
            CreateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfilePublishedResource_CreateViaIdentity';
            CreateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\New-MgOnPremisPublishingProfilePublishedResource_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
Delete entity from onPremisesPublishingProfiles
.Description
Delete entity from onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/remove-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.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 <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/remove-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
#>

function Remove-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile {
[OutputType([System.Boolean])]
[CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
    [Parameter(ParameterSetName='Delete', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.OnPremisesPublishingProfiles.private\Remove-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_Delete';
            DeleteViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Remove-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_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
Update the navigation property agentGroups in onPremisesPublishingProfiles
.Description
Update the navigation property agentGroups in onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileagentgroup
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgentGroup
.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.
 
AGENTS <IMicrosoftGraphOnPremisesAgent[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
BODYPARAMETER <IMicrosoftGraphOnPremisesAgentGroup>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
 
PUBLISHEDRESOURCES <IMicrosoftGraphPublishedResource[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileagentgroup
#>

function Update-MgOnPremisPublishingProfileAgentGroup {
[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: onPremisesAgentGroup-id of onPremisesAgentGroup
    ${OnPremisesAgentGroupId},

    [Parameter(ParameterSetName='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphOnPremisesAgentGroup]
    # HELP MESSAGE MISSING
    # 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.IMicrosoftGraphOnPremisesAgent[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTS properties and create a hash table.
    ${Agents},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${DisplayName},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # HELP MESSAGE MISSING
    ${IsDefault},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for PUBLISHEDRESOURCES properties and create a hash table.
    ${PublishedResources},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # onPremisesPublishingType
    ${PublishingType},

    [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.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgentGroup_Update';
            UpdateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgentGroup_UpdateExpanded';
            UpdateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgentGroup_UpdateViaIdentity';
            UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgentGroup_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 agents in onPremisesPublishingProfiles
.Description
Update the navigation property agents in onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileagent
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
BODYPARAMETER <IMicrosoftGraphOnPremisesAgent>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileagent
#>

function Update-MgOnPremisPublishingProfileAgent {
[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: onPremisesAgent-id of onPremisesAgent
    ${OnPremisesAgentId},

    [Parameter(ParameterSetName='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphOnPremisesAgent]
    # HELP MESSAGE MISSING
    # 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.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${ExternalIP},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${MachineName},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # agentStatus
    ${Status},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String[]]
    # HELP MESSAGE MISSING
    ${SupportedPublishingTypes},

    [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.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgent_Update';
            UpdateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgent_UpdateExpanded';
            UpdateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgent_UpdateViaIdentity';
            UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileAgent_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 onPremisesPublishingProfiles
.Description
Update entity in onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesPublishingProfile
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
AGENTS <IMicrosoftGraphOnPremisesAgent[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [ExternalIP <String>]:
  [MachineName <String>]:
  [Status <String>]: agentStatus
  [SupportedPublishingTypes <String[]>]:
 
BODYPARAMETER <IMicrosoftGraphOnPremisesPublishingProfile>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [DisplayName <String>]:
      [PublishingType <String>]: onPremisesPublishingType
      [ResourceName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
  [HybridAgentUpdaterConfigurationAllowUpdateConfigurationOverride <Boolean?>]:
  [HybridAgentUpdaterConfigurationDeferUpdateDateTime <DateTime?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
  [UpdateWindowEndTime <String>]:
  [UpdateWindowStartTime <String>]:
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
 
PUBLISHEDRESOURCES <IMicrosoftGraphPublishedResource[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofileonpremispublishingprofileonpremispublishingprofile
#>

function Update-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile {
[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: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphOnPremisesPublishingProfile]
    # HELP MESSAGE MISSING
    # 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.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphOnPremisesAgent[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTS properties and create a hash table.
    ${Agents},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.Management.Automation.SwitchParameter]
    # HELP MESSAGE MISSING
    ${HybridAgentUpdaterConfigurationAllowUpdateConfigurationOverride},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.DateTime]
    # HELP MESSAGE MISSING
    ${HybridAgentUpdaterConfigurationDeferUpdateDateTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for PUBLISHEDRESOURCES properties and create a hash table.
    ${PublishedResources},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${UpdateWindowEndTime},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${UpdateWindowStartTime},

    [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.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_Update';
            UpdateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_UpdateExpanded';
            UpdateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_UpdateViaIdentity';
            UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfileOnPremisPublishingProfileOnPremisPublishingProfile_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 publishedResources in onPremisesPublishingProfiles
.Description
Update the navigation property publishedResources in onPremisesPublishingProfiles
.Example
To view examples, please use the -Online parameter with Get-Help or navigate to: https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofilepublishedresource
.Inputs
Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity
.Inputs
Microsoft.Graph.PowerShell.Models.IMicrosoftGraphPublishedResource
.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.
 
AGENTGROUPS <IMicrosoftGraphOnPremisesAgentGroup[]>: HELP MESSAGE MISSING
  [Id <String>]:
  [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [ExternalIP <String>]:
    [MachineName <String>]:
    [Status <String>]: agentStatus
    [SupportedPublishingTypes <String[]>]:
  [DisplayName <String>]:
  [IsDefault <Boolean?>]:
  [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [Id <String>]:
    [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [DisplayName <String>]:
    [PublishingType <String>]: onPremisesPublishingType
    [ResourceName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
 
BODYPARAMETER <IMicrosoftGraphPublishedResource>: HELP MESSAGE MISSING
  [Id <String>]:
  [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
    [Id <String>]:
    [Agents <IMicrosoftGraphOnPremisesAgent[]>]:
      [Id <String>]:
      [AgentGroups <IMicrosoftGraphOnPremisesAgentGroup[]>]:
      [ExternalIP <String>]:
      [MachineName <String>]:
      [Status <String>]: agentStatus
      [SupportedPublishingTypes <String[]>]:
    [DisplayName <String>]:
    [IsDefault <Boolean?>]:
    [PublishedResources <IMicrosoftGraphPublishedResource[]>]:
    [PublishingType <String>]: onPremisesPublishingType
  [DisplayName <String>]:
  [PublishingType <String>]: onPremisesPublishingType
  [ResourceName <String>]:
 
INPUTOBJECT <IIdentityOnPremisesPublishingProfilesIdentity>: Identity Parameter
  [OnPremisesAgentGroupId <String>]: key: onPremisesAgentGroup-id of onPremisesAgentGroup
  [OnPremisesAgentId <String>]: key: onPremisesAgent-id of onPremisesAgent
  [OnPremisesPublishingProfileId <String>]: key: onPremisesPublishingProfile-id of onPremisesPublishingProfile
  [PublishedResourceId <String>]: key: publishedResource-id of publishedResource
.Link
https://docs.microsoft.com/en-us/powershell/module/microsoft.graph.identity.onpremisespublishingprofiles/update-mgonpremispublishingprofilepublishedresource
#>

function Update-MgOnPremisPublishingProfilePublishedResource {
[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: onPremisesPublishingProfile-id of onPremisesPublishingProfile
    ${OnPremisesPublishingProfileId},

    [Parameter(ParameterSetName='Update', Mandatory)]
    [Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [System.String]
    # key: publishedResource-id of publishedResource
    ${PublishedResourceId},

    [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Graph.PowerShell.Category('Path')]
    [Microsoft.Graph.PowerShell.Models.IIdentityOnPremisesPublishingProfilesIdentity]
    # 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.IMicrosoftGraphPublishedResource]
    # HELP MESSAGE MISSING
    # 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.IMicrosoftGraphOnPremisesAgentGroup[]]
    # HELP MESSAGE MISSING
    # To construct, see NOTES section for AGENTGROUPS properties and create a hash table.
    ${AgentGroups},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${DisplayName},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${Id},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # onPremisesPublishingType
    ${PublishingType},

    [Parameter(ParameterSetName='UpdateExpanded')]
    [Parameter(ParameterSetName='UpdateViaIdentityExpanded')]
    [Microsoft.Graph.PowerShell.Category('Body')]
    [System.String]
    # HELP MESSAGE MISSING
    ${ResourceName},

    [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.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfilePublishedResource_Update';
            UpdateExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfilePublishedResource_UpdateExpanded';
            UpdateViaIdentity = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfilePublishedResource_UpdateViaIdentity';
            UpdateViaIdentityExpanded = 'Microsoft.Graph.Identity.OnPremisesPublishingProfiles.private\Update-MgOnPremisPublishingProfilePublishedResource_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
# MIIkTQYJKoZIhvcNAQcCoIIkPjCCJDoCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCD0XH8nuOZWN7QD
# hUn+3ZhSMk9O5CDsLNj0YaxVG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