I’m scratching my head why the example on page 111 won’t run without error in my lab
Get-WmiObject -Credential domain\user -class Win32_bios -ComputerName (Get-Content .\temp\computers.txt)
Error: Get-WmiObject : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Yet when I run this, it works:
Get-WmiObject -Credential domain\user -class Win32_bios -ComputerName DC1,DC2,DC3
Checking my .txt file, Get-content .\temp\computers.txt works as well.
Appreciate any ideas…all the examples in the book have worked up to this one and am enjoying the book overall.