Old news. :)

Seriously (and perhaps shockingly) there are still some few things that are 
easier to do in vbscript.

Try to do this over remote PowerShell for example (instead of targeting a 
remote server from a local instance). Introduce yourself to Kerberos dual-hop 
problems (which you may have previously seen in SharePoint but most 
administrators are lucky enough to have never seen before).

(Sorry, feeling a little cynical tonight.)

Regards,

Michael B. Smith
Consultant and Exchange MVP
http://TheEssentialExchange.com

From: Christopher Bodnar [mailto:[email protected]]
Sent: Tuesday, April 05, 2011 6:14 PM
To: NT System Admin Issues
Subject: IIS WMI and PowerShell

Thought I would pass this along in the hope that it may save someone some time:

http://technet.microsoft.com/en-us/library/ff730973.aspx

So I'm trying to retrieve some settings on virtual directories on an internal 
FTP sever we have. I've been trying to use PowerShell as much as possible 
instead of VBScript, so I fire it up and start working at it. Eventually decide 
on something like this:

get-wmiobject -Class IIsFtpVirtualDirSetting -NameSpace root\MicrosoftIISv2 
-Computer FTPSERVERNAME

And I get "Access Denied", so I try another namespace on the same server:

get-wmiobject -list -NameSpace root\Microsoftnlb -Computer FTPSERVERNAME

Works perfectly. Huh?..... try another. All the namespaces enumerate except for 
MicrosoftIISv2. Again, huh?.... So I finally Google it and and found the link 
above, which explains it in detail. Ugh......

If you are still with me here, and interested, try enumerating the UNCUserName 
and UNCPassWord. I couldn't believe what I was seeing when I did that. I know 
it's FTP and across the wire the passwords are sent in clear text, but I had no 
idea they were stored that way as well. Not good.

Thanks for listening.

Chris Bodnar, MCSE, MCITP
Technical Support III
Distributed Systems Service Delivery - Intel Services
Guardian Life Insurance Company of America
Email: [email protected]<mailto:[email protected]>
Phone: 610-807-6459
Fax: 610-807-6003 ----------------------------------------- This message, and 
any attachments to it, may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law. If the reader of 
this message is not the intended recipient, you are notified that any use, 
dissemination, distribution, copying, or communication of this message is 
strictly prohibited. If you have received this message in error, please notify 
the sender immediately by return e-mail and delete the message and any 
attachments. Thank you.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to 
[email protected]<mailto:[email protected]>
with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to