Quantcast
Channel: Hey, Scripting Guy! Blog
Browsing all 3333 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

Weekend 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 Article

Image may be NSFW.
Clik here to view.

PowerTip: 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 Article


Image may be NSFW.
Clik here to view.

Weekend 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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

What 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 Article

Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

Getting 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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

Unit 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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

Testing 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 Article


Image may be NSFW.
Clik here to view.

PowerTip: 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 Article

Image may be NSFW.
Clik here to view.

More 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 Article

Image may be NSFW.
Clik here to view.

PowerTip: 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
Browsing all 3333 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>