'Executing IIS launcher of visual studio with command line

I am facing an issue, I am writting a script to automatize some part in a project.

Basically, it builds a website: building the front end part, creates in IIS the application, virtual directory, application pool and then build the back end part.

But I have an error when I try to access it (here the error in the event viewer (and I don't have anything more) event viewer error (For info the folder "bin\ISSSupport" does not exist at this very moment, it is only created after the fix explained below)

To fix it I just need to execute IIS launcher in visual studio: IIS launcher I would like to know if there is a way doing this action with command line.

(Or even better if you know a solution to my first problem)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source