qshinoの日記

Powershell関係と徒然なこと

delegate by Powershell

サンプル

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true }

参考

http://www.nivot.org/blog/post/2009/07/18/PowerShell20RCWorkingWithNETCallbacksPart1Synchronous