gpt4 book ai didi

powershell - 如何在命名空间中组织类?

转载 作者:行者123 更新时间:2023-12-02 23:41:15 25 4
gpt4 key购买 nike

谷歌搜索没有找到任何信息。是否可以以某种方式在命名空间中组织自己的 PowerShell 5 类?

最佳答案

好的,最后我使用了这个 link 下描述的布局/代码.要导入类,我必须使用 using module ..\..\Classes。如所述here我无法使用 Import-Module,因为此 cmdlet 不会导入任何类。

关于powershell - 如何在命名空间中组织类?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41930543/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com