Category Archives: Windows 8

Formatting disks – – the new way

Last time I showed how to format disks using the Win32_Volume CIM class. If you need to perform this activity on a Windows Server 2012/Windows 8 or later system you can use a couple of cmdlets from the Storage module … Continue reading

Posted in Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2 | Leave a comment

Windows installed features

On a Windows Server 2012 or 2012 R2 system you can install the ServerManager module and use the Get-WindowsFeature cmdlet to discover the installed features. They can be managed with Install-WindowsFeature and Uninstall-WindowsFeature . These cmdlets don’t exist on Windows … Continue reading

Posted in PowerShell V3, PowerShell v4, Windows 8, Windows 8.1 | Leave a comment

Transferring modules from Windows 8 or 8.1 to Windows 7

Windows 7 shipped with PowerShell 2.0 installed.  Windows 8 brought PowerShell 3.0 and Windows 8.1 brings PowerShell 4.0. Windows 8 and 8.1 also have a lot of modules installed. This extra functionality widens PowerShell reach immensely – the networking modules … Continue reading

Posted in CDXML, CIM, PowerShell and WMI, PowerShell V3, PowerShell v4, Windows 7, Windows 8, Windows 8.1 | Leave a comment

Setting an IP address

I need to add an IP address to an adapter.  I could use the GUI or WMI but with Windows 8/2012 and above I’ve got all of the nifty networking cmdlets to play with. Lets start with finding the adapter … Continue reading

Posted in Networking, PowerShell V3, Windows 8, Windows Server 2012 | Leave a comment

International Module

The International module has an interesting set of cmdlets:£> Get-Command -Module International | select Name Name—-Get-WinAcceptLanguageFromLanguageListOptOutGet-WinCultureFromLanguageListOptOutGet-WinDefaultInputMethodOverrideGet-WinHomeLocationGet-WinLanguageBarOptionGet-WinSystemLocaleGet-WinUILanguageOverrideGet-WinUserLanguageListNew-WinUserLanguageListSet-CultureSet-WinAcceptLanguageFromLanguageListOptOutSet-WinCultureFromLanguageListOptOutSet-WinDefaultInputMethodOverrideSet-WinHomeLocationSet-WinLanguageBarOptionSet-WinSystemLocaleSet-WinUILanguageOverrideSet-WinUserLanguageList £> Get-WinHomeLocation | fl * GeoId        : 242HomeLocation : United Kingdom £> Get-WinSystemLocale | fl * Parent                         : enLCID                           : 2057KeyboardLayoutId               : 2057Name                           : … Continue reading

Posted in PowerShell V3, Windows 8, Windows Server 2012 | 5 Comments

Windows Error Reporting Cmdlets

Windows Error Reporting (WER) captures software crash and hang data from Windows systems. The data is sent to Microsoft for analysis. The data captured by WER is used to identify those bugs that are affecting customers the most. Fixing those … Continue reading

Posted in PowerShell V3, Windows 8, Windows Server 2012 | Leave a comment

Internet Connection

Can you find the network adapter on your machine that’s connected to the Internet?  On a Windows 8/2012 machine its fairly simple: PS> Get-NetConnectionProfile -IPv4Connectivity Internet Name             : NetworkNameInterfaceAlias   : AdapterNameInterfaceIndex   : 12NetworkCategory  : PrivateIPv4Connectivity : InternetIPv6Connectivity : LocalNetwork What … Continue reading

Posted in Networking, PowerShell V3, Windows 8, Windows Server 2012 | 1 Comment

RDP annoyance

I’ve RDPing into a number of servers from different systems recently and the way the screen resolution changes to match your monitor size is annoying. If I use the shortcut to the session I get whatever sizes were set in … Continue reading

Posted in Windows 8, Windows Server 2012 | 1 Comment

Network Adapters–Disable/Enable

Last time we saw the Get-NetAdapter cmdlet from the NetAdapter module PS> Get-NetAdapter | ft Name, InterfaceDescription, Status -a Name     InterfaceDescription                           Status —-     ——————–                           —— Ethernet NVIDIA nForce 10/100/1000 Mbps Ethernet        Up WiFi     Qualcomm Atheros AR5007 802.11b/g WiFi Adapter Up … Continue reading

Posted in PowerShell and WMI, PowerShell V3, Windows 8, Windows Server 2012 | 3 Comments

Network adapters

The WMI classes Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration have seen a lot of use over the years. They can be a bit fiddly to use which is why the NetAdapter module in Windows 8/2012 is a so welcome. Lets start by looking … Continue reading

Posted in PowerShell and WMI, PowerShell V3, Windows 8, Windows Server 2012 | Leave a comment