Monthly Archives: March 2016

IIS information

In my recent post about getting server information from a IIS web server I said I post about getting similar information from later machines. You still have the root\MirosoftIISv2 namespace available if you install the IIS 6.0 tools but one … Continue reading

Posted in CIM, PowerShell and CIM, PowerShell and IIS, PowerShell and WMI | Leave a comment

European PowerShell Conference 2016–few places left

There are still a few places left at the European PowerShell conference next month – http://www.psconf.eu/ There’s a terrific line up of speakers and I really recommend you get there if you can

Posted in Powershell | Leave a comment

IIS 6.0 server information

A question of the forum asked about getting data from IIS 6.0 servers One of the ways to access this data is to use CIM (WMI). IIS 6.0 has the root\MicrosoftIIsV2  namespace. Later versions of Windows server also have a … Continue reading

Posted in IIS, PowerShell and CIM, PowerShell and WMI | Leave a comment

Breaking CIM sessions

A CIM session is analogous to a PowerShell remoting session but for CIM based cmdlets – the CIM cmdlets themselves and any CDXML based cmdlets e.g. the networking cmdlets By default a CIM session uses WSMAN as its transport protocol … Continue reading

Posted in PowerShell and CIM | 1 Comment

LocalAccounts module

I’m running Windows 10 and I’m on the fast ring for new Windows 10 builds. Sometimes that’s a good thing and other times its not. I decided to update help and after the update got a message: Failed to update … Continue reading

Posted in PowerShell v5, Windows 10 | Leave a comment

Module Name change NetworkSwitch to NetworkSwitchManager

Just been caught out by a module name change in WMF 5.0 The NetworkSwitch module has been renamed to NetworkSwitchManager.  Still has the same functionality Disable-NetworkSwitchEthernetPort        Disable-NetworkSwitchFeature             Disable-NetworkSwitchVlan                Enable-NetworkSwitchEthernetPort         Enable-NetworkSwitchFeature              Enable-NetworkSwitchVlan                 Get-NetworkSwitchEthernetPort            Get-NetworkSwitchFeature                 Get-NetworkSwitchGlobalData              Get-NetworkSwitchVlan                    New-NetworkSwitchVlan                    Remove-NetworkSwitchEthernetPortIPAddressRemove-NetworkSwitchVlan                 Restore-NetworkSwitchConfiguration       Save-NetworkSwitchConfiguration          Set-NetworkSwitchEthernetPortIPAddress   … Continue reading

Posted in WMFv5 | Leave a comment

PowerShell Community in action

In response to this post – ttps://richardspowershellblog.wordpress.com/2016/02/29/csv-file-with-in-headers/ Japp Brasser wrote a function to automate header name replacements. You can find the function at https://github.com/jaapbrasser/UtilityScripts/blob/master/Import-CsvFixHeader.ps1 Enjoy

Posted in Powershell | 1 Comment