Monthly Archives: February 2016

CSV file with [] in headers

With the PowerShell Summit registration deadline rapidly approaching I wanted to see how registrations were going. I can down load a CSV file from the event website that lists attendees. Great. Just need to do some sorting and grouping and … Continue reading

Posted in Powershell Basics | 2 Comments

PowerShell Summit–Registration closing soon

Registration for the PowerShell and DevOps Global Summit will be closing in the next few days – http://powershell.org/wp/2016/02/18/last-chance-for-powershellsummit-org-registration/ We still have a few places left but you’ll have to hurry

Posted in Powershell, Summit | Leave a comment

WMF 5.0 RTM has been republished

A post on the PowerShell Team blog – https://blogs.msdn.microsoft.com/powershell/2016/02/24/windows-management-framework-wmf-5-0-rtm-packages-has-been-republished/ – reports that WMF 5.0 RTM has been republished. You’ll have to uninstall the original RTM package before installing the new one.

Posted in PowerShell v5, WMFv5 | Leave a comment

Get-ADUser quirk

Came across an interesting quirk of the way Get-ADUser works. If you use the –Identity parameter and tell it to find a specific user PS> Get-ADUser -Identity dontexistGet-ADUser : Cannot find an object with identity: ‘dontexist’ under: ‘DC=Manticore,DC=org’.At line:1 char:1+ … Continue reading

Posted in PowerShell and Active Directory | Leave a comment

IP Default Gateways by cmdlet

Following my recent post on setting the default gateway by using the Win32_NetworkAdapterConfiguration CIM class here’s how you do it using the networking cmdlets Discover your adapters Get-NetAdapter Check the default gateway for an adapter Get-NetIPConfiguration -InterfaceIndex 12 | select … Continue reading

Posted in Networking, Powershell | Leave a comment

Quick test for updates that aren’t installed

I want a quick test to determine if any of the updates I’d approved hadn’t been installed on all of the relevant machines. Get-WsusUpdate -Approval Approved | where InstalledOrNotApplicablePercentage -ne 100 Get the list of approved updates and filter on … Continue reading

Posted in Powershell, WSUS | Leave a comment

IP Default Gateways

When you configure the IP Address on a network adapter you also have to set the default gateway if you want the machine to communicate with machines on other subnets. One way you can do this is through the SetGateways … Continue reading

Posted in Networking, Powershell, PowerShell and CIM | Leave a comment

PowerShell Conference EU 2016–things to look forward to

With 64 days to the European PowerShell conference (and less to the PowerShell Summit) I’m busy getting my sessions prepeared. At the European conference I’m presenting pre-conference workshops on DSC and CIM and then two sessions on managing the new … Continue reading

Posted in Powershell | Leave a comment

PowerShell articles – – February 2016

I’ve had 2 articles published this week. The first one is on the Scripting Guy blog https://blogs.technet.microsoft.com/heyscriptingguy/2016/02/08/should-i-use-cim-or-wmi-with-windows-powershell/ And looks at the WMI and CIM cmdlets showing why 99.99% you should be using the CIM cmdlets. The second article is on … Continue reading

Posted in Powershell | Leave a comment

WMF 5.0 download latest news

According to the PowerShell Team blog – https://blogs.msdn.microsoft.com/powershell/2015/12/23/windows-management-framework-wmf-5-0-currently-removed-from-download-center/  The issue has been resolved and a WMF 5.0 RTM build should be available around the end of February

Posted in WMFv5 | Leave a comment