$Navigation = @(
    New-UDListItem -Label 'Home' -OnClick {
        Invoke-UDRedirect -Url '/Home'
    }
    switch($env:computername){
        "ITDWINAUTOT1" {
            New-UDListItem -Label 'Remove-ITDExpiredFiles Log' -OnClick {
            Invoke-UDRedirect -Url '/NPD'
            }
        }
        "ITDWINAUTOP1" {
            New-UDListItem -Label 'Remove-ITDExpiredFiles Log' -OnClick {
            Invoke-UDRedirect -Url '/PRD'
            }
        }
    }
)

New-UDApp -Title 'PowerShell Universal' -Pages @(
    Get-UDPage -Name 'Home'
    switch($env:computername){
        "ITDWINAUTOT1" { Get-UDPage -Name 'NPD' }
        "ITDWINAUTOP1" { Get-UDPage -Name 'PRD' }
    }
) -Navigation $Navigation