The subsequent stage is To place the script together. You are able to modify your script for getting and insert any info you involve, my case in point saves the username, provider tag, and computer make/model – I’ve additional a handful of opinions to show what is going on on:
Sign in to vote I have not stated myself perfectly sufficient. The thought is to jot down while in the Advert Description field. Very little to perform having a Develop, just an advertised SCCM occupation to permit Services Desk to have the ability to use the privilege of SCCM career to include entry into Advert. Nevertheless you might have answered the dilemma John in that a TS cannot have conversation. I exploit the exact same course of action in my Earn seven Create in that I have an not known computer HTA monitor that asks for AD Description at Make time that's written to an OSD variable then later on in the TS I operate a VBscript underneath the account with rights to Advert to populate the description field.
But I desired to pull computers into 1 Eye-centre collection which I created in SCCM , and based on Description attribute of the computer in facet Advertisement which I've prepared description as "Eye_centre" could it be feasible to pull computers...?
Up coming we need to gather information that we want to be inside our Advert Description. So working with WMI queries and also a foundation of make, design and serial quantity as a starting point. We use the subsequent strains of code for getting that facts:
Idea. In this example the command is run Along with the domain administrator privileges. To complete exactly the same to other accounts, give them the corresponding privileges (see below).
Thank you a great deal for the reaction.I did discover all computers from employing AD into all default collections.
Notice. The disadvantage of the approach is any authenticated Advert person can change or delete the description of any computer in Active Directory.
I obtained this query from Web and it labored for two computers to be a examination but right after including 3rd and 4rth computer with exact description I am not able to see new computers in sccm console
Devoid of SCCM reports, this large administration instruments is managing silently on all your equipment however you’re not benefiting of all the benefits. It’s like possessing a Activity vehicle and getting the Autobahn … Okay it's possible not.
My Option was the under script which was executed by means of a run command line phase from the endeavor sequence. The only real requirement for this is that the account used to run the script has the necessary permissions to update Advert objects.
Subsequent find the entire text report description cell. In the Attributes box on the appropriate, scroll down right up until sccm computer description field you find the Visibility portion.
In truth it should be a standard offer BUT in an effort to do the actual Advertisement updating it ought to run less than a particular person ID.
Is there any additional performance that I must add to WinPE for this script to work? The WinPE-Scripting deal is set up by default on this Model of PE but I’m undecided if that’s all it desires. Any ideas will be significantly appreciated. Thanks,
If characteristics experienced USN's, you would have problems with "exhausting the USN" when As an illustration "LastLogonTime" on person objects exactly where up-to-date.