From b7457773a35785df72f07f786b85fbe25ceaaab4 Mon Sep 17 00:00:00 2001 From: Jared Burns Date: Thu, 16 Nov 2023 09:28:39 -0500 Subject: [PATCH] docs: update install module with repository flag (#401) Update the installation documentation to specify the PowerShell Gallery as the source repository. Signed-off-by: Jared Burns --- docs/snippets/install-module.ps1 | 10 +++++----- docs/snippets/save-module-local-linux.ps1 | 10 +++++----- docs/snippets/save-module-local-windows.ps1 | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/snippets/install-module.ps1 b/docs/snippets/install-module.ps1 index 715855c6..ce9df00a 100644 --- a/docs/snippets/install-module.ps1 +++ b/docs/snippets/install-module.ps1 @@ -1,6 +1,6 @@ Set-PSRepository -Name PSGallery -InstallationPolicy Trusted -Install-Module -Name VMware.PowerCLI -MinimumVersion 13.1.0 -Install-Module -Name VMware.vSphere.SsoAdmin -MinimumVersion 1.3.9 -Install-Module -Name PowerVCF -MinimumVersion 2.4.0 -Install-Module -Name ImportExcel -MinimumVersion 7.8.5 -Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.7.0 +Install-Module -Name VMware.PowerCLI -MinimumVersion 13.1.0 -Repository PSGallery +Install-Module -Name VMware.vSphere.SsoAdmin -MinimumVersion 1.3.9 -Repository PSGallery +Install-Module -Name PowerVCF -MinimumVersion 2.4.0 -Repository PSGallery +Install-Module -Name ImportExcel -MinimumVersion 7.8.5 -Repository PSGallery +Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.7.0 -Repository PSGallery diff --git a/docs/snippets/save-module-local-linux.ps1 b/docs/snippets/save-module-local-linux.ps1 index 9290c030..f14c9625 100644 --- a/docs/snippets/save-module-local-linux.ps1 +++ b/docs/snippets/save-module-local-linux.ps1 @@ -1,5 +1,5 @@ -Save-Module -Name VMware.PowerCLI -Path /home/modules -Save-Module -Name VMware.vSphere.SsoAdmin -Path /home/modules -Save-Module -Name PowerVCF -Path /home/modules -Save-Module -Name PowerValidatedSolutions -Path /home/modules -Save-Module -Name ImportExcel -Path /home/modules \ No newline at end of file +Save-Module -Name VMware.PowerCLI -Path /home/modules -Repository PSGallery +Save-Module -Name VMware.vSphere.SsoAdmin -Path /home/modules -Repository PSGallery +Save-Module -Name PowerVCF -Path /home/modules -Repository PSGallery +Save-Module -Name PowerValidatedSolutions -Path /home/modules -Repository PSGallery +Save-Module -Name ImportExcel -Path /home/modules -Repository PSGallery \ No newline at end of file diff --git a/docs/snippets/save-module-local-windows.ps1 b/docs/snippets/save-module-local-windows.ps1 index f3f75504..afe1f684 100644 --- a/docs/snippets/save-module-local-windows.ps1 +++ b/docs/snippets/save-module-local-windows.ps1 @@ -1,5 +1,5 @@ -Import-Module -Name VMware.PowerCLI -Path F:\Module\ -Import-Module -Name VMware.vSphere.SsoAdmin -Path F:\Module\ -Import-Module -Name PowerVCF -Path F:\Module\ -Import-Module -Name PowerValidatedSolutions -Path F:\Module\ -Import-Module -Name ImportExcel -Path F:\Module\ \ No newline at end of file +Import-Module -Name VMware.PowerCLI -Path F:\Module\ -Repository PSGallery +Import-Module -Name VMware.vSphere.SsoAdmin -Path F:\Module\ -Repository PSGallery +Import-Module -Name PowerVCF -Path F:\Module\ -Repository PSGallery +Import-Module -Name PowerValidatedSolutions -Path F:\Module\ -Repository PSGallery +Import-Module -Name ImportExcel -Path F:\Module\ -Repository PSGallery \ No newline at end of file