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

Commit

Permalink
Merge pull request #539 from alagoutte/fix_example
Browse files Browse the repository at this point in the history
ServiceGroupMember: Fix examples about Add-NsxServiceGroupMember
  • Loading branch information
Nick Bradford authored Aug 20, 2018
2 parents 5b580ab + 5cba015 commit 77940fe
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions module/PowerNSX.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -26651,9 +26651,17 @@ function Add-NsxServiceGroupMember {
Group for specific or all Service Groups

.EXAMPLE
PS C:\> Get-NsxServiceGroup Heartbeat | Add-NsxServiceGroupMember -Member $Service1
$Service1 = Get-NsxService http -LocalOnly
PS C:\> Get-NsxServiceGroup SG_PowerNSX | Add-NsxServiceGroupMember -Member $Service1

PS C:\> get-nsxservicegroup Service-Group-4 | Add-NsxServiceGroupMember $Service1,$Service2
Add service http to Service Group SG_PowerNSX

.EXAMPLE
$Service1 = Get-NsxService http -LocalOnly
PS C:\> $Service2 = Get-NsxService https -LocalOnly
PS C:\> Get-NsxServiceGroup SG_PowerNSX2 | Add-NsxServiceGroupMember $Service1, $Service2

Add service http and https to Service Group SG_PowerNSX2

#>

Expand Down

0 comments on commit 77940fe

Please sign in to comment.