powershell #include

$ownSscriptRoot = 'C:\abs\path\Documents\PowerShell\'

$workPS = $ownSscriptRoot + "work.ps1"
Import-Module $workPS

在本文中可使用work.ps1中定义的函数

posted @ 2023-03-07 14:24  fndefbwefsowpvqfx  阅读(16)  评论(0编辑  收藏  举报