I'm a beginner to powershell and having I suspect what will be a simple problem. I'm trying to do the following command, but it returns nothing as a result and I don't understand why.
I'm trying to get the description of the current section of bcdedit. If I do:
bcdedit /enum | select-string "identifier.*current" -context 0,3
It returns the following:
> identifier {current}
device partition=C:
path \WINDOWS\system32\winload.exe
description Windows 8.1
So why doesn't the following return description Windows 8.1
?
bcdedit /enum | select-string "identifier.*current" -context 0,3 | select-string "description"
Instead it returns nothing at all.
Any information on this would be appreciated.