Skip to content

Latest commit

 

History

History
130 lines (100 loc) · 2.65 KB

Export-AvdConfig.md

File metadata and controls

130 lines (100 loc) · 2.65 KB
external help file Module Name online version schema
Az.Avd-help.xml
Az.Avd
2.0.0

Export-AvdConfig

SYNOPSIS

Exports the AVD environment, based on the hostpool name.

SYNTAX

FileExport (Default)

Export-AvdConfig -HostpoolName <String> -ResourceGroupName <String> -FileName <String> -Format <Array>
 [<CommonParameters>]

Console

Export-AvdConfig -HostpoolName <String> -ResourceGroupName <String> [-Console] [<CommonParameters>]

DESCRIPTION

The function will help you exporting the complete AVD environment to common output types as HTML and CSV.

EXAMPLES

EXAMPLE 1

Export-AvdConfig -Hostpoolname avd-hostpool-001 -ResourceGroupName rg-avd-001 -Format HTML -Verbose -Filename AVDExport

EXAMPLE 2

Export-AvdConfig -HostPoolName avd-hostpool-001 -ResourceGroupName rg-avd-001 -Format HTML,JSON -Verbose -Filename AVDExport

PARAMETERS

-HostpoolName

Enter the AVD hostpoolname name.

Type: String
Parameter Sets: (All)
Aliases:

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

-ResourceGroupName

Enter the AVD hostpool resource group name.

Type: String
Parameter Sets: (All)
Aliases:

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

-FileName

Enter the filename. Based on the format parameter the function will create a correct file. Default filepath is in the execution directory.

Type: String
Parameter Sets: FileExport
Aliases:

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

-Format

Enter the format you like. For creating more formats use a comma.

Type: Array
Parameter Sets: FileExport
Aliases:

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

-Console

{{ Fill Console Description }}

Type: SwitchParameter
Parameter Sets: Console
Aliases:

Required: True
Position: Named
Default value: False
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

RELATED LINKS