< Back

Export-ChainsawConfig

Mon Jan 13, 2020 12:49 am

NAME Export-ChainsawConfig



SYNOPSIS

Lets you export the current running config to a file.





SYNTAX

Export-ChainsawConfig [[-JsonPath] <String>] [-Force] [-ScopeGlobal] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-JsonPath <String>

[string] Defines where we will export to.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Force [<SwitchParameter>]

[switch] Defines if we are going to overwrite the existing file.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-ScopeGlobal [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-ChainsawConfig -JsonPath '.\\chainsaw.json'















RELATED LINKS