If this post is not appropriate for this forum, kindly direct me to other forums.
I do not know a single programming language and struggle with with DOS batch files. So I must sincerely state that your step by step, chapter by chapter explanations in LWPS3inMoL are stellar. You book is teaching an old dog new tricks.
However I am stuck. PS errors out when evaluating the stuff in parens in the example below (lifted from the book). When I type in the example command line, the PS_ISE highlights the left and right parens. It seems like it is trying to tell me something.
Learn Windows Powershell 3 in a Month of Lunches - SecondEdition
9.6 Parenthetical Commands (Page 111)
PS C:> Get-WmiObject -class win32_BIOS -ComputerName (Get-Content .\computers.txt)
Get-WmiObject : Cannot validate argument on parameter ‘ComputerName’. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
At line:1 char:47
- Get-WmiObject -class win32_BIOS -ComputerName (Get-Content .\computers.txt)
- CategoryInfo : InvalidData: ( [Get-WmiObject], ParameterBindingValidationException
- FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.GetWmiObjectCommand