PowerShell for Windows Admins:

November, 2013


November 30, 2013  8:52 AM

CDXML: Module Manifest

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Last time we created a module using CDXML to wrap the Win32_Bios WMI class. This gave us a cmdlet – Get-Bios. As the intention is to create a number of modules that expose the WMI classes related to hardware we need a module manifest file (.psd1) to load them so that we can take advantage of...

November 30, 2013  6:48 AM

CDXML

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

Its been stated many times that over 60% of the modules in PowerShell 3 & 4 are created using CDXML – objects-over-cmdlets. This involves taking a WMI class and wrapping it in XML to create a PowerShell module. At this time many admins are running for the door but it really isn’t that...


November 30, 2013  5:39 AM

Defender Module: Threat Catalog

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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.A 4 TrojanDownloader:Win32/Holistyc 2 Dialer:Win32/EPlugin 5 Backdoor:Win32/Fxsvc 2...


November 29, 2013  4:56 PM

Mac Address

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

No not where you go for a burger! I saw a post on the forum about getting the MAC address fro remote machines. The original post was using a fixed filter on NetConnectionID which assumes that all of your machines are configured equally. I think a better approach is to gather all the...


November 29, 2013  4:44 PM

Clear the Trusted Hosts list

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

This post rounds out the remoting series and shows you how to clear the trusted hosts list http://blogs.technet.com/b/heyscriptingguy/archive/2013/11/29/powertip-use-powershell-to-clear-the-trusted-hosts-file.aspx


November 29, 2013  12:43 PM

Windows 8.1 Defender module

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

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.0 AMProductVersion ...


November 29, 2013  4:33 AM

Remoting series

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

My remoting series on the Scripting Guy blog has finished. The full set of posts...


November 28, 2013  3:36 PM

PowerShell on Windows RT

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

PowerShell v4 contains a help file get-help about_Windows_RT –showwindow That explains the differences between PowerShell on a full Windows device and on a Windows RT device such as a Surface 2


November 28, 2013  3:28 PM

Get-Process in PowerShell 4

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

If you use Get-Process in PowerShell v3 £> Get-Process powershell Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName ------- ------ ----- ----- ----- ------ -- ----------- 516 17 49436 59220 233 8.86 7100...


November 27, 2013  2:35 PM

Capacity planning series finished

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

My capacity planning series on the Scripting Guy blog finished last week. Didn’t get chance to post about it as I was at Microsoft in Seattle. Full series and associated powertip...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: