Trying to learn PS thorugh “Sams Teach yourself powershell” ran into an issue

Hello, you glorious group of experts from around the globe.

So I just picked up the learn ps in 24h book by Timothy L. Warner. And I had good hopes, but expecting a fair amount of red text lighting up my screen. Unfortunately already in Hour 2 of the book (in this book chapters are called hours for obvious reasons) I ran into a problem that I could not figure out. The exercise in the book wanted me to try the command:

Get-Item -path “HKLM:SOFTWAREMicrosoftNET FrameworksetupNDP*”

And my glorious red-texts says:

Get-Item -path “HKLM:SOFTWAREMicrosoftNET FrameworksetupNDP*”Get-Item : Cannot find path ‘HKLM:SOFTWAREMicrosoftNET FrameworksetupNDP’ because it does not exist.At line:1 char:1+ Get-Item -path “HKLM:SOFTWAREMicrosoftNET FrameworksetupNDP*”+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : ObjectNotFound: (HKLM:SOFTWARE…eworksetupNDP:String) [Get-Item], ItemNotFoundException+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand

So I can see the path does not exist. But shouldn’t it? Is “SOFTWARE” a placeholder for some specific software I have installed?

Thank you all for your time, and help in advance 🙂

submitted by /u/Yuven1
[link] [comments]

Leave a Reply