Friday, January 09, 2009
Deployment Forum HomeDeployment Forum ArticlesDeployment Forum Download LibraryDeployment Forum Member BlogsDeployment Forum Community Forums
Member Login
StandardLiveID


Register
Forgot Password ?



Guests can view and read messages in the community forums, but you must register and log in to Deployment Forum before you can post messages. Click Register at the top of this page. Before posting messages, please read the forum guidelines at the bottom of this page.

Subject: Pulling Variables (COMPUTERDESCRIPTION) from MDT via VBScript.
Prev Next
You are not authorized to post a reply.

AuthorMessages
SieversUser is Offline

Posts:18

Send Message
08/14/2008 4:30 PM  

I am currently trying to make a script that pulls the ComputerDescription variable from MDT.  Right now I am at a loss on how to do this. 

I modified the DeployWiz_Definition_ENU.xml to show "Computer Description" under the Computer Name window.  Now the Variable.dat has the COMPUTERDESCRIPTION variable set correctly.  How do I pull this variable into a VBScript?  I'm pretty sure if I found the function to pull varialbes from MDT, I could get it to write the computer description to the registry, and everything would work.

KonradUser is Offline

Posts:67

Send Message
08/14/2008 6:36 PM  
The following might work:
Set oEnvironment = CreateObject("Microsoft.SMS.TSEnvironment")
sDescription = oEnvironment("COMPUTERDESCRIPTION")


There was a similar discussion about this here:http://www.deploymentforum.com/Community/Forums/tabid/124/forumid/16/postid/1217/view/topic/Default.aspx
SieversUser is Offline

Posts:18

Send Message
08/21/2008 10:42 AM  
That worked.  Thanks again for your help.
You are not authorized to post a reply.
Forums > Deployment Solutions > MDT 2008 > Pulling Variables (COMPUTERDESCRIPTION) from MDT via VBScript.



ActiveForums 3.7
Forum Policies
Minimize

These forums are a user-supported community for IT professionals to exchange deployment tips, solutions, and techniques. For the benefit of all Deployment Forum members, please observe the following guidelines when posting to these forums:

  • We reserve the right to remove any message. Our moderators will remove all messages that are not respectful or productive. Profanity, racism, prejudice, and flaming are not tolerated.
  • Do not advertise products or services. Our moderators will remove all advertisements or service announcements. Product and service recommendations from active Deployment Forum members are encouraged, however.
  • Make sure your question isn't already answered. Before posting questions, search the forums. After ensuring that your questions are unique, post them to the most appropriate forum. This will help reduce noise in the forums.
  • Help make the most of each thread. Do not post unrelated messages to a thread. Also, if you've resolved a question outside of these forums, please share the solution with other members by posting it back to the thread.
  • Do not share confidential information. Confidential information includes product keys and addresses. Our moderators will edit any message containing confidential information, so double-check messages and their attachments before posting them.
  • Post messages using only the English language. For the benefit of all Deployment Forum members, please post your messages using the English language.

We hope that you enjoy using this community. Please submit your comments and feedback on the Comments and Feedback page or post them to the Comments, Feedback forum.



Privacy Statement  |  Terms Of Use
© 2007 Jerry Honeycutt