DPeaco
9 months agoModerator
SLP Policy Name List
Greetings,
Is there a way to dump a list of SLP Policies that are activated via command line and NOT through the GUI?
I'm wanting to automate a way to make sure the job scheduler is running AND that all SLP Policies from a specific list is Activated....in case anyone forgets to activate the SLP policies after system maintenance.
Check this out. It is a quick and dirty script, but it may help you.
for i in `nbstl -b`
do
a=`nbstl $i -L |grep State |head -1|awk '{print $2}'`
echo $i," "$a
done