Immelstorn
Immelstorn

Reputation: 137

Difference between WebCommitDelay and IISCommitDelay

What is the difference between WebCommitDelay and IISCommitDelay?

MS docs says the same for both: Instructs the IIS configuration system to delay the commitment of changes.

So what should I prefer and why? It looks like they have some differences indeed, because if I use WebCommitDelay, I can't use New-WebApplication ... -Force if the same application is exists, but I can do this if I use IISCommitDelay.

Upvotes: 0

Views: 212

Answers (1)

Brando Zhang
Brando Zhang

Reputation: 28257

As far as I know, the IISAdministration PowerShell module which was a new way to manage IIS.

This module included numerous improvements over the existing WebAdministration cmdlets.

So the IISCommitDelay is the new method which is used to management the IIS.

Detials, you could refer to this article.

Upvotes: 0

Related Questions