Get-FogHostMacs¶
SYNOPSIS¶
Returns the macs assigned to a given host
SYNTAX¶
byHostObject¶
Get-FogHostMacs [-hostObject <Object>] [<CommonParameters>]
byHostID¶
Get-FogHostMacs [-hostID <Object>] [<CommonParameters>]
DESCRIPTION¶
Gets all macs and finds the ones with a matching hostid of the given object
Use Get-FogHost to get the host object
EXAMPLES¶
EXAMPLE 1¶
Get-MacsForHost (Get-FogHost)
Will return the macs assigned to the computer running the command
PARAMETERS¶
-hostObject¶
The host object you get with Get-Foghost
Type: Object
Parameter Sets: byHostObject
Aliases:
Required: False
Position: Named
Default value: (Get-FogHost)
Accept pipeline input: False
Accept wildcard characters: False
-hostID¶
{{ Fill hostID Description }}
Type: Object
Parameter Sets: byHostID
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.