This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

APM script variables

I want to run a script that will show the current replication status of a domain controller.

if you run: "for /f "tokens=12 delims=," %a in ('repadmin /showrepl <CentralHUBServerName> /csv ^| find /i """DC=domain,DC=com""" ^|find /i "${Node.Caption}"') do @echo Statistic: %a & exit %a"

it would work, but only if I could get ${Node.Caption} to resolve, any ideas?

it might go to unknown status instead of down depending on what that field becomes, but that ok.