- Write a playbook to Create a dir, named with your-name inside C:\HPE and create a file named with “readme.txt” inside “C:\HPE\ and content of the file should be “I love India by your-name”.
- Write a playbook to Create a user named with “ansible” and password “ansible in Windows server
- Write a playbook to Create a file called “helloworld.ps1” in C:\HPE\ with content “mkdir devopsschool” and run a helloworld.ps1.
- Write a playbook to Download one of the msi file 64 bit from https://www.7-zip.org/download.html to windows remote and install it
- Write a playbook to Install a IIS and start a IIS
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals
The lab covers useful Windows automation scenarios, but it would be even more valuable to include failure recovery and rollback strategies. In production, tasks like software installation, IIS configuration, or user management don’t always complete successfully on every host. Designing playbooks with
block,rescue, andalwayssections allows teams to recover gracefully, collect diagnostic information, and leave systems in a predictable state instead of requiring manual intervention. This approach makes automation much more resilient as the number of managed Windows servers grows.