Ansible script to connect to a window server and change the drive letter

Job ID: 34410941

Budget: $15 – $25 USD

Ansible script to connect to a windows server and change the drive letter.
By default, D: drive is the temporary drive after server installation.
1- Need to disable current paging
2- then we need to change D: drive name to DoNotUse (paging File)
3- Change the drive letter to P: drive and reboot
4- Set P; drive as page file
5- Need to fetch info about the drive with label Data and change its drive letter to D;
Related categories: Ansible