Change Computer Name if it does not contain Dell Service Tag - superseded
0 Votes |
Versioning - This is an older version.
1 | Change Computer Name if it does not contain Dell Service Tag | 12/5/2012 10:48:26 AM |
2 | Change Computer Name if it does not contain Dell Service Tag | 8/21/2015 10:33:30 AM |
Description
Property Details
717 | |
Change Computer Name if it does not contain Dell Service Tag | |
BESC | |
Setting Change | |
0 | |
Internal | |
jgstew | |
8/17/2011 12:00:00 AM | |
Dell Change Computer Tag rename | |
True | |
jgstew on 12/5/2012 10:48:26 AM | |
jgstew on 12/5/2012 10:48:26 AM | |
9546 Views / 3 Downloads | |
![]() ![]() ![]() ![]() ![]() |
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 1 fixlet | * Results in a true/false |

exists (string value of select "Manufacturer from Win32_ComputerSystem" of wmi)
Used in 1 fixlet | * Results in a true/false |

(string value of select "Manufacturer from Win32_ComputerSystem" of wmi) as lowercase contains "dell"
Used in 1 fixlet | * Results in a true/false |

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 |

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=1141Success Criteria
// 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
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |