PowerShell

Discussion forum about all things Team Developer 5.x and 6.x
igor1234
Germany
Posts: 2
Joined: 06 Jul 2018, 13:18
Location: Germany

PowerShell

Post by igor1234 » 05 Sep 2019, 11:54

May be somebody knows, how to call PowerShell scripts from Team Developer?
But, please, write nothing about SalLoadAppAndWait. I am interested in decision though classes, for example through Microsoft.PowerShell.ConsoleHost.apl.
Please write me on itkin@gmx.de.
Igor Itkin.

Didiman
Germany
Posts: 330
Joined: 21 Mar 2017, 13:05
Location: Bremen, Germany

Re: PowerShell

Post by Didiman » 09 Sep 2019, 08:57

Hi Igor,

i would prefer using ShellExecute() for this. This works fine for all kind of things for us.

For keeping this Forum as a knowledge base, i'll write hier instead of sending a private Mail to you.

Here is an interesting link how to do this: https://devblogs.microsoft.com/scriptin ... -shortcut/

Greez Andreas

User avatar
H3PO4
Germany
Posts: 265
Joined: 10 Mar 2017, 07:53
Location: Rohlstorf, Germany

Re: PowerShell

Post by H3PO4 » 09 Sep 2019, 11:10

Hi Igor, hi Andreas,

I gave system.management a try. Unfortunately the .net Explorer creates code that cannot be compiled.
At least a com-wrapper dll does the trick...

Best regards
Henning

Return to “General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 1 guest