FSharp.Management
FSharp.Management copied to clipboard
The FSharp.Management project contains various type providers for the management of the machine.
[PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environments and the hybrid cloud.](https://blogs.msdn.microsoft.com/powershell/2018/01/10/powershell-core-6-0-generally-available-ga-and-supported/)
### Description I came across this [libral](https://github.com/puppetlabs/libral) project the other day and it seems like a decent candidate for a type provider, similar to powershell but for linux systems specifically....
This is as far as I've gotten with converting this repo to .net standard 2.0. Some of these type providers in general will be very difficult if not impossible in...
This solves case 3 mentioned in #86. Any Runtime exceptions should now fail gracefully
In the following script ```fsharp #I @"packages\FSharp.Management\lib\net40" #r "FSharp.Management.PowerShell.dll" #r "System.Management.Automation" open FSharp.Management open System.Management.Automation type PS = PowerShellProvider< "Microsoft.PowerShell.Management;Microsoft.PowerShell.Core" > PS.``Get-Variable`` (name=[|"Host"|]) |> printfn "%A" PS.``Get-Variable`` (name=[|"Missing"|]) |> printfn...
### Description The type inference engine gives the wrong result type when trying to list `ExecutionPolicy` objects. ### Repro steps 1. Create a new folder and initialize paket with the...
So it's a bit inconvenient if I must always have the double backticks. I assume this is because of the dash. For example ```fsharp PS.``Get-EventLog``(logName="Application", entryType=[|"Error"|], newest=2) ``` is it...
### Description Standard WMI interface works, but the type provider does not. ### Repro steps Given this code: ```fsharp let test () = type Local = WmiProvider let wmi =...
Is next possible? ``` type Windows = FileSystem // (%SystemRoot% is Environment variable usually to "C:/Windows") ``` Sometimes enterprise admins setups some things which are usually on `C:/` to go...
### Description https://twitter.com/dsyme/status/742300239739166720 https://fslang.uservoice.com/forums/245727-f-language/suggestions/13412670-add-feature-to-allow-string-literals-to-be-separat ### Expected behavior ``` FSharp type MyQuery = StringReader // the type provider should also accept encoding as static param open FSharp.Data let getData() = use...