| external help file | Module Name | online version | schema |
|---|---|---|---|
AzdoAPITools-help.xml |
AzDoAPITools |
2.0.0 |
Converts a YAML PSOBject to YAML using Powershell-YAML and outs to a UTF-8 yml file
Convert-AzDoAPIToolsYamlObjectToYAMLFile [-InputObject] <Object> [-outputpath] <String>
[-Outputfilename] <String> [<CommonParameters>]
Converts a YAML PSOBject to YAML using Powershell-YAML and outs to a UTF-8 yml file
PS C:\> Convert-AzDoAPIToolsYamlObjectToYAMLFile -InputObject $objectToConvert -outputpath 'C:\OutPutPathToUse'
-Outputfilename 'FileNameToUse.yml'This Example will convert the $ObjectToConvert to YAML notation and output it to C:\OutPutPathToUse\FileNameToUse.yml. If the path does not exist it will prompt to create it for you.
Object which is YAMLPrepped and needs conversion.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseString filename to use including extension to write.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseString path name where you want the yml file to be written to.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.