我尝试.\script.psd1过并且.\script.psm1。我怎样才能运行它?是的,我已经设置了执行策略,并且我想从桌面或其他地方的某个目录运行脚本。
.\script.psd1
.\script.psm1
powershell
powershell ×1