Real happy you got a working solution from what I managed to cobble together last night, thanks for sharing your solution with the forum, I can certainly see myself implementing this for when I need to stop and start the site in IIS I know this is not as elegant as what I was hoping for or what is probably in UDv3 but it works, and is now all pure powershell without any 3rd party tools or plug-ins required