Category Archives: Windows 8.1

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

Update on Office error

Back in this post I showed that this code $word = New-Object -ComObject “Word.application”            $word.visible = $true            $doc = $word.Documents.Add()            $doc.Activate()                        $word.Selection.Font.Name = “Cambria”            $word.Selection.Font.Size = “20”            $word.Selection.TypeText(“PowerShell”)            $word.Selection.TypeParagraph()                        $word.Selection.Font.Name = “Calibri”            $word.Selection.Font.Size = “12”            $word.Selection.TypeText(“The best … Continue reading

Posted in Office 2013, PowerShell v4, Windows 8.1 | Leave a comment

Get-ADUser issue fixed

The issue that I discussed in these posts: With Get-ADUser and –Properties * in a forest level below 2012 R2 has been resolved  in this update:

Posted in PowerShell and Active Directory, Windows 8.1, 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

Defender Module: Threat Catalog

You can see the threats that defender is testing against Get-MpThreatCatalog | select SeverityID, ThreatName You get a long list like this 5 TrojanDownloader:Win32/Agent.A4 TrojanDownloader:Win32/Holistyc2 Dialer:Win32/EPlugin5 Backdoor:Win32/Fxsvc2 Adware:Win32/Networkone This is the important one: Get-MpThreatDetection You want this to return nothing … Continue reading

Posted in Powershell, Windows 8.1 | Leave a comment

Windows 8.1 Defender module

Windows 8.1 includes a module – Defender for working with the anti-malware engine on the machine.  I’m presuming this means Windows Defender only The starting point is Get-MpComputerStatus £> Get-MpComputerStatus AMEngineVersion                 : 1.1.10100.0AMProductVersion                : 4.3.9600.16384AMServiceEnabled                : TrueAMServiceVersion                : 4.3.9600.16384AntispywareEnabled              : … Continue reading

Posted in PowerShell and WMI, PowerShell v4, Windows 8.1 | Leave a comment