Right click options, copy several hostnames (solution)

i´m going to show you how can we copy several hostnames:

First, click in the options “Copy several hostnames”:

and then, we do right click in only one endpoint in the option “Copy \ Delete Several hostnames” (no matter what endpoint):

image

Now we have the hostname of the 29 endpoints in the clipboard:

image

This are the reg entries:
you have to create the folder “C:\temp\severalhostnames”

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions]

[HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Copy Hostname Masive]
"ComputerApplicabilityRelevance"="true"
"MenuDisplayName"="&Copy Several Hostnames"
"ShellCommandRelevance"="\"cmd.exe /C copy null > c:\\temp\\severalhostnames\\\" & (name of current computer as trimmed string)"
"MaxSetSize"=dword:00001000

[HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Delete Hostname Masive]
"ComputerApplicabilityRelevance"="true"
"MenuDisplayName"="&Copy \\ Delete Several Hostnames"
"ShellCommandRelevance"="\"cmd.exe /C dir /B c:\\temp\\severalhostnames | clip | del /Q c:\\temp\\severalhostnames\\*\""
"MaxSetSize"=dword:00000001

This is my easy solution for copy several hostnames.
I hope this can help you.
regards.

5 Likes