locked
registry discovery, server name RRS feed

  • Question

  • Hello

    Usually i use powershell discovery so i can filter computer names without overrides,groups, etc

    But its very slow way

    I checked some core os management packs and found its basically a lot of WMI query, that slow too

    Are there any guaranteed registry key i can use to get server name ?


    none

    Monday, July 13, 2020 4:33 PM

Answers

  • Hi,

    You can get the computer name from the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by SComrrr Monday, July 13, 2020 5:02 PM
    Monday, July 13, 2020 4:38 PM