PowerShell Universal
v4
Ask or search…
K

Link

Link component for Universal Apps.
Create a hyper link in a dashboard.
Create a basic link that goes to a web page.
New-UDLink -Text 'Ironman Software' -Url https://www.ironmansoftware.com

Change Style

Adjust the underline and text style.
New-UDLink -Text 'Ironman Software' -Url https://www.ironmansoftware.com -Variant h2 -Underline always

Open in a New Window

Open the link a new window when clicked.
New-UDLink -Text 'Ironman Software' -Url https://www.ironmansoftware.com -OpenInNewWindow

OnClick Event Handler

Execute a PowerShell script block when the link is clicked.
New-UDLink -Text 'Ironman Software' -OnClick {
Show-UDToast "Hello!"
}

API

Last modified 10mo ago