Skip to content

Instantly share code, notes, and snippets.

View moiaune's full-sized avatar

Mads Moi-Aune moiaune

View GitHub Profile
@quonic
quonic / ADAuthUDExample.ps1
Last active August 29, 2021 12:23
An example of AD auth with
Import-Module -Name UniversalDashboard
$ADDomain = "MyDomainHere.consto.com"
$ADGroup = "GroupNameHere"
$PageHome = New-UDPage -Name "Home" -Content {
New-UDLayout -Columns 3 -Content {
New-UDCard -Title "Scheduled" -Content {
"Links"
} -Links @(