Skip to main content
Question

Command Line | Script for Storage update | Azure Migration

  • February 17, 2024
  • 2 replies
  • 27 views

Forum|alt.badge.img+5
  • Byte
  • 13 replies

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.

2 replies

Forum|alt.badge.img+15

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


Forum|alt.badge.img+5
  • Author
  • Byte
  • 13 replies
  • February 21, 2024

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