From f50032ec8ba8f456b6e42221b296b93d288305ec Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 6 Feb 2018 07:49:25 +0100 Subject: [PATCH] cliSettings: Add example for cliSettings with Set-NsxEdge --- module/PowerNSX.psm1 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/module/PowerNSX.psm1 b/module/PowerNSX.psm1 index 02a4a80e..cddd3234 100644 --- a/module/PowerNSX.psm1 +++ b/module/PowerNSX.psm1 @@ -13787,6 +13787,31 @@ function Set-NsxEdge { Disable the Edge Firewall on ESG Edge01 + .EXAMPLE + Get-NsxEdge Edge01 | Set-NsxEdge -password Vmware1!Vmware1! + + Change the SSH Password + + .EXAMPLE + Get-NsxEdge Edge01 | Set-NsxEdge -remoteAccess:$true + + Enable the SSH on ESG (you can use also use Enable-NsxSSHEdgeSSH) + + .EXAMPLE + Get-NsxEdge Edge01 | Set-NsxEdge -username powernsx -password Vmware1!Vmware1! + + Set the SSH username to PowerNSX (You need to change/set the password on the sametime) + + .EXAMPLE + Get-NsxEdge Edge01 | Set-NsxEdge -sshLoginBannerText "My Login Banner" + + Change the SSH Login Banner + + .EXAMPLE + Get-NsxEdge Edge01 | Set-NsxEdge -passwordExpiry 30 + + Change the SSH Password Expiration to 30 (days) + #> [CmdletBinding()]