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

0 Votes

Versioning - This is the latest 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

ID6170
StatusAlpha - Code that was just developed
TitleChange Computer Name if it does not contain Dell Service Tag
DomainBESC
CategoryConfiguration
Download Size0
SourceInternal
Source IDjgstew
Source Release Date8/21/2015 12:00:00 AM
KeywordsDell Change Computer Tag rename
Is TaskTrue
Added by on 8/21/2015 10:33:30 AM
Last Modified by on 8/21/2015 10:33:30 AM
Counters 15232 Views / 39 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

isWindows (Relevance 1172)
Used in 1152 fixlets and 538 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Windows XP or later (Relevance 2996958)
Used in 20 fixlets and 9 analyses   * Results in a true/false
Show indented relevance
version of operating system >= "5.1"
Used in 1 fixlet and 6 analyses   * Results in a true/false
Show indented relevance
exists wmis
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists string values whose(it as lowercase contains "dell") of selects "Manufacturer from Win32_ComputerSystem" of wmis
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists string values whose(7 = length of it) of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmis
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists computer names whose(it does not contain unique value of string values of selects "IdentifyingNumber from Win32_ComputerSystemProduct" of wmis)

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!