how to write and run .ps1
- use .txt file
- change the suffix to .ps1 from .txt
3)how to run .ps1
3.1) PS D:> .\test.ps1
1
2
3
4
5
6
7
8
9
10
3.2) PS D:> tes then press tab key to compensate and complete the whole file name
3.1) PS D:> .\test.ps1
1
2
3
4
5
6
7
8
9
10
3.2) PS D:> tes then press tab key to compensate and complete the whole file name