To forward function parameters to a cmdlet, use $psboundparameters automatic variable and splatting. Here is a sample: function Get - BIOS ( $ComputerName , $Credential ) { Get-WmiObject Win32_BIOS @ psboundparameters } Your function Get-BIOS works both...