Differences
This shows you the differences between the selected revisions of the page.
2019-07-25 | 2019-10-25 | ||
stable 5.15 released long time ago - !E should be used now instead of !S (martin) | link update (martin) | ||
Line 33: | Line 33: | ||
When using the WinSCP .NET assembly from a [[library_powershell|PowerShell script]], the script needs to take parameters to be customized for a current session settings or selected file path, etc. | When using the WinSCP .NET assembly from a [[library_powershell|PowerShell script]], the script needs to take parameters to be customized for a current session settings or selected file path, etc. | ||
- | For that use ''param'' keyword. You can also mark a parameter as mandatory using ''[[https://docs.microsoft.com/en-us/powershell/developer/cmdlet/parameter-attribute-declaration|Parameter]]'' attribute or provide a default value. | + | For that use ''param'' keyword. You can also mark a parameter as mandatory using ''[[https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/parameter-attribute-declaration|Parameter]]'' attribute or provide a default value. |
<code powershell> | <code powershell> |