want to be able to cleanly install / upgrade an IIS appPool, website, virtual dir.
there is an issue where if the ID is already being used but the IIS component isn't installed it will still error saying name is taken.
need to use something like powershell for this:
-
want to compare current IIS to the file we want to import.
1.a) file name, if in IIS export file
1.b) take out params such as ID
1.c) ignoring whitespace compare the whole file (line by line probably) if same then only install if force.. then need to do uninstall first.
-
if doesn't exist on server should find an ID on the destination machine that is not in use and replace that in the file.
want to be able to cleanly install / upgrade an IIS appPool, website, virtual dir.
there is an issue where if the ID is already being used but the IIS component isn't installed it will still error saying name is taken.
need to use something like powershell for this:
want to compare current IIS to the file we want to import.
1.a) file name, if in IIS export file
1.b) take out params such as ID
1.c) ignoring whitespace compare the whole file (line by line probably) if same then only install if force.. then need to do uninstall first.
if doesn't exist on server should find an ID on the destination machine that is not in use and replace that in the file.