Differences
This shows you the differences between the selected revisions of the page.
| 2021-01-01 | 2021-03-26 | ||
| powershell anchor (martin) | no summary (72.222.125.27) | ||
| Line 10: | Line 10: | ||
| ===== [[scripting]] PowerShell Scripting ===== | ===== [[scripting]] PowerShell Scripting ===== | ||
| - | From WinSCP scripting perspective, important aspect of PowerShell is its ability to run simple, yet powerful, scripts that can make use functionality exposed by WinSCP .NET assembly. | + | From WinSCP scripting perspective, an important aspect of PowerShell is its ability to run simple, yet powerful, scripts that can make use of functionality exposed by WinSCP .NET assembly. |
| Windows PowerShell's ''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: | Windows PowerShell's ''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: | ||