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
{ | |
"name": "WindowsContainersCluster", | |
"clusterConfigurationVersion": "1.0.0", | |
"apiVersion": "10-2017", | |
"nodes": [ | |
{ | |
"nodeName": "vm0", | |
"iPAddress": "containerhost00.sf.local", | |
"nodeTypeRef": "NodeType0", | |
"faultDomain": "fd:/dc1/r0", |
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
# Show message box popup. | |
Add-Type -AssemblyName System.Windows.Forms | |
$result = [System.Windows.Forms.MessageBox]::Show("My message", "Window Title", [System.Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::None) | |
# Show input box popup. | |
Add-Type -AssemblyName Microsoft.VisualBasic | |
$inputText = [Microsoft.VisualBasic.Interaction]::InputBox("Enter some value:", "Window Title", "Default value") | |
# Show an Open File Dialog and return the file selected by the user. | |
function Read-OpenFileDialog([string]$InitialDirectory, [switch]$AllowMultiSelect) |