I would like to use the task logic type 'windows command' in combination with powershell to execute the following command: [Environment]::GetFolderPath('MyDocuments').
In powershell this will retrieve the MyDocuments path and it should be passed into an output variable so I can use it in a processflow.
Is this possible?
Solved
Using task logic type 'windows command' in combination with powershell to retrieve 'MyDocuments' file path
Best answer by Jasper
Executing PowerShell commands using the PowerShell CLI would probably work, but it is not possible to retrieve the result and store it in a process flow variable at the moment.
An alternative solution may be that we add support for using environment variables, like %userprofile%\Documents or %temp%, in process flow connectors. This is fairly easy to implement, please post an idea if desired.
View originalAn alternative solution may be that we add support for using environment variables, like %userprofile%\Documents or %temp%, in process flow connectors. This is fairly easy to implement, please post an idea if desired.
This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.