Difficulty: beginner
Estimated Time: 2 minutes

Welcome to your first PowerShell Katacoda Scenario!

You've completed your first PowerShell Katacoda scenario!

Working with String Scanner

Step 1 - Install, Load and try the module

This is your first step.


Install-Module PSStringScanner -force

Import the PSStringScanner module

Import-Module PSStringScanner -force

Try it out

"123 456 789".Scan('\d+')

Create a scanner

$scanner = New-PSStringScanner "The quick brown fox"

What can be done?

$scanner | Get-Member

Let's Scan


Once more


Finally, loop


while(!$scanner.EoS()) {$scanner.Scan('\w+')}

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]