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

Get-NSXSegementIdRange throws an error if no segment range exists #470

Closed
sammcgeown opened this issue Feb 7, 2018 · 1 comment
Closed

Comments

@sammcgeown
Copy link
Contributor

sammcgeown commented Feb 7, 2018

Running "get-nsxsegmentidrange" with no segment ID defined throws an error

 PS E:\SCRIPTS\NSX-Deploy> Get-NsxSegmentIdRange
 The property 'segmentRange' cannot be found on this object. Verify that the property exists.
 At C:\Users\sam\Documents\WindowsPowerShell\Modules\PowerNSX\PowerNSX.psm1:8962 char:27
 +                 Default { $response.segmentRanges.segmentRange }
 +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     + CategoryInfo          : NotSpecified: (:) [], PropertyNotFoundException
     + FullyQualifiedErrorId : PropertyNotFoundStrict

@sammcgeown sammcgeown changed the title Get-NSXSege Get-NSXSegementIdRange throws an error if no segment range exists Feb 7, 2018
sammcgeown added a commit to sammcgeown/powernsx that referenced this issue Feb 7, 2018
@nmbradford
Copy link
Contributor

fixed in #471 thanks @sammcgeown

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants