Take for example the optional parameter -Filter on Get-ChildItem.
If one were to incorporate a call to Get-ChildItem in a PowerShell script, how can -Filter be exposed also as an optional parameter on the script such that it will only be passed to the cmdlet if specified?