en-us/Writing_Your_First_Icicle.walkthru.help.txt

# Icicles are really easy to build. For a basic Icicle, you just need to know what command you want to use, or what site you want to display.
# The example below is an Icicle for the command Add-Parameter. If you save this into a file named "*.icicle.ps1', you can use Import-Icicle to load it in the ISE
@{
    Command = (Get-Command Add-Parameter)
}
 
 
# The next sample creates an Icicle that goes to a page and refreshes it every minute
@{
    Site = "http://get-random.com"
    Name = "Get-Random | Take a Break"
    UpdateEvery = "0:1"
}
 
 
# For an advanced icicle, You just need to know a little bit about [ShowUI](http://www.show-ui.com). This icicle creates a clock
@{
    Name = 'Clock'
    Horizontal = $true
    Screen = {
        New-Border -Child {
            New-Label "$(Get-Date | Out-String)" -FontSize 24 -FontFamily 'Lucida Console'
        }
    }
    DataUpdate = {
        Get-date
    }
    UiUpdate = {
        $this.Content.Child.Content = $args | Out-String
    }
    UpdateFrequency = "0:0:1"
}