How To Write Cmdlets using PowerShell Script