Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md

README.md

F# Type Provider for PowerShell

** This project is depreciated. Source code were merged into Fsharp.Management **

Related posts:

"SharePoint 2013 Management" Sample

Install using the NuGet package.

#r @"C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll"
#r "Microsoft.SharePoint.PowerShell.dll"
#r "System.ServiceModel.dll"
#r "Microsoft.Sharepoint.dll"
#r @"..\packages\PowerShellTypeProvider.0.3.0\lib\net45\PowerShellTypeProvider.dll"

type PS = FSharp.PowerShell.PowerShellTypeProvider<
                    PSSnapIns="Microsoft.SharePoint.PowerShell", 
                    Is64BitRequired=true >

let jobs      = PS.``Get-SPTimerJob``()
let databases = PS.``Get-SPDatabase``()
Something went wrong with that request. Please try again.