# Provision scripts are not working for me

**URL:** <https://forum.genieacs.com/t/provision-scripts-are-not-working-for-me/4108>\
**Category:** Uncategorized\
**Created:** [June 23, 2023, 7:00am UTC](https://forum.genieacs.com/t/provision-scripts-are-not-working-for-me/4108 "2023-06-23T07:00:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiv](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@shiv](https://forum.genieacs.com/u/shiv)\
**Post date:** [June 23, 2023, 7:00am UTC](https://forum.genieacs.com/t/provision-scripts-are-not-working-for-me/4108/1 "2023-06-23T07:00:14Z")

</div>

Hello, I want to execute the getParameterAttributes() RPC. I read on another post that this is only possible using Provision scripts. I tried to write one

declare(“Device.DeviceInfo.Manufacturer”, {path: 1});  
var paramNames = [“Device.ManagementServer.PeriodicInformInterval”];  
var paramAttributes = getParameterAttributes(paramNames);  
log(paramAttributes[0]);

But I clearly don’t know what I am doing. Can anyone please help? I already tried going through the wiki and any forum discussions (that is where I got the hint for the above code). Can anyone please help? Also is a setParameterAttributes() possible?

Thanks a lot in advance

---

<div class="post-metadata">

**Author:** ![rudymartin](https://avatars.discourse-cdn.com/v4/letter/r/919ad9/32.png) [@rudymartin](https://forum.genieacs.com/u/rudymartin)\
**Post date:** [June 23, 2023, 3:01pm UTC](https://forum.genieacs.com/t/provision-scripts-are-not-working-for-me/4108/2 "2023-06-23T15:01:30Z")

</div>

read [this](http://docs.genieacs.com/en/latest/provisions.html). make sure you have a preset pointing to your provision.

---

<div class="post-metadata">

**Author:** ![shiv](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@shiv](https://forum.genieacs.com/u/shiv)\
**Post date:** [June 25, 2023, 11:34am UTC](https://forum.genieacs.com/t/provision-scripts-are-not-working-for-me/4108/3 "2023-06-25T11:34:57Z")

</div>

Hi. Yeah, I had read the Provisions document but hadn’t found anything relevant to doing a getParametersAttributes. i do have a Preset pointing to the Provision. I had to change the channel to “inform”, and it works now. I found the notification command from one of Zaidka’s answers… on using that, I can see that the GetParameterAttributes packet is going out towards EasyCWMP. Is there anything similar for setPrameterAttributes as well? I can’t find it.
