PowerShell New-Item 将创建脚本所在的目录,而不是在指定的路径中
作者:MyselfAndOnlyMe 提问时间:11/8/2021
我正在编写一个 PowerShell 脚本,我需要在C:\Users 我的脚本位于桌面上。 我创建目录的脚本行是这样的: New-Item -ItemType "directory" -Forc...
新建项 问答列表
作者:MyselfAndOnlyMe 提问时间:11/8/2021
我正在编写一个 PowerShell 脚本,我需要在C:\Users 我的脚本位于桌面上。 我创建目录的脚本行是这样的: New-Item -ItemType "directory" -Forc...