Skip to content

Get-FogHostPendingMacs

SYNOPSIS

Gets the pending macs for a given hosts

SYNTAX

byId (Default)

Get-FogHostPendingMacs [-hostID <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

byHost

Get-FogHostPendingMacs [-fogHost <Object>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Gets the macs for a host and filters them to just pending ones.
The returned object can then be approved with approve-fogpendingmac
or denied with deny-fogpendingmac

EXAMPLES

EXAMPLE 1

Get-PendingMacsForhost -hostID 123

gets the macs if any for foghost 123

EXAMPLE 2

Get-PendingMacsForhost -hostID 'ComputerName'

Returns the pending macs for the host with the name ComputerName

PARAMETERS

-fogHost

{{ Fill fogHost Description }}

Type: Object
Parameter Sets: byHost
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-hostID

the hostid or hostname of the fog host

Type: Object
Parameter Sets: byId
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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.

INPUTS

OUTPUTS

NOTES