Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
Eddy Vluggen16-Nov-13 4:06
professionalEddy Vluggen16-Nov-13 4:06 
GeneralRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
BillWoodruff16-Nov-13 4:14
professionalBillWoodruff16-Nov-13 4:14 
QuestionRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
jojoba201116-Nov-13 6:41
jojoba201116-Nov-13 6:41 
AnswerRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
Eddy Vluggen16-Nov-13 9:35
professionalEddy Vluggen16-Nov-13 9:35 
AnswerRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
turbosupramk316-Nov-13 1:30
turbosupramk316-Nov-13 1:30 
SuggestionRe: How to execute c# statment in a string?(Compiling and Running code at runtime) Pin
CHill6016-Nov-13 8:06
mveCHill6016-Nov-13 8:06 
AnswerSolved! Pin
Member 94738092-Dec-13 0:10
Member 94738092-Dec-13 0:10 
QuestionHow to query Scom 2012 through c sharp? Pin
turbosupramk315-Nov-13 10:48
turbosupramk315-Nov-13 10:48 
I've been trying to run a simple block of code from C sharp in a powershell run space.

I went to run that command in the powershell example project on my workstation and it did not work, but that demo application will run on the server that has scom installed.

Is there a management pack (like with Exchange) that I need to install on my workstation to get access to the dlls and commands that I have through powershell when on the server locally. Any ideas?

VB
Import-Module –Name OperationsManager

New-SCOMManagementGroupConnection -ComputerName "serverName"

get-scomgroup

foreach ($group in get-scomgroup)
{
   Write-Host $group
}



How to run PowerShell scripts from C#[^]
AnswerRe: How to query Scom 2012 through c sharp? Pin
Eddy Vluggen16-Nov-13 1:10
professionalEddy Vluggen16-Nov-13 1:10 
GeneralRe: How to query Scom 2012 through c sharp? Pin
turbosupramk316-Nov-13 1:26
turbosupramk316-Nov-13 1:26 
QuestionPreventing Tread Starvation - Best Practices Pin
Foothill15-Nov-13 6:52
professionalFoothill15-Nov-13 6:52 
AnswerRe: Preventing Tread Starvation - Best Practices Pin
Ron Beyer15-Nov-13 7:05
professionalRon Beyer15-Nov-13 7:05 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Foothill15-Nov-13 8:21
professionalFoothill15-Nov-13 8:21 
AnswerRe: Preventing Tread Starvation - Best Practices Pin
Matt T Heffron15-Nov-13 11:13
professionalMatt T Heffron15-Nov-13 11:13 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Foothill15-Nov-13 14:04
professionalFoothill15-Nov-13 14:04 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Matt T Heffron15-Nov-13 14:10
professionalMatt T Heffron15-Nov-13 14:10 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Matty2217-Nov-13 22:24
Matty2217-Nov-13 22:24 
AnswerAccording to the internet Pin
Ennis Ray Lynch, Jr.15-Nov-13 7:46
Ennis Ray Lynch, Jr.15-Nov-13 7:46 
GeneralRe: According to the internet Pin
Eddy Vluggen16-Nov-13 1:34
professionalEddy Vluggen16-Nov-13 1:34 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Richard MacCutchan15-Nov-13 7:57
mveRichard MacCutchan15-Nov-13 7:57 
AnswerRe: Preventing Tread Starvation - Best Practices Pin
Eddy Vluggen15-Nov-13 8:00
professionalEddy Vluggen15-Nov-13 8:00 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Ennis Ray Lynch, Jr.15-Nov-13 8:09
Ennis Ray Lynch, Jr.15-Nov-13 8:09 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Foothill15-Nov-13 8:26
professionalFoothill15-Nov-13 8:26 
GeneralRe: Preventing Tread Starvation - Best Practices Pin
Ron Beyer15-Nov-13 8:43
professionalRon Beyer15-Nov-13 8:43 
AnswerRe: Preventing Tread Starvation - Best Practices Pin
Dave Kreskowiak15-Nov-13 10:08
mveDave Kreskowiak15-Nov-13 10:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.