TestM.psm1


cls

function get-bios
{
[cmdletbinding()]
param([string[]]$cname="*")
Get-WmiObject -Class win32_bios -ComputerName $cname
}

function get-OS
{
[cmdletbinding()]
param([string[]]$cname="*")
Get-WmiObject -Class win32_Operatingsystem -ComputerName $cname
}

function get-CS
{
[cmdletbinding()]
param([string[]]$cname="*")
Get-WmiObject -Class win32_computersystem -ComputerName $cname
}