I'm migrating from one computer to another and in order to serve up my web app locally IIS requires some handler mappings in order to serve .svc
extensions. I found on the new computer I'm missing those mappings. I'd like to script the creation of these mappings so that it's reliably repeatable. I found there's a powershell command Get-WebHandler
and New-WebHandler
. I was hoping I could get the hanlder mappings from the remote (old) IIS instance and pipe that into the new hanlder command.
Can I reference a remote IIS machine with Get-WebHandler
or is there another command I would use to get IIS settings that I would then pipe into Get-WebHandler
?