Wednesday, August 5, 2020

Rename Folder on Windows using Ansible Playbook


I am trying to rename TestFolder which in available in C:\ Drive using ansible



  - name: Rename folder name
    win_shell: rename-item .\TestFolder .\RenamedFolder
    args:
      chdir: c:\     #Path where the folder is avilable and needs to rename.



Before Running Ansible Play book




After Running Ansible Playbook








Monday, August 3, 2020

Check the Azure VM Start / Stop date and time


How to check when the Azure  VM was started and stopped by user in azure.



Click on the VM. Select Resources health under Support+ troubleshooting.
Here you can get the details when was the VM started and stopped with date.