Differences
This shows you the differences between the selected revisions of the page.
2014-12-05 | 2014-12-05 | ||
footnote after dot (martin) | footnote after dot (martin) | ||
Line 12: | Line 12: | ||
From WinSCP scripting perspective, important aspect of PowerShell (''powershell.exe'') is its ability to run simple, yet powerful, scripts that can make use functionality exposed by WinSCP .NET assembly. | From WinSCP scripting perspective, important aspect of PowerShell (''powershell.exe'') is its ability to run simple, yet powerful, scripts that can make use functionality exposed by WinSCP .NET assembly. | ||
- | The ''powershell.exe'' is located in ''%WINDIR%\System32\WindowsPowershell\v1.0''((It's ''v1.0'', disregarding what version you actually use.)). Typically you run ''powershell.exe'' with ''-File'' argument followed by path to your PowerShell script. The script file needs to have ''.ps1'' extension: | + | The ''powershell.exe'' is located in ''%WINDIR%\System32\WindowsPowershell\v1.0''.((It's ''v1.0'', disregarding what version you actually use.)) Typically you run ''powershell.exe'' with ''-File'' argument followed by path to your PowerShell script. The script file needs to have ''.ps1'' extension: |
<code> | <code> |