AudioDeviceCmdlets 是一套用于控制 Windows 上音频设备的 PowerShell Cmdlet。
AudioDeviceCmdlets 是一套用于控制 Windows 上音频设备的 PowerShell Cmdlet。
包源: nuget.org 浏览: Microsoft.PowerShell.5.1.ReferenceAssemblies 安装: v1.0.0+ 5. 设置解决方案配置 建立 -> 配置管理器… 主动解决方案配置: 发布 6. 构建 Cmdlet Build -> 编译解决方案 AudioDeviceCmdlets\SOURCE\bin\Release\AudioDeviceCmdlets.dll 7. 将 Cmdlet 导入到 Windows 的 PowerShell
$FilePath = "C:\Path\To\AudioDeviceCmdlets\SOURCE\bin\Release\AudioDeviceCmdlets.dll"
New-Item "$($profile | split-path)\Modules\AudioDeviceCmdlets" -Type directory -Force
Copy-Item $FilePath "$($profile | split-path)\Modules\AudioDeviceCmdlets\AudioDeviceCmdlets.dll"
Set-Location "$($profile | Split-Path)\Modules\AudioDeviceCmdlets"
Get-ChildItem | Unblock-File
Import-Module AudioDeviceCmdlets
```
## 赞助
谢谢 f暂无开放 Issues,或尚未同步最近议题。