I'm trying to execute this commande new-webapppool and i keep getting that the IIS drive was not found, inthe documentation there is IIS:> while i have my local drive, how do I activate it?
I tried importing webAdministration but I don't think thats the problem
When I try to open PowerShell directly and run the script, it prompts: Cannot find drive. A drive with the name 'IIS' does not exist..
But when I reopen PowerShell as administrator and run the command, the problem is solved.