myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Userexist script for ROLE based on typ of machine.

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> Microsoft Deployment (BDD-OSD) >> Userexist script for ROLE based on typ of machine. Page: [1]
Login
Message << Older Topic   Newer Topic >>
Userexist script for ROLE based on typ of machine. - 6/12/2008 4:20:59 AM   
rmagnusson

 

Posts: 1
Score: 0
Joined: 11/5/2007
Status: offline
Hi.
I have been trying to create a Userexist script that would check is the machine is for instance a Laptop.
If the machines is a Laptop then it should be boundled with a certain Role.
The purpose is when you roll a machine some laptop specifc packages (ex VPN client) should be added to the build automaticly.
Problem seem to that the Role can be Role1 on some builds and Role2, 3 or 4 on some build depending on how many Roles the machine have attached to it.
So would be cool if the script uses som sort on "NextRole" variable.

Script checks if the Machine is a Laptop if YES then add "Laptop_Role" to the next role ex Role3.

Thanks!
Post #: 1
RE: Userexist script for ROLE based on typ of machine. - 6/13/2008 5:16:20 PM   
rbennett806


Posts: 825
Score: 13
Joined: 6/14/2006
Status: offline
Have you thought about just using Make/Model Roles and deploying things that way?

The other idea might be to simply put a VBScript wrapper around your package installation. Then you can fire it off on anything, and the script will first check to see if it's being executed on a desktop or laptop.

Just some thoughts...

(in reply to rmagnusson)
Post #: 2
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> Microsoft Deployment (BDD-OSD) >> Userexist script for ROLE based on typ of machine. Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.406