Quantcast
Channel: THWACK: All Content - All Communities
Viewing all articles
Browse latest Browse all 20202

APM script variables

$
0
0

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.


Viewing all articles
Browse latest Browse all 20202

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>