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

Commit

Permalink
cliSettings: Add example for cliSettings with Set-NsxEdge
Browse files Browse the repository at this point in the history
  • Loading branch information
alagoutte committed Feb 6, 2018
1 parent 25cf7e9 commit f50032e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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()]
Expand Down

0 comments on commit f50032e

Please sign in to comment.