Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
cliSettings: fix typo on examples
Browse files Browse the repository at this point in the history
the SSH username need to be only lowercase
and fix missing example for -passwordExpiry
  • Loading branch information
alagoutte committed Dec 21, 2017
1 parent 739dc30 commit d5a4a48
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -14074,7 +14074,7 @@ function Set-NsxcliSettings {
Enable the SSH on ESG (you can use also use Enable-NsxSSHEdgeSSH)

.EXAMPLE
Get-NsxEdge Edge01 | Get-NsxcliSettings | Set-NsxCliSettings -password Vmware1!Vmware1! -username PowerNSX
Get-NsxEdge Edge01 | Get-NsxcliSettings | Set-NsxCliSettings -password Vmware1!Vmware1! -username powernsx

Set the SSH username to PowerNSX

Expand All @@ -14084,9 +14084,8 @@ function Set-NsxcliSettings {
Change the SSH Login Banner

.EXAMPLE
Get-NsxEdge Edge01 | Get-NsxcliSettings | Set-NsxCliSettings -password Vmware1!Vmware1! -

Change the SSH Login Banner
Get-NsxEdge Edge01 | Get-NsxcliSettings | Set-NsxCliSettings -password Vmware1!Vmware1! -passwordExpiry 30
Change the SSH Password Expiration to 30 (days)

#>

Expand Down

0 comments on commit d5a4a48

Please sign in to comment.