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IgZD0iTTYzLjU1LDg3aDIxLjYxM2MyLjUxMywwLDQuNTUsMi4wMTUsNC41NSw0LjVjMCwyLjQ4NS0yLjAzNyw0LjUtNC41NSw0LjVINjMuNTVDNjEuMDM3LDk2LDU5LDkzLjk4NSw1OSw5MS41QzU5LDg5LjAxNSw2MS4wMzcsODcsNjMuNTUsODd6Ii8+PC9zdmc+" } New-UDPage -Name "Images" -Icon image -Content { New-UDPageHeader -Title "Images" -Icon "image" -Description "Display images" -DocLink "https://adamdriscoll.gitbooks.io/powershell-universal-dashboard/content/api/1.5.0/New-UDImage.html" New-UDExample -Title "Base64 Image" -Description "Embed base64 images in your dashboard." -Script $Image } |