-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding documentation to install modules and dependencies in a air-gapped environment. Signed-off-by: Jared Burns <burnsja@vmware.com>
- Loading branch information
1 parent
3f142ad
commit 0fe387f
Showing
7 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
scp -r /home/modules/* username@remote_host:/home/lab/.local/share/powershell/Modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copy-Item -Path F:\Module\* -Destination '\\<destination_host>\C$\Program Files\WindowsPowerShell\Modules\' -Recurse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Import-Module -Name VMware.PowerCLI | ||
Import-Module -Name PowerVCF | ||
Import-Module -Name Posh-SSH | ||
Import-Module -Name VMware.CloudFoundation.PowerManagement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mkdir /home/modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.0.0 -Path /home/modules | ||
Save-Module -Name PowerVCF -MinimumVersion 2.3.0 -Path /home/modules | ||
Save-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Path /home/modules | ||
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path /home/modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Save-Module -Name VMware.PowerCLI -MinimumVersion 13.0.0 -Path F:\Module\ | ||
Save-Module -Name PowerVCF -MinimumVersion 2.3.0 -Path F:\Module\ | ||
Save-Module -Name Posh-SSH -MinimumVersion 3.0.8 -Path F:\Module\ | ||
Save-Module -Name VMware.CloudFoundation.PowerManagement -Path F:\Module\ |