#211062 - 2016-02-02 02:35 PM
ComputerinGroup Functions
|
Robdutoit
Hey THIS is FUN
 
Registered: 2012-03-27
Posts: 363
Loc: London, England
|
I was busy trying to optimise the speed of my scripts and I noticed that one area where my script seems to pause is with computeringroup function.
Looking at the function - I was using this one - http://www.kixtart.org/UDF/UDF_lister.php?what=post&code=84539
it would seem that its more suited for XP/2003 environments.
I tried this function
http://www.kixtart.org/UDF/UDF_lister.php?what=post&code=195717
and it seems to be much faster - virtually no delay!
I don't know if it would be advisable to either delete the slower version or if is required for xp/2003 machines then perhaps the older one should be listed as intended for XP/2003 upwards clients and servers and the newer one could be listed as intended for Vista/2008 clients and servers
What do you guys think?
|
|
Top
|
|
|
|
#211067 - 2016-02-02 07:55 PM
Re: ComputerinGroup Functions
[Re: Glenn Barnas]
|
Robdutoit
Hey THIS is FUN
 
Registered: 2012-03-27
Posts: 363
Loc: London, England
|
That will be my next task with the script. To optimise UDF Calls to group memberships as I have them in several places in the script. I will try and consolidate them.
I am not too fussed about the matter as both work and one may well be faster on another network - mileage may vary. But I am going to update my scripts for all my clients to use the LDAP version as everything is in active directory anyway!
I just found out today that Britain does indeed have a turn off switch for the Internet. We had a countrywide outage lasting over two hours today from London and below all the way up to Scotland for any customer using BT - must have been a catastrophic failure given how many redundancies are built in.
|
|
Top
|
|
|
|
#211072 - 2016-02-03 12:58 PM
Re: ComputerinGroup Functions
[Re: Robdutoit]
|
Glenn Barnas
KiX Supporter
   
Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
|
No, my network isn't.. 3 desktops, 3 laptops, and 2 older tablets in special service. We do have 28 servers (not including VMware), but that's mostly to have the resources to develop and certify enterprise capable code. We have a full RDS Farm (3 farm groups, 5 servers total), a web farm infrastructure (1 farm manager, 1 Code Management, and 4 Code Delivery servers), a CA infrastructure, an email content filter gateway fronting Exchange 2013 CAS and MBX servers, in addition to file/print, backup, media delivery and other infrastructure platforms. 3 servers are dedicated to pure development - a W2003 host, a Linux based load balancer, and a Linux based virtual iSCSI SAN, which is used when we test virtualized Windows clusters. The 2K3 server will soon be replaced with a 2K8 server - this is used for older platform certification.
I have deployed some of our software, such as our login script, log management service, WUS management service, and software deployment system to some fairly large organizations, including Liberty Travel (Flight Centre USA), CIT Group, the Federal Reserve, and Christian Dior. Liberty Travel, described in my earlier post, was probably the most complex as they had 435 departments across many retail locations around the US and two central office sites. They had 435 BAT files coupled with 435 Kix scripts for basic login, plus a handful of other BAT and EXE utilities. This was reduced to a single script with a single configuration file and is still in use (code unchanged) since 2007.
Having an infrastructure that mirrors (on a smaller scale) the type found in larger organizations allows us to test code in situations that a smaller environment could not provide.
Glenn
_________________________
Actually I am a Rocket Scientist!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 476 anonymous users online.
|
|
|