Change Computer Name if it does not contain Dell Service Tag - superseded
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is an older version.

1Change Computer Name if it does not contain Dell Service Tag12/5/2012 10:48:26 AM
2Change Computer Name if it does not contain Dell Service Tag8/21/2015 10:33:30 AM

Description

This task will rename a computer to be the Dell Service tag, if is not already. This is helpful for organizations who name their computers based upon the service tag by convention. This could be modified to rename a computer to the serial number for not just Dell computers, or for other uses.

Property Details

ID717
TitleChange Computer Name if it does not contain Dell Service Tag
DomainBESC
CategorySetting Change
Download Size0
SourceInternal
Source IDjgstew
Source Release Date8/17/2011 12:00:00 AM
KeywordsDell Change Computer Tag rename
Is TaskTrue
Added by on 12/5/2012 10:48:26 AM
Last Modified by on 12/5/2012 10:48:26 AM
Counters 9546 Views / 3 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 57 fixlets and 4 analyses   * Results in a true/false
Show indented relevance
(name of it = "WinXP" OR name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND NOT x64 of it) OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND NOT x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system
Used in 2 fixlets and 23 analyses   * Results in a true/false
Show indented relevance
exists wmi
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists (string value of select "Manufacturer from Win32_ComputerSystem" of wmi)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
(string value of select "Manufacturer from Win32_ComputerSystem" of wmi) as lowercase contains "dell"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists (string value of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmi) AND ("" != (string value of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmi)) AND (7 = length of (string value of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmi))
Used in 1 fixlet   * Results in a true/false
Show indented relevance
computer name does not contain (string value of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmi)

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// The source for this script can be found here: http://forum.bigfix.com/viewtopic.php?id=1141
// download freeware utility
prefetch compname.exe sha1:7ea62d7d32a18b6904b36501fb4cad573c99ed36 size:207872 http://www.willowhayes.co.uk/download/compname.exe
waithidden cmd.exe /C __download\compname /c {(string value of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmi)}
action requires restart
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!