Can you change IIS application settings from cmd?
I'm looking at setting an IIS application setting through a script of some sorts, and I've been looking into appcmd.exe, but I can't quite tell whether I'm able to make the change I need to with this.
Anyways, I have an Server 2016 RDWeb instance running, and I'd like to be able to set the PasswordChangeEnabled setting from False to True. While I can do this from the IIS manager GUI with ease, I need to be able to do this from command prompt.
The setting is under [Server Name] –> Sites –> Default Web Site –> RDWeb –> Pages and open the section Application Settings.
Is this possible to achieve using appcmd??
Using powershell, I had accomplished the same task, but other attribute, in the past.
Get-IISConfigSection
Set-IISConfigAttributeValue
Unfortunately I don't have an IIS available now to find the exact command. Check this also:
MS IIS administration