Hello Community,
I would like to ask for help about VSAE. I am using Kevin Holman´s fragments. In one of them we have alredy filtered Windows Computers based on AD filter. We also find relations using this hostnames to verify if any hostname participate in cluster group. We have also cluster group name filtered in array.
the think is about defining discovery to create dynamic group containing cluster name.... cluster name is only short one. No FQDN but discovery block for Microsoft.Windows.Computer require full name...
$instance = $DiscoveryData.CreateClassInstance("$MPElement[Name='Windows!Microsoft.Windows.Computer']$")
$instance.AddProperty("$MPElement[Name='Windows!Microsoft.Windows.Computer']/PrincipalName$", $clustername)
$instance.AddProperty("$MPElement[Name='System!System.Entity']/DisplayName$", $clustername)
$DiscoveryData.AddInstance($instance)
Can somebody help me how to solve this?
thank you
Jan