Fundamentals11 / 16
Up next

Typed variables

# a type constraint keeps the variable to one type
[int]$count = 10
$count += 5
Write-Output $count
What you're solving

constrain a variable to a type