powershell + .net framework examples
Add-Type -AssemblyName 'System.Windows.Forms'
[windows.forms.messagebox]::show('body','title','OkCancel')
[Windows.Forms.Clipboard]::SetText("Hello world!")
[Windows.Forms.Clipboard]::GetText()
Add-Type -AssemblyName 'System.Web'
[Web.HTTPUtility]::UrlEncode('http://google.com')
Add-Type -AssemblyName 'System.Windows.Forms'
[windows.forms.messagebox]::show('body','title','OkCancel')
[Windows.Forms.Clipboard]::SetText("Hello world!")
[Windows.Forms.Clipboard]::GetText()
Add-Type -AssemblyName 'System.Web'
[Web.HTTPUtility]::UrlEncode('http://google.com')
Комментариев нет:
Отправить комментарий