CmdID / PowerShell / Cmdlets / Disable
Disable-IISSharedConfig
Disables IIS shared configuration. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-CopyRemoteConfigToLocalFilesCopies remote configuration over the local version of applicationHost.config before disabling shared configuration.-DontRestoreBackedUpKeysIndicates that this operation does not restore backed up keys.