From 0899c29717801b8de9ed32221a91414b670c5ab7 Mon Sep 17 00:00:00 2001 From: Jared Burns Date: Thu, 16 Nov 2023 09:03:29 -0500 Subject: [PATCH] docs: update install module with repository flag (#189) Update the installation documentation to specify the PowerShell Gallery as the source repository. --------- Signed-off-by: Jared Burns Signed-off-by: Ryan Johnson Co-authored-by: Ryan Johnson --- 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 97fbc790..faa2cd07 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.3.0 -Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.6.0 -Install-Module -Name VMware.CloudFoundation.Reporting +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.3.0 -Repository PSGallery +Install-Module -Name PowerValidatedSolutions -MinimumVersion 2.6.0 -Repository PSGallery +Install-Module -Name VMware.CloudFoundation.Reporting -Repository PSGallery \ No newline at end of file diff --git a/docs/snippets/save-module-local-linux.ps1 b/docs/snippets/save-module-local-linux.ps1 index de3a22ae..942b92d6 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 VMware.CloudFoundation.Reporting -Path /home/modules +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 VMware.CloudFoundation.Reporting -Path /home/modules -Repository PSGallery diff --git a/docs/snippets/save-module-local-windows.ps1 b/docs/snippets/save-module-local-windows.ps1 index 5cdbd139..7b94e334 100644 --- a/docs/snippets/save-module-local-windows.ps1 +++ b/docs/snippets/save-module-local-windows.ps1 @@ -1,5 +1,5 @@ -Save-Module -Name VMware.PowerCLI -Path F:\Module\ -Save-Module -Name VMware.vSphere.SsoAdmin -Path F:\Module\ -Save-Module -Name PowerVCF -Path F:\Module\ -Save-Module -Name PowerValidatedSolutions -Path F:\Module\ -Save-Module -Name VMware.CloudFoundation.Reporting -Path F:\Module\ \ No newline at end of file +Save-Module -Name VMware.PowerCLI -Path F:\Module\ -Repository PSGallery +Save-Module -Name VMware.vSphere.SsoAdmin -Path F:\Module\ -Repository PSGallery +Save-Module -Name PowerVCF -Path F:\Module\ -Repository PSGallery +Save-Module -Name PowerValidatedSolutions -Path F:\Module\ -Repository PSGallery +Save-Module -Name VMware.CloudFoundation.Reporting -Path F:\Module\ -Repository PSGallery \ No newline at end of file