Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7999421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T15:30:08+00:00 2026-06-04T15:30:08+00:00

I have NLB installed and set up. I get the interface data like so:

  • 0

I have NLB installed and set up. I get the interface data like so:

Get-NlbClusterNodeNetworkInterface



InterfaceName       : quanet
   NlbBound            : False
   Cluster             :
   DhcpEnabled         : False
   InterfaceIP         : 10.165.250.206
   InterfaceSubnetMask : 255.255.0.0
   ClusterPrimaryIP    :
   ClusterSubnetMask   :

   InterfaceName       : cluster
   NlbBound            : False
   Cluster             :
   DhcpEnabled         : False
   InterfaceIP         : 172.16.1.206
   InterfaceSubnetMask : 255.255.255.0
   ClusterPrimaryIP    :
   ClusterSubnetMask   :

I would like to use Powershell to set NlbBound to true. Needless to say setting the property doesn’t work. e.g

   $x = Get-NlbClusterNodeNetworkInterface
   $x[1].nlbbound = $true
   $x = Get-NlbClusterNodeNetworkInterface
   echo $x[1].NlbBound
   False

I want to avoid having to explicitly set the property in the Network adaptor settings because this functionality will live in a script.
I’d also like to avoid using WMI if possible.

According to the Get-Member cmdlet the NlbBound property is setible:

Get-Member -InputObject $x[1]

   TypeName: Microsoft.NetworkLoadBalancingClusters.PowerShell.NetworkInterface

Name                MemberType Definition
----                ---------- ----------
Equals              Method     bool Equals(System.Object obj)
GetHashCode         Method     int GetHashCode()
GetType             Method     type GetType()
ToString            Method     string ToString()
Cluster             Property   System.String Cluster {get;set;}
ClusterPrimaryIP    Property   System.String ClusterPrimaryIP {get;set;}
ClusterSubnetMask   Property   System.String ClusterSubnetMask {get;set;}
DhcpEnabled         Property   System.Boolean DhcpEnabled {get;set;}
InterfaceIP         Property   System.String InterfaceIP {get;set;}
InterfaceName       Property   System.String InterfaceName {get;set;}
InterfaceSubnetMask Property   System.String InterfaceSubnetMask {get;set;}
NlbBound            Property   **System.Boolean NlbBound {get;set;}**
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T15:30:10+00:00Added an answer on June 4, 2026 at 3:30 pm
    Import-Module ServerManager
    
    # Interface cards should be named the same and have a fixed IP
    $interfaceName = "NLB"
    $clusterName = "NLB-Cluster"
    $clusterIpAddress = "1.2.3.0"
    $clusterSubnet = "255.0.0.0"
    
    # Install Network Load Balancing and Tools
    Write-Host "Install Network Load Balancing and Tools"
    Add-WindowsFeature NLB, RSAT-NLB
    Import-Module NetworkLoadBalancingClusters
    
    # If the cluster hasn't been created yet then create it
    if (!(Get-NlbCluster -HostName $clusterIpAddress -ErrorAction SilentlyContinue))
    {
        Write-Host "Creating NLB Cluster: $clusterName" -ForegroundColor yellow 
    
        # Create Cluster (default unicast)
        New-NlbCluster -InterfaceName $interfaceName -ClusterName $clusterName -ClusterPrimaryIP $clusterIpAddress -SubnetMask $clusterSubnet 
    
        # Remove defaults
        Write-Host "Removing default port rules" -ForegroundColor yellow 
        Get-NlbClusterPortRule | Remove-NlbClusterPortRule -Force
    
        # Create port rules
        Get-NlbCluster | Add-NlbClusterPortRule -StartPort 80 -EndPort 80 -Protocol TCP -Affinity None | Out-Null
        Get-NlbCluster | Add-NlbClusterPortRule -StartPort 443 -EndPort 443 -Protocol TCP -Affinity None | Out-Null 
    }
    else
    {
        Get-NlbCluster 
    }
    
    # if this node isn't already a member of a cluster then add it
    if(!(Get-NlbClusterNode -HostName $env:COMPUTERNAME))
    {
        # Add node to cluster
        Write-Host "Adding node to cluster: $clusterName" -ForegroundColor yellow 
        Get-NlbCluster -HostName $clusterIpAddress | Add-NlbClusterNode -NewNodeName $env:COMPUTERNAME -NewNodeInterface $interfaceName
    }
    else
    {
        Get-NlbClusterNode
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a load balanced (NLB) ASP.NET web app which sends email. The servers
We are planning a Biztalk 2009 set up in which we have 2 Biztalk
Have you managed to get Aptana Studio debugging to work? I tried following this,
Have advancements in CPU design like dynamic instruction scheduling narrowed the performance gap between
Have just started to get into CakePHP since a couple of weeks back. I
Have a client who is looking at developing a site where clients get access
Have anyone used ZmqSocket.js successfully? I'd like to know how can it be used
I have 2 Windows 2008 R2 x64 servers NLB, ARR with shared configuration. I
I have two IIS servers running using NLB. Unfortunatelly I cannot use shared session
Have you seen library for flexible working with terminal(Unix like)? I want to implement

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.