Human: How do I create a script in Windows? Assistant: 
Create a Script in Windows
1. Open PowerShell and make sure you choose "Run as administrator."  
2. Click the File tab.
3. Click New.
4. Click the cursor in the script pane.
5. Write your script.
6. Click the File tab.
7. Click Save.