CopilotDemo1.ps1

Function Get-Foo {
    param(
        [string]$name)
    write-host "This is my foo, $name"
}

Get-Foo -name "Bob"