How to make Powershell portable with addins and extensions also without installing the .net Framework...
The features of this technique:
* Fully Portable
* versions that presume dotnet 2.0s preexistence (about 3MB to 10MB)
* Versions that don’t need dotnet 2.0 at all (about 100MB)
* Can run V1 and V2 side by side.
* Can run on a machine with PowerShell already installed, and your portable version has its own execution-policy and other settings.
* Can be packaged with SnapIns (so the SnapIns are portable also, no need to install or register them).
* Can be used with a custom Host , so you can have a Portable PowerShell Plus or PowerShell Analyzer.
Video Here: PowerShell Portable
The features of this technique:
* Fully Portable
* versions that presume dotnet 2.0s preexistence (about 3MB to 10MB)
* Versions that don’t need dotnet 2.0 at all (about 100MB)
* Can run V1 and V2 side by side.
* Can run on a machine with PowerShell already installed, and your portable version has its own execution-policy and other settings.
* Can be packaged with SnapIns (so the SnapIns are portable also, no need to install or register them).
* Can be used with a custom Host , so you can have a Portable PowerShell Plus or PowerShell Analyzer.
Video Here: PowerShell Portable
[vv]1185791[/vv]
Last edited: