Use DeployImage Module and PowerShell to Build a Nano Server: Part 3
Summary: Sean Kearney uses the New-UnattendXMLContent cmdlet in his DeployImage module to automate naming the Nano Server.Honorary Scripting Guy, Sean Kearney, is here today to continue with our work...
View ArticlePowerTip: Use PowerShell to Create Module Manifest
Summary: Use Windows PowerShell to build a module manifest for GitHub. How can I use Windows PowerShell to build a module manifest for my module in GitHub? In Windows PowerShell 5.0 use the...
View ArticleUsing DeployImage and Windows PowerShell to Build a Nano Server: Part 4
Summary: Use the new cmdlets in the DeployImage module to simplify the deployment of a Nano Server.Honorary Scripting Guy, Sean Kearney, is here to get into the really fun part of deploying a Nano...
View ArticlePowerTip: Escape Parsed Content in PowerShell String
Summary: Use the backtick character to insert data normally parsed by Windows PowerShell in a string. Certain characters (such as the colon and double quotation marks) are special in Windows...
View ArticleUsing DeployImage and Windows PowerShell to Build a Nano Server: Part 5
Summary: Use the DeployImage module to build bootable Windows PE media with deployment content.Honorary Scripting Guy, Sean Kearney, is here today to show you one of my favorite pieces of my...
View ArticlePowerTip: Find Module Path with Windows PowerShell
Summary: Use Windows PowerShell to determine the location of a module. How can I use Windows PowerShell to find the location of a module that I am using from a vendor? Use the Path property of the...
View ArticleWeekend Scripter: PowerShell ASCII Bar Charts
Summary: Microsoft PFE, Wei Hao Lim, presents a script that creates ASCII bar charts.Microsoft Scripting Guy, Ed Wilson, is here. Today we have a new guest blogger. Please welcome Wei Hao Lim.Wei is a...
View ArticlePowerTip: Time How Long PowerShell Command Takes to Complete
Summary: Easily time how long a Windows PowerShell command takes to complete. How can I time how long a command takes to complete in Windows PowerShell? Use the Measure-Command cmdlet—for example, to...
View ArticleWeekend Scripter: Conceptual PowerShell Help
Summary: Guest blogger, Tim Warner, talks about using Windows PowerShell conceptual Help.Microsoft Scripting Guy, Ed Wilson, is here. Welcome back Timothy Warner as our guest blogger today.Tim is an...
View ArticlePowerTip: Find List of PowerShell About Topics
Summary: Find a list of Windows PowerShell About topics. How can I find Help topics so I can learn about various Windows PowerShell concepts? Use Get-Help and a wildcard character, for example:Get-Help...
View ArticleWhat is Pester and Why Should I Care?
Summary: Guest blogger, Dave Wyatt introduces a new test framework for PowerShell called Pester.This week we are honored to have one of the authors of Pester here with us on the Hey, Scripting Guys!...
View ArticlePowerTip: Get Started with Pester Tests and PowerShell
Summary: Learn how to start a Pester test. How do I run Pester tests? Place your tests into a file with a name that ends with .Tests.ps1, and then run the Invoke-Pester cmdlet.
View ArticleGetting Started with Pester
Summary: Guest blogger, Dave Wyatt explains how to get information back from Pester.At the end of yesterday’s post, What is Pester and Why Should I Care?, I showed this brief example of a .Tests.ps1...
View ArticlePowerTip: Connect Pester to Automated System
Summary: Learn how to incorporate Pester into an automated system. How do I incorporate Pester into an automated system? Use one of the features in Pester that are built for this purpose: NUnit XML...
View ArticleUnit Testing PowerShell Code with Pester
Summary: Guest blogger, Dave Wyatt, discusses using Pester to analyze small pieces of Windows PowerShell code. Note This is Part 3 of a five-part series. Also see:What is Pester and Why Should I...
View ArticlePowerTip: Test Active Directory Script with Pester
Summary: Use Pester to safely test script changes to Active Directory. How can I test my Active Directory script without having it make changes to my live domain? Use Pester’s mocking feature to test...
View ArticleTesting Script Modules with Pester
Summary: Dave Wyatt discusses using Pester for testing PowerShell modules. Note This is Part 4 of a five-part series. Also see:What is Pester and Why Should I Care?Getting Started with PesterUnit...
View ArticlePowerTip: Use Pester to Test Functions in Module
Summary: Use Pester to test new functions in your module. How can I unit test a non-exported function in my script module? Use the InModuleScope command to execute some or all of your Pester script...
View ArticleMore Pester Features and Resources
Summary: Dave Wyatt wraps up his week teaching us about Pester with information about more resources. Note This is a five-part series that includes the following posts:What is Pester and Why Should...
View ArticlePowerTip: Contribute to the Pester Project
Summary: Learn how you can add to the Pester solution. How can I contribute to Pester? On the project’s GitHub site, submit bug reports or feature requests in the Issues log, or submit your...
View Article