Last active
July 14, 2020 14:39
-
-
Save littletoyrobots/2b64a0e7126467b2fc4c92cc11249a4c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-PSSnapin Citrix.* | |
$IcoPath = "C:\Local\Google.ico" | |
$Icon = New-BrokerIcon -EncodedIconData ([convert]::ToBase64String((Get-Content $IcoPath -Encoding byte))) | |
$Params = @{ | |
AdminAddress = "ddc1" # delivery controller | |
ApplicationType = "PublishedContent" | |
Name = "Google" | |
CommandLineExecutable = "https://google.com" | |
DesktopGroup = "Applications" # Just need a delivery group with resources | |
IconUid = $Icon.Uid | |
} | |
New-BrokerApplication @Params |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment