Thursday, March 11, 2010
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: _SMSTSMachineName Variable
Prev Next
You are not authorized to post a reply.

AuthorMessages
mla1User is Offline

Posts:93

Send Message
06/24/2009 5:48 AM  

I have 1 task sequence for both laptops and desktop.  In our environment the hostname for laptops begins P and the hostname for Desktops begins with D.  During the build stage if I want to install something laptop specfic for example think Vantage Access connections,  I perform a WMI query as follows

WMI query Select *  From Win32_ComputerSystem WHERE Name LIKE  "P%"

I have to use this method as Lenovo have a killion different number of model names.  This works well for install except I now need to validate that the laptop has at least 1gb and desktops need to be 1.5gb.

If I Insert 2 validation task sequences at the start of the deployment in the validation stage.  the 1st for laptop and the second for desktop.  How would I query the hostname if it has not been set yet.   The variable for the hostname has been set and I thought that it would be called _SMSTSMachineName.

If I add an if statement to the laptop validation on Task Sequence variable and put the following

Variable: _SMSTSMachineName

Condition: equals

Value:L%

It does not perform the validation how can I query the variable ? What am I doing wrong ?

thanks mla1

mla1User is Offline

Posts:93

Send Message
06/24/2009 10:21 AM  

****  Update even if you have no WMI query, the task sequence carries on and ignores the memory check.   Can anyone confirm if the Validate Task Sequence works.  Ensure minimum memory.

If you set the minimum memory to 1000 when the machine your building has 512mb  the task sequence carries on regardless.  Has anyone got this to work ?

You are not authorized to post a reply.
Forums > Deployment Solutions > MDT 2008 > _SMSTSMachineName Variable



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