none
powershell Set-CMBoundaryGroupRelationship does not work RRS feed

  • Question

  • The functions Get-CMBoundaryGroupRelationship and Set-CMBoundaryGroupRelationship do not work until you manually add DestinationGroupName via CM console.  They respond as if the target boundary group does not exist.  No difference using group name or group ID.  Once boundary is manually configured through CM console the functions will Get or Set as needed.

    Thursday, June 20, 2019 2:32 PM

All replies

  • Once boundary is manually configured through CM console the functions will Get or Set as needed.

    Sorry, not following. These cmdlets have nothing to do with boundaries.

    What is your expectation for what these cmdlets do and what exactly are you trying to use them for?


    Jason | https://home.configmgrftw.com | @jasonsandys

    Thursday, June 20, 2019 5:05 PM
  • Hello,

    Boundary Group Relationship means the fallback information from a source BG to a destination BG.

    • Get-CMBoundaryGroupRelationship would get the information only if we have set a fallback BG for a BG via console or command.
    • Set-CMBoundaryGroupRelationship is used to set the fallback time of an existing fallback information and we must specify the source BG and destination BG by name/ID or object of an existing CMBoundaryGroupRelationship.
    • New-CMBoundaryGroupRelationship is used to add a fallback BG to an existing BG. The same as Set, we need to specify the source BG and destination BG by name/ID/object.

      
    Hope my answer could help you and if I misunderstood your question, feel free to let us know.
     
    Best Regards,
    Ray


    Please remembers to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Friday, June 21, 2019 1:49 AM