As the subject says - i'm trying to remove an application pool using the SP Management Shell (using Administrator).
I have a pool named SharePoint - User Profiles
I try to remove this app pool by running the remove-spserviceapplicationpool command and then typing SharePoint - User Profiles and it blows up on me...
Here's an example of the input/output:
PS C:\Users\shsetup> remove-spserviceapplicationpool
cmdlet Remove-SPServiceApplicationPool at command pipeline position 1 Supply values for the following parameters: Identity: SharePoint - User Profiles
Remove-SPServiceApplicationPool : Object not found. At line:1 char:32 + remove-spserviceapplicationpool <<<< + CategoryInfo : ObjectNotFound: (Microsoft.Share...ApplicationPo ol:SPCmdletRemoveI...ApplicationPool) [Remove-SPServiceApplicationPool], I nvalidOperationException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveIi sWebServiceApplicationPool
Remove-SPServiceApplicationPool : Object reference not set to an instance of an object. At line:1 char:32 + remove-spserviceapplicationpool <<<< + CategoryInfo : InvalidData: (Microsoft.Share...ApplicationPool: SPCmdletRemoveI...ApplicationPool) [Remove-SPServiceApplicationPool], Null ReferenceException + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletRemoveIi sWebServiceApplicationPool
Any help would be much appreciated! Thanks, Taps