Azione di verifica individuazione del computer LDAP
Microsoft.SystemCenter.LDAPComputerDiscoveryProbe (ProbeActionModuleType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<ProbeActionModuleType ID="Microsoft.SystemCenter.LDAPComputerDiscoveryProbe" Accessibility="Internal" Batching="false" PassThrough="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.Discovery.MapperSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="Domain" type="xsd:string"/>
<xsd:element name="Query" type="xsd:string"/>
<xsd:element name="Verify" type="xsd:boolean"/>
<xsd:element name="ComputerType" type="xsd:integer"/>
<xsd:element name="UserAndDomain" type="xsd:string"/>
<xsd:element name="Password" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="Domain" Selector="$Config/Domain$" ParameterType="string"/>
<OverrideableParameter ID="Query" Selector="$Config/Query$" ParameterType="string"/>
<OverrideableParameter ID="Verify" Selector="$Config/Verify$" ParameterType="bool"/>
<OverrideableParameter ID="ComputerType" Selector="$Config/ComputerType$" ParameterType="int"/>
<OverrideableParameter ID="UserAndDomain" Selector="$Config/UserAndDomain$" ParameterType="string"/>
<OverrideableParameter ID="Password" Selector="$Config/Password$" ParameterType="string"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Composite>
<MemberModules>
<ProbeAction ID="Probe" TypeID="Windows!Microsoft.Windows.LdapProbe">
<Domain>$Config/Domain$</Domain>
<Query>$Config/Query$</Query>
<Params>
<Param>dNSHostName</Param>
</Params>
<UserAndDomain/>
<Password/>
</ProbeAction>
<ProbeAction ID="Verifier" TypeID="Microsoft.SystemCenter.ComputerVerifier">
<Verify>$Config/Verify$</Verify>
<ComputerNames>$Data/Property[@Name='dNSHostName']$</ComputerNames>
<ComputerType>$Config/ComputerType$</ComputerType>
</ProbeAction>
<ConditionDetection ID="Filter" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='dNSHostName']</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>.+</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Mapper" TypeID="System!System.Discovery.ClassSnapshotDataMapper">
<ClassId>$MPElement[Name="Windows!Microsoft.Windows.Computer"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>PrincipalName</Name>
<Value>$Data/Property[@Name='dNSHostName']$</Value>
</Setting>
<Setting>
<Name>NetworkName</Name>
<Value>$Data/Property[@Name='dNSHostName']$</Value>
</Setting>
<Setting>
<Name>DNSName</Name>
<Value>$Data/Property[@Name='dNSHostName']$</Value>
</Setting>
<Setting>
<Name>NetbiosDomainName</Name>
<Value>$Data/Property[@Name='VerifiedNetBiosDomainName']$</Value>
</Setting>
<Setting>
<Name>IPAddress</Name>
<Value>$Data[Default='']/Property[@Name='VerifiedIPAddress']$</Value>
</Setting>
<Setting>
<Name>NetbiosComputerName</Name>
<Value>$Data/Property[@Name='VerifiedNetBiosName']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="Mapper">
<Node ID="Verifier">
<Node ID="Filter">
<Node ID="Probe"/>
</Node>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
<InputType>System!System.PropertyBagData</InputType>
</ProbeActionModuleType>