Search

Index

Revindex Task Scheduler

Load assemblies (PowerShell)

To load additional assemblies in PowerShell, you can use the following approach:

[Reflection.Assembly]::LoadFile("C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Configuration.dll") | out-null 

$connectionString = [System.Configuration.ConfigurationManager]::ConnectionStrings["SiteSqlServer"]

Comments


Powered by Revindex Wiki