Skip to content

Get-FogModules

SYNOPSIS

Returns the modules in fog with their names, ids, descriptions, and if they're set to be enabled by default

SYNTAX

Get-FogModules [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Returns the api module object.
Can be utilized to find what modules are enabled by default when creating a new host

EXAMPLES

EXAMPLE 1

$mods = Get-FogModules
$mods

Will put the list of modules in a variable and then display the list

EXAMPLE 2

Get-FogModules | Where-Object isDefault -eq '1'

Will display the modules that are set to be enabled by default in your fog server settings

PARAMETERS

-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