This file contains 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
function GenHostOptions () { | |
$Yes = New-Object System.Management.Automation.Host.ChoiceDescription '&Yes', 'Yes' | |
$No = New-Object System.Management.Automation.Host.ChoiceDescription '&No', 'No' | |
$options = [System.Management.Automation.Host.ChoiceDescription[]]($Yes, $No) | |
$title = 'Jabra battery notification' | |
$message = "Do you want to proceed creating and enabling Scheduled job?" | |
$result = $host.ui.PromptForChoice($title, $message, $options, 0) | |
switch ($result ) { | |
0 { $true } |
This file contains 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
{ | |
"final_space": true, | |
"console_title": true, | |
"console_title_style": "folder", | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"horizontal_offset": 0, | |
"vertical_offset": 0, |