![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Powershell
Jerry104393
这个作者很懒,什么都没留下…
展开
-
Windows下的curl命令使用与Powershell自动化测试接口
$count=5 #curl次数$data="post的数据内容" #此处为双引号,post数据内容用单引号$url="http://www.baidu.com" #此处为双引号for($i=1;$i -le $count;$i++){E:\curl\bin\curl.exe -X POST --header "Content-Type: application/json" --header "Accept: applicatio.原创 2021-01-14 19:47:42 · 1827 阅读 · 0 评论 -
Powershell批量创建IIS站点
1 需求: 对D:\websites目录下所有以数字开头的文件夹批量创建IIS站点,端口即为开头的数字Import-Module WebAdministration$panfu='D:'$path1=$panfu+'\websites\' #服务文件夹所在基路径$panfucd $path1dir -Name |findstr -v 60023 > name.txt #排除60023的文件夹,此文件夹不需要建站点fo..原创 2020-07-21 21:04:27 · 375 阅读 · 0 评论