Implemeting sql server cmdlets