public/Disable-AppVentiXSeamlessPublishing.ps1

<#
    .SYNOPSIS
        Disables seamless publishing for an AppVentiX task in an Azure environment.
 
    .DESCRIPTION
        The Disable-AppVentiXSeamlessPublishing function disables seamless publishing for an AppVentiX task in an Azure environment. It removes the SeamlessApplication element from the Publishing Tasks file and sets the PublishSeamless property to $false.
 
    .PARAMETER Id
        The ID of the AppVentiX task.
 
    .PARAMETER SubscriptionId
        The ID of the Azure subscription.
 
    .PARAMETER ResourceGroupName
        The name of the resource group.
 
    .PARAMETER ApplicationGroupName
        The name of the application group.
 
    .PARAMETER HostPoolName
        The name of the host pool.
 
    .EXAMPLE
        Disable-AppVentiXSeamlessPublishing -Id "Task1" -SubscriptionId "12345678-1234-1234-1234-1234567890ab" -ResourceGroupName "MyResourceGroup" -ApplicationGroupName "MyAppGroup" -HostPoolName "MyHostPool"
 
        This example disables seamless publishing for the AppVentiX task with ID "Task1" in the Azure environment. It specifies the Azure subscription ID, resource group name, application group name, host pool name, and config share path.
 
    .NOTES
        Function: Disable-AppVentiXSeamlessPublishing
        Author: John Billekens Consultancy
        Copyright: Copyright (c) AppVentiX
        Version: 1.0
        Requires : Valid AppVentiX license
#>

function Disable-AppVentiXSeamlessPublishing {
    [CmdletBinding(DefaultParameterSetName = 'IDAzureAll')]
    param (
        [Parameter(ParameterSetName = 'IDAzureAll', Mandatory, ValueFromPipelineByPropertyName)]
        [String]$Id,

        [Parameter(ParameterSetName = 'IDAzureAll', Mandatory)]
        [String]$SubscriptionId,

        [Parameter(ParameterSetName = 'IDAzureAll', Mandatory)]
        [String]$ResourceGroupName,

        [Parameter(ParameterSetName = 'IDAzureAll', Mandatory)]
        [String]$ApplicationGroupName,

        [Parameter(ParameterSetName = 'IDAzureAll', Mandatory)]
        [String]$HostPoolName,

        [Parameter(ParameterSetName = 'IDAzureAll')]
        [Switch]$RemoveApplicationGroup,

        [Alias('Config', 'Share', 'AppVentixConfigShare')]
        [Parameter(DontShow, ParameterSetName = 'IDAzureAll')]
        [Parameter(DontShow, ParameterSetName = 'IDAzureApps')]
        [ValidateNotNullOrEmpty()]
        [String]$ConfigShare = $Script:AppVentix.ConfigShare
    )

    Begin {
        Write-Verbose "Staring function 'Disable-AppVentiXSeamlessPublishing'"
        if (-Not (Test-AppVentiXIsLicensed -ConfigShare $ConfigShare)) {
            Write-Warning 'AppVentiX is not licensed!'
            return $null
        }
        $target = "Unknown"
        if ($PSCmdlet.ParameterSetName -in 'IDAzureAll') {
            $target = "Azure"
        } else {
            Write-Warning "The publishing target is not (yet) supported. You must remove the published applications your self."
        }
    }
    Process {
        switch ($target) {
            "Azure" {
                try {
                    Write-Verbose "Importing the Az.Accounts module"
                    if (-Not (Get-Module Az.Accounts -ErrorAction SilentlyContinue | Where-Object { $_.Version -gt [version]"2.17.0" })) {
                        Write-Verbose "The Az.Accounts module is not yet imported, importing the Az.Accounts module."
                        if (Get-Module Az.Accounts -ListAvailable | Where-Object { $_.Version -ge [System.Version]"2.17.0" }) {
                            Write-Verbose "The Az.Accounts module is available and the version is higher than 2.17.0, importing the Az.Accounts module."
                            Import-Module Az.Accounts -MinimumVersion 2.17.0 -Force -ErrorAction SilentlyContinue
                        } else {
                            Write-Error "The Az.Accounts module is not available or the version is lower than 2.17.0." -ErrorAction Stop
                        }
                    } else {
                        Write-Verbose "The Az.Accounts module is already imported."
                    }
                    Write-Verbose "Importing the Az.DesktopVirtualization module"
                    if (-Not (Get-Module Az.DesktopVirtualization -ErrorAction SilentlyContinue | Where-Object { $_.Version -gt [version]"4.3.0" })) {
                        Write-Verbose "The Az.DesktopVirtualization module is not yet imported, importing the Az.DesktopVirtualization module."
                        if (Get-Module Az.DesktopVirtualization -ListAvailable | Where-Object { $_.Version -ge [System.Version]"4.3.0" }) {
                            Write-Verbose "The Az.DesktopVirtualization module is available and the version is higher than 4.3.0, importing the Az.DesktopVirtualization module."
                            Import-Module Az.DesktopVirtualization -MinimumVersion 4.3.0 -Force -ErrorAction SilentlyContinue
                        } else {
                            Write-Error "The Az.DesktopVirtualization module is not available or the version is lower than 4.3.0." -ErrorAction Stop
                        }
                    } else {
                        Write-Verbose "The Az.DesktopVirtualization module is already imported."
                    }
                    $attempts = 3
                    $accessToken = Get-AzAccessToken -AsSecureString -ErrorAction SilentlyContinue -WarningAction SilentlyContinue
                    while ($null -eq $accessToken.ExpiresOn -or $accessToken.ExpiresOn -lt (Get-Date)) {
                        if ($attempts -eq 0) {
                            Write-Error "Failed to connect to Azure." -ErrorAction Stop
                        }
                        $attempts--
                        if ($null -eq $accessToken -or $accessToken.ExpiresOn -lt (Get-Date)) {
                            Write-Host "We are not connected to Azure. Trying to connect to Azure..."
                            $subscription = Connect-AzAccount -Subscription $SubscriptionId -ErrorAction SilentlyContinue
                            $accessToken = Get-AzAccessToken -ErrorAction SilentlyContinue
                        } else {
                            continue
                        }
                    }
                    $subscription = Set-AzContext -Subscription $SubscriptionId -ErrorAction SilentlyContinue
                    Write-Verbose "We are connected to Azure ($($subscription.Subscription.Name)). Connection expires on '$($accessToken.ExpiresOn.DateTime.ToLocalTime().ToString())'"

                    Write-Verbose "Checking if the host pool '$HostPoolName' exists in the resource group '$ResourceGroupName' in the subscription '$SubscriptionId'."
                    $azHostPool = Get-AzWvdHostPool -Name $HostPoolName -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId -ErrorAction SilentlyContinue
                    if ($null -eq $azHostPool -or $azHostPool.name -ne $HostPoolName) {
                        Write-Error "The host pool '$HostPoolName' could not be found in the resource group '$ResourceGroupName' " -ErrorAction Stop
                    } else {
                        Write-Verbose "The host pool '$HostPoolName' is found in the resource group '$ResourceGroupName'"
                    }

                    $azApplicationGroup = Get-AzWvdApplicationGroup -Name $ApplicationGroupName -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId -ErrorAction SilentlyContinue
                    if ($null -eq $azApplicationGroup) {
                        Write-Verbose "The application group '$ApplicationGroupName' does not exist."
                        Continue
                    } elseif ($azApplicationGroup.ApplicationGroupType -notlike "RemoteApp") {
                        Write-Error "The application group '$ApplicationGroupName' already exists in the resource group '$ResourceGroupName', but it is not a RemoteApp application group." -ErrorAction Stop
                        Continue
                    } else {
                        Write-Verbose "The application group '$ApplicationGroupName' is found in the resource group '$ResourceGroupName'."
                    }

                    Write-Verbose "Retrieving the applications from the application group '$ApplicationGroupName'."
                    $azApplications = Get-AzWvdApplication -GroupName $azApplicationGroup.Name -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId -ErrorAction SilentlyContinue

                    $azApplications | ForEach-Object {
                        $group, $name = $_.name.Split('/')
                        Write-Verbose "Removing application '$name' from application group '$group'."
                        Remove-AzWvdApplication -GroupName $group -Name $name -SubscriptionId $SubscriptionId -ResourceGroupName $ResourceGroupName
                    }
                    If ($RemoveApplicationGroup) {
                        Write-Verbose "Removing application group '$ApplicationGroupName'."
                        Remove-AzWvdApplicationGroup -Name $ApplicationGroupName -ResourceGroupName $ResourceGroupName -SubscriptionId $SubscriptionId
                    } else {
                        Write-Warning "The applications are removed from the application group '$ApplicationGroupName'. You must remove the application group '$ApplicationGroupName' your self."
                    }
                } catch {
                    Write-Error $_.Exception.Message -ErrorAction Stop
                }
            }
            "Unknown" {
                Write-Verbose "Nothing to do, target is not (yet) supported."
            }
        }

        $publishingTasksFullname = Join-Path -Path $ConfigShare -ChildPath $Script:AppVentiX.PublishingTasksFilename
        Write-Verbose "Reading data from $($publishingTasksFullname)"
        $publishingTasksXml = New-Object -TypeName System.Xml.XmlDocument
        try {
            $publishingTasksXml.Load($publishingTasksFullname)
        } catch {
            Write-Verbose "Could not load the Publishing Tasks file, $($_.Exception.Message)"
            if (Test-Path -Path $publishingTasksFullname) {
                Write-Error "The Publishing Tasks file exists but is not accessible!" -ErrorAction Stop
            } else {
                Write-Error "The Publishing Tasks file does not yet exists!" -ErrorAction Stop
            }
        }
        $publishingTasksXml = Format-AppVentiXPublishingTasksXml -XmlDocument $publishingTasksXml

        $ptTaskElement = $publishingTasksXml.SelectSingleNode("//Task[Id='$($Id)']")

        Write-Verbose "Retrieving Task element"
        if ($null -ne $ptTaskElement.Seamless) {
            Write-Verbose "Retrieving Seamless element"
            $ptSeamlessElement = $ptTaskElement.SelectSingleNode("Seamless")
            Write-Verbose "Does exist, retrieving SeamlessApplication element"
            if ($null -ne $ptSeamlessElement.SeamlessApplication) {
                Write-Verbose "Retrieving SeamlessApplication element"
                $ptSeamlessApplicationElement = $ptSeamlessElement.SelectSingleNode("SeamlessApplication")
                Write-Verbose "Remove the SeamlessApplication element from the Publishing Tasks file."
                $null = $ptSeamlessElement.RemoveChild($ptSeamlessApplicationElement)
            }
            Write-Verbose "Remove the Seamless element from the Publishing Tasks file."
            $null = $ptTaskElement.RemoveChild($ptSeamlessElement)
        }
        Write-Verbose "Disable seamless publishing for the publishing task."
        if ($null -eq $ptTaskElement.PublishSeamless) {
            Write-Verbose "Does not exist, adding PublishSeamless element"
            $null = $($ptTaskElement.AppendChild($publishingTasksXml.CreateElement("PublishSeamless"))).AppendChild($publishingTasksXml.CreateTextNode("False"))
        } else {
            Write-Verbose "Updating SeamlessApplication element"
            $ptTaskElement.PublishSeamless = "False"
        }
        Write-Verbose "Save the Publishing Tasks file."
        try {
            $publishingTasksXml.Save($publishingTasksFullname)
        } catch {
            Write-Error "Could not save the Publishing Tasks file, $($_.Exception.Message)" -ErrorAction Stop
        }
    }
    End {
        Write-Verbose "Cleaning up variables"
        Clear-Variable -Name ptTaskElement -ErrorAction SilentlyContinue
        Clear-Variable -Name ptSeamlessElement -ErrorAction SilentlyContinue
        Clear-Variable -Name ptSeamlessApplicationElement -ErrorAction SilentlyContinue
        Write-Verbose "Ending function 'Disable-AppVentiXSeamlessPublishing'"
    }
}

# SIG # Begin signature block
# MIIndQYJKoZIhvcNAQcCoIInZjCCJ2ICAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWC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