Author: Jakub Jareš (Page 2/4)

Pester Mock and TestDrive

In this part of Pester basics series, I will cover the most powerful tool from the whole framework, the Mock…

Read More

Testing your PowerShell scripts with Pester: Assertions and more

This is part two of Pester series of articles. In this article you will learn about the Context keyword, how…

Read More

Set keyboard layouts available on logon screen in Windows 8.1

While we worked on Windows 8.1 deployment, we were required to make multiple keyboard layouts available on the Windows logon…

Read More

Get started with Pester (PowerShell unit testing framework)

Some time ago I stumbled upon the Pester framework that promised I would be able to test my scripts. This…

Read More

#PSTip Comparing DateTime with a given precision

Note: This tip requires PowerShell 2.0 or above. Comparing two System.DateTime objects in PowerShell is really easy. All you need…

Read More

#PSTip Overriding the ToString() Method

Note: This tip requires PowerShell 2.0 or above. In this very helpful tip, Bartek shown us how to create a…

Read More