# notepad does not have an entry
$ Test-Path"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad.exe"False# chrome does
$ Test-Path"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe"True
Indented code block:
# notepad does not have an entry
$ Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\notepad.exe"
False
# chrome does
$ Test-Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe"
True