I think -o at the end of the naviseccli command overides the y/n prompt  Gearoid
I am trying o run naviseccli command and remove several hlu from multiple sgs but its asking fo an answer yes or no. any idea how to set answer y without prompting?  ./naviseccli -h 10.50.1.230 storagegroup -removehlu -gname "$hostname" -hlu $hlu
naviseccli command answer yes