Read Me Fast
Valentia is PowerShell deployment tool for Server-Client model. This module set will optimize your work for deploy Commands or files to remote servers.
How to install valentia.
Let's start install valentia.
You have 2 choice to install valentia.
1. Install through NuGet.
Open Visual Studio and run below in package manager.
Install-Package valentia
This will set package content and also copy valentia to module folder.
2. Open PowerShell or Command prompt, paste the text below and press Enter.
powershell -NoProfile -ExecutionPolicy unrestricted -Command 'iex ([Text.Encoding]::UTF8.GetString([Convert]::FromBase64String((irm "https://api.github.com/repos/guitarrapc/valentia/contents/valentia/Tools/RemoteInstall.ps1").Content))).Remove(0,1)' |
Installed Path
After the installation complete, you will find valentia installed into your current user's Module folder.
$env:USERPROFILE\Documents\WindowsPowerShell\Modules\valentia
Automate Module Import with PowerShell v3
While valentia sat in standard Module Path, you don't need to import manually. valentia will automatically loaded into PowerShell session.
Manually import valentia module
If you want to import, just type following in PowerShell.
Import-Module valentia
Updates
Special Thanks
Valentia inspired from capistrano and psake. They are fantastic and awesome tools for automation and DevOps. Especially psake showed cool way of coding and valentia followed in many points. Also psasync and Get-NetworkInfo give me inspire to do asynchronous execution.