Map the hostname(servername) with service profile name
I am trying to find a way to map the service profile name with the hostname of the server that is associated with that service profile.
For example, the server Chassis-1\Blade-4 is associated with service profile named "stapp-01" and Windows OS has been installed on this server, but the hostname of the server is "app-02". So I am not able to map these two names, for now I am doing this manually by logging in through KVM, finding the hostname. Is there a PowerTool\PowerShell command to find this information without having to login into the server. We have this issue on Linux servers as well.