You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
| $app = Get-WmiObject -Class Win32_Product | Where-Object { | |
| $_.Name -match ".NET Core SDK" | |
| } | ForEach-Object { | |
| $isMatch = $_.Name -match "(\d+)\.(\d+)\.(\d+)" | |
| $version = [System.Version]::Parse($Matches[0]) | |
| return [System.Tuple]::Create(($version),$_) | |
| } | |
| $installedVersions = @{} |
You should install VirtualBox and Vagrant before you start.
You should create a Vagrantfile in an empty directory with the following content:
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory=$true, Position=0)] | |
| [uri] | |
| $ServerUri | |
| ) | |
| $ErrorActionPreference = 'Stop' | |
| Set-StrictMode -Version Latest |
| # Working with a [System.IO.FileInfo] Object | |
| ## Get file object into variable | |
| PS C:\DATA> $file = Get-ChildItem C:\DATA\test.xls | |
| ## Full path name | |
| PS C:\DATA> $file.FullName | |
| C:\DATA\test.xls | |
| ## Filename including extension | |
| PS C:\DATA> $file.Name |
This guide has moved to a GitHub repository to enable collaboration and community input via pull-requests.
https://github.com/alexellis/k8s-on-raspbian
Alex
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory=$true, Position=0)] | |
| [uri] | |
| $ServerUri | |
| ) | |
| $ErrorActionPreference = 'Stop' | |
| Set-StrictMode -Version Latest |