File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -81,14 +81,15 @@ The instructions in this section configure the IoT Edge runtime with Linux conta
81
81
82
82
2 . Download the IoT Edge service package.
83
83
84
- ``` powershell
85
- Invoke-WebRequest https://aka.ms/iotedged-windows-latest -o .\iotedged-windows.zip
86
- Expand-Archive .\iotedged-windows.zip C:\ProgramData\iotedge -f
87
- Move-Item c:\ProgramData\iotedge\iotedged-windows\* C:\ProgramData\iotedge\ -Force
88
- rmdir C:\ProgramData\iotedge\iotedged-windows
89
- $env:Path += ";C:\ProgramData\iotedge"
90
- SETX /M PATH "$env:Path"
91
- ```
84
+ ``` powershell
85
+ Invoke-WebRequest https://aka.ms/iotedged-windows-latest -o .\iotedged-windows.zip
86
+ Expand-Archive .\iotedged-windows.zip C:\ProgramData\iotedge -f
87
+ Move-Item c:\ProgramData\iotedge\iotedged-windows\* C:\ProgramData\iotedge\ -Force
88
+ rmdir C:\ProgramData\iotedge\iotedged-windows
89
+ $sysenv = "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
90
+ $path = (Get-ItemProperty -Path $sysenv -Name Path).Path + ";C:\ProgramData\iotedge"
91
+ Set-ItemProperty -Path $sysenv -Name Path -Value $path
92
+ ```
92
93
93
94
3 . Install the vcruntime.
94
95
You can’t perform that action at this time.
0 commit comments