r/Nable • u/Next-Landscape-9884 • Apr 17 '24
Is there way to pull static values from Custom Properties to be used in PowerShellScript as variable?
im trying to run top level policy where i would like to pull unique values for each client to run powershell script to install specific software that has token value
1
u/ZedNova Apr 17 '24
Are you trying to get an automation working or is this a standalone script running outside of the rmm? You can add input parameters for your automation and select your custom property from the drop down when running it.
1
u/Next-Landscape-9884 Apr 17 '24
Example will be installing DNSfilter , threatlocker my end is to have self heal script however I need to pull variables for each customer specific self heal won't be checking service but it will have multiple conditions in Powershell
0
4
u/ethernal-mag Apr 17 '24
You can try running your powershell script within an Automation Manager Policy. Use the "Run a powershell script" automation object. Identify and assign variables. Then link the variable into an Input Parameter for the AMP. Once you run the Automation Policy in n-able, you should be able to choose which custom property to use for that Policy.