Hi Rahmatullah,
I think cvachovecj had already answered in the , but this needs to be run as a config change template; you'll need to go to the Config Change Templates page of NCM and click on Create New Config Change Template then paste in the script; some details on what to do once it's there and an updated script are located at https://thwack.solarwinds.com/docs/DOC-167187?sr=stream&ru=203377
Hope this helps.
Regards,
John