icinga-powershell-framework/lib/core/icingaagent/getters/Get-IcingaNetbiosName.psm1

7 lines
125 B
PowerShell
Raw Normal View History

function Get-IcingaNetbiosName()
{
$ComputerData = Get-WmiObject Win32_ComputerSystem;
return $ComputerData.Name;
}