List/Grid Articles Subscribe RSS feed of category Articles

Pester Mock and TestDrive

Pester Mock and TestDrive

In this part of Pester basics series, I will cover the most powerful tool from the whole framework, the Mock function. This function lets you hide any function with a… Read more »

Installing WMF 5.0 Preview September 2014 using DSC xWindowsUpdate and xPendingReboot resources

Installing WMF 5.0 Preview September 2014 using DSC xWindowsUpdate and xPendingReboot resources

If you have missed the announcement, Powershell team released wave 7 of the DSC Resource Kit just before the weekend. This wave has added the following: xPendingReboot examines three specific… Read more »

Inter-node dependency and cross-computer synchronization with DSC

Inter-node dependency and cross-computer synchronization with DSC

I had earlier ranted about why DSC is not an orchestrator and that I posted a connect suggestion to add inter-node dependency in DSC. If you have been following WMF… Read more »

Easily Defining Enums, Structs, and Win32 Functions in Memory

Easily Defining Enums, Structs, and Win32 Functions in Memory

In the past, I’ve spoken extensively on how to use reflection to define enums, structs, and Win32 functions in PowerShell and the merits of doing so. PowerSploit is also heavily… Read more »

New features introduced in Windows Management Framework 5.0 Preview September 2014

New features introduced in Windows Management Framework 5.0 Preview September 2014

Windows Management Framework 5.0 Preview September 2014 was released on September 4. An overview of new features added since the May 2014 Preview is listed in the announcement on the… Read more »

Using the ConvertFrom-String cmdlet to parse structured text

Using the ConvertFrom-String cmdlet to parse structured text

One of PowerShell strengths has always been string manipulation. PowerShell has very good support for regular expressions–using both cmdlets and operators. There are cmdlets to import and export several text file… Read more »

© 2014 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.