33 lines
1.2 KiB
PowerShell
33 lines
1.2 KiB
PowerShell
$Navigation = @(
|
|
New-UDListItem -Label 'Home' -OnClick {
|
|
Invoke-UDRedirect -Url '/Home'
|
|
}
|
|
New-UDListItem -Label 'CMDB Ci Lookup' -OnClick {
|
|
Invoke-UDRedirect -Url '/CMDBServerList'
|
|
}
|
|
New-UDListItem -Label 'Server Build Request V1 (Current) Lookup' -OnClick {
|
|
Invoke-UDRedirect -Url '/ServerBuildRequestV1'
|
|
}
|
|
New-UDListItem -Label 'Application Server V2 (Previous) Lookup' -OnClick {
|
|
Invoke-UDRedirect -Url '/ApplicationServerV2'
|
|
}
|
|
New-UDListItem -Label 'AppNameLookup' -OnClick {
|
|
Invoke-UDRedirect -Url '/AppNameLookup'
|
|
}
|
|
New-UDListItem -Label 'CiLookup' -OnClick {
|
|
Invoke-UDRedirect -Url '/CiLookup'
|
|
}
|
|
New-UDListItem -Label 'AzureSizeHelper' -OnClick {
|
|
Invoke-UDRedirect -Url '/AzureVmSizeHelper'
|
|
}
|
|
)
|
|
AppNameLookup.ps1 - /AppNameLookup
|
|
New-UDApp -Title 'PowerShell Universal' -Pages @(
|
|
Get-UDPage -Name 'Home'
|
|
Get-UDPage -Name 'CMDBServerList'
|
|
Get-UDPage -Name 'ServerBuildRequestV1'
|
|
Get-UDPage -Name 'ApplicationServerV2'
|
|
Get-UDPage -Name 'AppNameLookup'
|
|
Get-UDPage -Name 'CiLookup'
|
|
Get-UDPage -Name 'AzureVmSizeHelper'
|
|
) -Navigation $Navigation |