PowerShell + Devops
Global Summit

Building Better Scripts for the Future

Alexandra Johnson

@alex.powershell

PowerShell Automation Excellence

Building Better Scripts for the Future

Alexandra Johnson

@alex.powershell

Thanks!

Brand Color Showcase

All Official PowerShell Colors

Christopher Alexander Richardson-Smith

@christopher.richardson.powershell.expert

Brand Color Utilities

You can use all official PowerShell Summit colors:

  • Primary cyan for main highlights
  • Secondary blue for supporting content
  • Tertiary navy for professional accents
  • Quaternary purple for special emphasis

Brand Color Utilities Backgrounds

Primary background

Secondary background

Tertiary background

Quaternary background

Enhanced Lists with Brand Colors

Primary Cyan Lists

  • PowerShell automation best practices
  • Script optimization techniques
  • Error handling strategies

Enhanced Lists with Brand Colors

Purple Numbered Lists

  1. Plan your automation strategy
  2. Design robust error handling
  3. Test thoroughly before deployment
  4. Document everything clearly

Callout Variations

💡 Primary Tip

Use the primary callout for main tips and important information that should stand out prominently.

â„šī¸ Secondary Info

The secondary callout works great for supporting information and additional context.

More Callout Colors

🚨 Tertiary Warning

Navy callouts are perfect for warnings, cautions, or professional notices that need attention.

⭐ Quaternary Special

Purple callouts are ideal for special notes, pro tips, or highlighting unique features.

Gradient Effects

🌟 Gradient Callout

This gradient callout combines multiple brand colors for maximum visual impact and professional appearance.

Gradient Text Effects

Use gradient text for special emphasis and brand consistency throughout your presentations.

Enhanced Tables

Feature Primary Use Color Class Example
Primary Main highlights .primary Cyan text
Secondary Supporting content .secondary Blue text
Tertiary Professional accents .tertiary Navy text
Quaternary Special emphasis .quaternary Purple text

Table headers use the secondary brand color with white text

Code Examples with Styling

Here's PowerShell code with the enhanced styling:

# Get all running processes and sort by CPU usage
$processes = Get-Process | 
    Where-Object { $_.CPU -gt 0 } |
    Sort-Object CPU -Descending |
    Select-Object Name, CPU, @{n='WorkingSetMB';e={$_.WorkingSet/1MB}}

# Display results with formatting
$processes | Format-Table -AutoSize

The Space Grotesk font makes code very readable with the gradient background!

Enhanced Blockquotes

PowerShell Best Practice: Always use proper error handling in your automation scripts. The try-catch-finally pattern ensures robust script execution.

Performance Tip: Use Where-Object filtering early in your pipeline to reduce the amount of data processed in subsequent commands.

Security Note: Never hardcode credentials in scripts. Use secure methods like Get-Credential or Azure Key Vault integration.

Visual Hierarchy Example

Main Heading

Section Heading

Subsection

Bold text uses quaternary purple for emphasis.

Italic text uses primary cyan for highlights.

Small muted text for footnotes and references
Large tertiary text for important statements

List Style Variations

Secondary Blue Lists

  • Project planning essentials
  • Code review guidelines
  • Deployment strategies

Tertiary Navy Lists

  • Security considerations
  • Performance optimization
  • Best practice guidelines

Mixed Content Showcase

Performance Monitoring Script

🚀 Performance Tip

Always measure before optimizing. Use Measure-Command to baseline your scripts.

# Measure script execution time
$executionTime = Measure-Command {
    Get-Service | Where-Object Status -eq "Running" | 
    Sort-Object Name | Export-Csv -Path "services.csv"
}
Write-Host "Execution time: $($executionTime.TotalSeconds) seconds" -ForegroundColor Green
  1. Baseline your current performance
  2. Identify bottlenecks and inefficiencies
  3. Optimize critical code paths
  4. Measure improvements and validate gains

THANK YOU

Feedback is a gift

Please review this session via the mobile app

Questions? Find me @alex.powershell

No Background

You can set up slides without the background.

Appendix: All Brand Features

This presentation demonstrated:

✨ Complete Feature Set

  1. Title slides with flexible name/handle sizing
  2. Brand color utilities for all official colors
  3. Enhanced callouts in all brand color variations
  4. Gradient text effects for visual impact
  5. Enhanced tables with brand color headers

Appendix: All Brand Features

This presentation demonstrated:

✨ Complete Feature Set Cont

  1. Styled lists with colored markers
  2. Professional blockquotes with brand styling
  3. Code highlighting with gradient backgrounds
  4. Typography hierarchy using brand colors
Created with the Summit 2026 Marp theme â€ĸ PowerShell Summit 2026

Gotta thank the sponsors!