Skip to content

Example Guide

An example of a basic code block

foreach ($file in $files) {
Write-Host $file
}

An example of a basic code block, formatted with PowerShell

Terminal window
foreach ($file in $files) {
Write-Host $file
}

An example of a basic code block, formatted with PowerShell with no frame

foreach ($file in $files) {
Write-Host $file
}

An example of a basic code block, with a title

Powershell Example
foreach ($file in $files) {
Write-Host $file
}

An example of a basic code block, with a title and a code frame

files.ps1
foreach ($file in $files) {
Write-Host $file
}

A more complex example of a code block

files.ps1
foreach ($file in $files) {
Write-Host $file
Write-Host $file.Path
}

An example of simple asides