Skip to main content

Hello everyone,

We are in the process of migrating several machines to Azure. Could anyone assist me in creating a script that changes/update the storage policy from A to B for all the affected servers? All servers have an FS agent installed.

Thank you in advance for your help.

Hello @xor 

Thanks for the great question, I’m not sure how many Storage policies you have to do this on but there is already a feature for this in the GUI: 
 



Please advise if this is suitable or if a script is still needed due to the amount of SP you have in your environment.

Kind regards

Albert Williams


Hello,

Yes, I can do this through the GUI, but I am forced to find each server individually and move it. If I have over 100 machines (with similar names) in that policy, it will be a pain.

It could be an idea to use a script and/or automation where I manually enter the server name. I used a methodology like this to add a description to 100 servers, but I can't find anything for storage policy.

XOR


Reply