Ben Hart
asked on
remove-powershellvirtudirectory not working
IN an attempt to troubleshoot a different issue with my Exchange 2010 setup I'm trying to remove the powershell VD... which is failing.
I run "get-powershellvirtualdire ctory" and the results list three different VD's, two of which it says "WARNING: IIS://servername/W3SVC/1/R OOT/vdname wasn't found" Now those two entried it gives that warning for are the names of VD's that I manually created earlier. I deleted them by "Removin" in the IIS Manager. (I think now that was the wrong way)
Anyway since those two false entries are listed, that means their in a file somewhere right? It would be better if they weren't correct? How would I remove references to them?
Secondly, When I run "remove-powershellvirtuald irectory -identity "new powershell" (which is the name of the current powershell VD) I get another error "Operation cannot be performed because object blah couldn't be found on 'servername'"
So how can I successfully remove these?
I run "get-powershellvirtualdire
Anyway since those two false entries are listed, that means their in a file somewhere right? It would be better if they weren't correct? How would I remove references to them?
Secondly, When I run "remove-powershellvirtuald
So how can I successfully remove these?
To delete\recreate the PowerShell Virtual Directory
a.Open Windows PowerShell Using Administrative Credentials
b.Load Exchange 2010 Snapin using the following command
c.Add-PSSnapin Microsoft.Exchange.Managem ent.PowerS hell.E2010
a.Open Windows PowerShell Using Administrative Credentials
b.Load Exchange 2010 Snapin using the following command
c.Add-PSSnapin Microsoft.Exchange.Managem
ASKER
I assumed all the required snapins would be loaded automatically using the "Windows Powershell Modules"...?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! worked great
ASKER