header image

Archive for November, 2015

PowerShell in Action, 3e MEAP 2

Posted by: | November 6, 2015 Comments Off on PowerShell in Action, 3e MEAP 2 |

Another chapter of PowerShell in Action third edition has been released into the MEAP process. – see https://manning.com/books/windows-powershell-in-action-third-edition

under: Books, PowerShell

WMI cmdlets and credentials

Posted by: | November 4, 2015 Comments Off on WMI cmdlets and credentials |

If you’re working with the WMI cmdlets and need to pass credentials you’ll end up with a statement something like this Get-WmiObject -Class Win32_ComputerSystem -ComputerName $computer -Credential $cred   If the computer name defaults to the local host or you use . or ‘localhost’ as the computer name you’ll get an error PS> Get-WmiObject -Class […]

under: PowerShell and WMI, PowerShell Basics

« Newer Posts

Categories