< Back

Set-AppSettings

Mon Jan 13, 2020 6:29 pm

NAME Set-AppSettings



SYNOPSIS





SYNTAX

Set-AppSettings [-document] <XmlDocument> [-key <String>] [-value <String>] [<CommonParameters>]





DESCRIPTION

Configure the app settings section in any web.config or app.config file. Create the key-value pair if does not

exist,

Otherwise update existing value.





PARAMETERS

-document <XmlDocument>



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-key <String>



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-value <String>



Required? false

Position? named

Default value

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





RELATED LINKS