mikefrobbins.com
open-menu closeme
Home
About
mikefrobbins.com
twitter mastodon github linkedin rss
  • Loop through a collection of items with the Pester TestCases parameter instead of using a foreach loop

    calendar Dec 9, 2016  · Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    One of the huge benefits of attending in-person technology events is getting to network with others. While at the MVP Summit last month I had a chance to demonstrate some of my PowerShell code and Pester tests to Jim Truher. I was developing the code and tests for a session to present for the PowerShell Virtual Chapter …


    Read More
  • Video: Automate Operational Readiness and Validation Testing of SQL Server with PowerShell and Pester

    calendar Nov 17, 2016  · Operational Validation Pester PowerShell SQL Server  ·
    Share on: twitter facebook linkedin copy

    I recently presented a session on "Automate Operational Readiness and Validation Testing of SQL Server with PowerShell and Pester" for the PowerShell Virtual Chapter of SQL PASS. The video from that presentation is now available: Both the code and slide deck from the presentation can be found in my presentations …


    Read More
  • Separating Environmental Code from Structural Code in PowerShell Operational Validation Tests

    calendar Sep 8, 2016  · Operational Validation Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    Do you ever feel like you're writing the same operational validation or readiness test over and over again? I'm not sure about you, but I don't like repeating myself by rewriting the same code because it creates a lot of technical debt. There has to be a better way . Why not take the same thought process from DSC …


    Read More
  • Use PowerShell and Pester for Operational Readiness Testing of Altaro VM Backup

    calendar Sep 1, 2016  · Altaro VM Backup Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    I've recently been working with Altaro VM Backup and I must say that I've been very impressed with the ease and simplicity of the product. The back-end portion of the product can run on a virtual or physical server with or without the GUI (Server Core is supported). It can backup to just about any type of drive (local …


    Read More
  • Why isn’t Test Driven Development more widely adopted and accepted by the PowerShell community?

    calendar May 12, 2016  · Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    We've all heard that TDD (Test Driven Development) means that you write unit tests before writing any code. Most of us are probably writing functional or acceptance tests after the fact because the idea of Test Driven Development isn't clearly defined, at least not in my opinion. I originally thought it meant to write …


    Read More
  • Be Mindful of Object Types when Writing Unit Tests and Performing Operational Validation in PowerShell with Pester

    calendar Apr 28, 2016  · Operational Validation Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently wrote a Pester test that performs some basic operational validation (smoke tests) of SQL Servers. I've previously written similar tests as functions as shown in my Write Dynamic Unit Tests for your PowerShell Code with Pester blog article, but I decided to write this one as a script with the naming …


    Read More
  • Write Dynamic Unit Tests for your PowerShell Code with Pester

    calendar Apr 14, 2016  · Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    I wrote a blog article on: PowerShell Script Module Design: Placing functions directly in the PSM1 file versus dot-sourcing separate PS1 files earlier this year and I've moved all of my PowerShell script modules to that design and while today's blog article isn't part of a series, that previous one is recommended …


    Read More
  • Using Pester and the Operation Validation Framework to Verify a System is Working

    calendar Nov 12, 2015  · Operation Validation Framework Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    If you haven't seen the Operation Validation Framework on GitHub, it's definitely something worth taking a look at. This framework allows you to write Pester tests to perform end-to-end validation that a system is operating properly. Pester is typically used to perform test driven development or unit testing on your …


    Read More
  • Using Pester to Test PowerShell Code with Other Cultures

    calendar Oct 22, 2015  · Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    I recently published a blog article on unexpected case sensitivity in PowerShell. An example in that blog article uses the contains method which is indeed case sensitive. One of the workarounds that I demonstrated was to convert whatever the user entered to upper case using the ToUpper() method. One of the reasons I …


    Read More
  • Using Pester for Test Driven Development in PowerShell

    calendar Oct 9, 2014  · Pester PowerShell  ·
    Share on: twitter facebook linkedin copy

    How do you normally write your PowerShell code? Your answer is probably like mine and most other IT pros. You have a task that you need to accomplish and instead of performing a clicker-size in the GUI whenever that task is required to be performed, you write a PowerShell one-liner, script, or function to automate that …


    Read More

Mike F. Robbins photo

Mike F. Robbins

Scripting | Automation | Efficiency
Read More

Disclaimer

All information and code on this site is for informational purposes only and provided as-is. This site does not provide any warranty, either express or implied. All thoughts and opinions are my own.

Recent Posts

  • How to Write Code Blocks and Inline Code in Markdown
  • Write Clear Step-by-Step Instructions Using Markdown
  • The Complete Guide to Markdown Lists for Technical Writers
  • Getting Started with Markdown for Technical Writers
  • How to Open a PR in a Different Fork with the GitHub CLI
  • Why you should avoid using all caps in technical writing
  • Shorten Azure CLI commands in PowerShell without backticks
  • Customize and automate a clean macOS Dock layout

Categories

POWERSHELL 352 ACTIVE DIRECTORY 34 SCRIPTING GAMES 32 SQL SERVER 20 DESIRED STATE CONFIGURATION 18 AZURE 14 HYPER-V 10 LINUX 9 VSCODE 9 POWERSHELL SUMMIT 8 GIT 7 IIS 6 MARKDOWN 6 OFFICE 365 6 PESTER 6 AZURE POWERSHELL 5 CONTENT CREATION 5 DOCUMENTATION 5
All Categories
ACTIVE DIRECTORY34 ALTARO VM BACKUP2 APPASSURE1 APPLICATION INSIGHTS1 ARCOLINUX4 AST4 AWS1 AZURE14 AZURE CLI1 AZURE POWERSHELL5 CENTOS1 CONTENT CREATION5 CROSS-PLATFORM1 DEBIAN1 DESIRED STATE CONFIGURATION18 DHCP SERVER2 DOCUMENTATION5 EXCHANGE SERVER2 EXCHANGE SERVER 20102 GIT7 GITHUB2 GITHUB CLI2 GITHUB PAGES1 GROUP POLICY1 HARDWARE1 HUGO3 HYPER-V10 IIS6 LINUX9 MACOS5 MARKDOWN6 MICROSOFT SQL SERVER3 NANO SERVER1 OFFICE 3656 ONRAMP3 OPERATIONAL VALIDATION4 PACMAN1 PAMAC1 PARALLELS1 PARU1 PESTER6 PLASTER2 POWERSHELL352 POWERSHELL CORE3 POWERSHELL STUDIO1 POWERSHELL SUMMIT8 POWERSHELL WEB ACCESS1 RASPBERRY PI1 REGULAR EXPRESSIONS1 SAPIEN TECHNOLOGIES3 SCRIPTING GAMES32 SERVER CORE2 SOURCE CONTROL2 SQL SERVER20 STORAGE AREA NETWORK2 TECHNICAL WRITING5 TRAINING VIDEOS4 UBUNTU1 VERSION CONTROL4 VIRTUALIZATION1 VSCODE9 VWORKSPACE1 WINDOWS3 WINDOWS 105 WINDOWS 81 WINDOWS 8.11 WINDOWS PACKAGE MANAGER1 WINDOWS SERVER 2003 R21 WINDOWS SERVER 20081 WINDOWS SERVER 2008 R21 WINDOWS SERVER 20123 WINDOWS SERVER 2012 R22 WINDOWS SERVER 20161 WINDOWS SERVER 20192 WINDOWS TERMINAL1 WINGET1 WRITING TIPS5
[A~Z][0~9]

Tags

POWERSHELL 345 ACTIVE DIRECTORY 32 SCRIPTING GAMES 30 SQL SERVER 21 DSC 19 DESIRED STATE CONFIGURATION 18 AZURE 14 HYPER-V 11 VIDEO 11 PESTER 10 LINUX 9 VSCODE 9 AST 8 GIT 8 POWERSHELL VERSION 5 8 MARKDOWN 7 GITHUB 6 IIS 6
All Tags
ACTIVE DIRECTORY32 ALTARO VM BACKUP2 APPASSURE1 APPLICATION INSIGHTS1 ARCOLINUX4 AST8 AWS1 AZ1 AZURE14 AZURE CLI1 AZURE POWERSHELL5 AZURERM1 CENTOS1 CONTENT CREATION5 CROSS-PLATFORM1 DEBIAN1 DEDUPLICATION1 DESIRED STATE CONFIGURATION18 DHCP1 DHCP SERVER2 DOCUMENTATION5 DSC19 EQUALLOGIC1 EXCHANGE 20101 EXCHANGE SERVER2 EXCHANGE SERVER 20101 GIT8 GITHUB6 GITHUB ACTIONS1 GITHUB CLI3 GITHUB PAGES1 GROUP POLICY1 HARDWARE1 HUGO3 HYPER-V11 IIS6 LINUX9 MACOS5 MARKDOWN7 NANO SERVER1 NIMBLE1 OFFICE 3656 ONEGET5 ONRAMP3 OPERATION VALIDATION FRAMEWORK1 OPERATIONAL VALIDATION4 PACMAN1 PAMAC1 PARALLELS1 PARU1 PESTER10 PLASTER2 POWERSHELL345 POWERSHELL CORE3 POWERSHELL SCRIPT MODULE DESIGN6 POWERSHELL STUDIO1 POWERSHELL SUMMIT6 POWERSHELL VERSION 58 POWERSHELL WEB ACCESS1 POWERSHELLGET2 PRODUCTIVITY HACKS1 PSBLOGWEEK1 RASPBERRY PI1 REGULAR EXPRESSIONS1 SAN2 SCRIPT ANALYZER1 SCRIPTING GAMES30 SERVER CORE2 SOURCE CONTROL6 SQL SERVER21 STORAGE AREA NETWORK2 TECHNICAL WRITING5 UBUNTU1 VERSION CONTROL4 VIDEO11 VISUAL STUDIO CODE3 VSCODE9 VWORKSPACE1 WINDOWS3 WINDOWS 106 WINDOWS 82 WINDOWS 8.11 WINDOWS PACKAGE MANAGER1 WINDOWS SERVER 2003 R21 WINDOWS SERVER 20124 WINDOWS SERVER 2012 R21 WINDOWS SERVER 20192 WINDOWS TERMINAL1 WINGET1 WMI2 WRITING TIPS5
[A~Z][0~9]
mikefrobbins.com

Copyright  mikefrobbins.com. All Rights Reserved

to-top