You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Luke Skrzypek edited this page Dec 3, 2024
·
1 revision
Manual installation of PowerShell SDK:
The following steps can be taken to manually install the ShareFile PowerShell modules:
Build the ShareFileModule project; it multi-targets both Net Framework 4.8 and Net 8.
Publish the net8.0-windows target of the ShareFileModule project.
For the ShareFile module used for PowerShell 5.X, copy the contents of ...\ShareFileModule\bin\Release\net48 to a folder named ShareFile at your chosen destination. (ex. %userprofile%\Documents\Modules)
For the ShareFile-Core module used for PowerShell 7+, copy the contents of ...\ShareFileModule\bin\Release\net8.0-windows\publish to a folder named ShareFile-Core at your chosen destination.
Add the path of your chosen destination (ex. %userprofile%\Documents\Modules) to the PSModulePath environment variable.
To uninstall, simply remove the added paths from the PSModulePath environment variable, and delete the copied files.
Note: The PowerShell SDK is not signed, so you may need to modify the execution policy in PowerShell. The easiest way is to run Set-ExecutionPolicy RemoteSigned, but check the documentation on script signing to understand what the security impact of your choices are. http://technet.microsoft.com/en-us/library/hh849812.aspx