Skip to content

Commit 2a84b58

Browse files
authored
Merge pull request #54129 from jevansaks/patch-1
Add quotes to powershell command so it can be copy/pasted.
2 parents 21f9c54 + 9cd373f commit 2a84b58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machines/windows/prepare-for-upload-vhd-image.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ to convert it to VHD format. For more information, see
170170
1. Make sure the environmental variables **TEMP** and **TMP** are set to their default values:
171171

172172
```powershell
173-
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment -Name TEMP -Value "%SystemRoot%\TEMP" -Type ExpandString -Force
174-
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment -Name TMP -Value "%SystemRoot%\TEMP" -Type ExpandString -Force
173+
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name TEMP -Value "%SystemRoot%\TEMP" -Type ExpandString -Force
174+
Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment' -Name TMP -Value "%SystemRoot%\TEMP" -Type ExpandString -Force
175175
```
176176

177177
## Check the Windows services

0 commit comments

Comments
 (0)