开发者

Is it possible to create Windows PowerShell Cmdlets with F#?

开发者 https://www.devze.com 2023-01-09 20:54 出处:网络
Reading the Microsoft documentation for creating PowerShell Cmdlets, I notice there is no example code for F#; instead, there is a message saying that \"This language is not supported or no code examp

Reading the Microsoft documentation for creating PowerShell Cmdlets, I notice there is no example code for F#; instead, there is a message saying that "This language is not supported or no code exampl开发者_StackOverflowe is available.".

Is F# not supported for creating Cmdlets, or aren't there any examples in F#?


Take a look at this: Writing PowerShell Cmdlets in F#. Not exactly a complete example of how to do this but it certainly seems to be possible to write cmdlets in F#.

EDIT: There is a more extensive example here but the contextual information is a little bit out of date. Actually the contextual information is a bit out of date on both links but the first link is more recent.

0

精彩评论

暂无评论...
验证码 换一张
取 消