Hi
I am not able to delete Serviceapplicationpools that have been created with my webapplications (through Powershell scripts).
I removed the Webapplications I wanted with the "remove-spwebapplication", and used "Get-spserviceapplicationpool" to list my ApplicationPools.
However, when I try to remove-spserviceapplicationpool "Minside", i get the error that object could not be found. "Minside" was also the name of the webapplication though...but it was listed when i used get-spserviceapplicationpool cmlet..so i guess this is the name of the applicationpool also. tell me if I am wrong!
Image may be NSFW.
Clik here to view.
My goal is to remove all serviceapplciationpools for the webapplications i have created, but i keep getting this error..
I tried including the port number in the remove-spserviceapplicationpool also, but same results.
What I really need is a script for completely removing all signs of spesific webapplication and applicationpoolswebapplications.
best regards
Bjørn