弹出对话框
add-type -AssemblyName PresentationFramework [System.Windows.MessageBox]::Show("$(Get-Location)") # 添加MessageBox所在的namespace,打印当前活动目录pwd,注意pwd不一定是当前ps1文件所在目录
add-type -AssemblyName PresentationFramework [System.Windows.MessageBox]::Show("$(Get-Location)") # 添加MessageBox所在的namespace,打印当前活动目录pwd,注意pwd不一定是当前ps1文件所在目录