Forum Discussion

Cole_McDonald's avatar
Cole_McDonald
Icon for Professor rankProfessor
2 months ago
Solved

Building Dynamic Groups using Powershell Batchscript DataSources

I'm looking for a way to use the "Description" field I'm collecting when building instances from a batchscripted datasource. current output I'm using in the active discovery writes WildAlias, WIld...
  • Cole_McDonald's avatar
    31 days ago

    I've got it figured out.

    for output, the fifth slot in the ## separated output will fill in instance properties.  Here's the new output:

    write-output "$($proc.processname)##$($svcmatch.displayname)##$toolname####toolname=$toolname"

    This writes an instance property as auto.toolname and if you set the instance grouping in the active directory setting "Group Method" to "Instance Level Property" and set the "parameter" field to "auto.toolname"