I am using c# in windows xp machine.
I am try to execute the commanelet "Get-WdsClient"(which is avaiable only in 2012 server when wds service enabled machine).
My exe is excutingall the comments which is avaialble in my machine.. but when i try to execute the Get-WdsClient comment its throughing exception saying that.
Exception System.Management.Automation.CommandNotFoundException: The term 'Get-W
dsClient' is not recognized as the name of a cmdlet, function, script file, or o
perable program. Check the spelling of the name, or if a path was included, veri
fy that the path is correct and try again.
at System.Management.Automation.CommandDiscovery.LookupCommandInfo(String com
mandName, CommandOrigin commandOrigin)
at System.Management.Automation.CommandDiscovery.LookupCommandProcessor(Strin
g commandName, CommandOrigin commandOrigin, Nullable`1 useLocalScope)
at System.Management.Automation.ExecutionContext.CreateCommand(String command
)
at System.Management.Automation.CommandNode.CreateCommandProcessor(Int32& ind
ex, ExecutionContext context)
at System.Management.Automation.CommandNode.AddToPipeline(PipelineProcessor p
ipeline, ExecutionContext context)
at System.Management.Automation.PipelineNode.Execute(Array input, Pipe output
Pipe, ArrayList& resultList, ExecutionContext context)
at System.Management.Automation.ParseTreeNode.Execute(Array input, Pipe outpu
tPipe, ExecutionContext context)
at System.Management.Automation.AssignmentStatementNode.Execute(Array input,
Pipe outputPipe, ExecutionContext context)
at System.Management.Automation.StatementListNode.ExecuteStatement(ParseTreeN
ode statement, Array input, Pipe outputPipe, ArrayList& resultList, ExecutionCon
text context)
how to solve this issue..?