Param ( [int] $daysold = 30, [switch] $whatif ) echo $daysold echo $whatif #Clear-Variable olderthen