I am new to PowerShell and I'm stuck on this step in this book I bought two days ago that
teaches beginners about powershell. The book wants me to configure WS-management
protocol to work with windows PowerShell using the command & $pshome\Configure-
wsman.ps1
However when I put this command in this error comes up
& : The term'C:\Windows\System32\WindowsPowerShell\v1.0\configure-wsman.ps1' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:3
+ & $pshome\configure-wsman.ps1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\Windows\Syst...igure-wsman.ps1:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I was wondering how i can get this command to work so I can proceed to the next step.
The book I'm reading is Windows PowerShell Programming for the absolute Beginner Third
Edition. This is on page 24.
The power Shell version is 4.0 on windows 7 64 bit.