Using powershell to query shared ressources

11. November 2011

While testing settings in a development enviroment, i needed a simple way to reflect and discover shared runtime ressources, with powershell of cause!

[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.Solutions.BTARN.Shared”)

$runtimeValue = [Microsoft.Solutions.BTARN.Shared.RuntimeGlobal]::DataDbConnectionString

Write-Host $runtimeValue

easy  ;)

 


Michael Høtoft  

Sharepoint Server

Comments are closed