You can modify an existing Real Server using the Set-AdcRealServer command. You can retreive the Real Server settings using the Get-AdcRealServer command. Example commands with output are provided below.

$setrs = Set-AdcRealServer -RealServer 10.154.11.15 -RealServerPort 80 -Weight 900 -VirtualService 10.154.11.124 -VSPort 80 -VSProtocol tcp
 
$setrs | Format-List
 
 
ReturnCode : 200
Response   : Command successfully executed.
Data       :
 
 
$getrs = Get-AdcRealServer -RealServer 10.154.11.15 -RSPort 80 -VirtualService 10.154.11.124 -VSPort 80 -VSProtocol tcp
 
$getrs | Format-List
 
 
ReturnCode : 200
Response   : Command successfully executed.
Data       : @{Rs=}
 
 
$getrs.Data
 
 
Rs
--
@{Status=Down; VSIndex=5; RsIndex=1; Addr=10.154.11.15; Port=80; DnsName=; Forward=nat; Weight=900; Limit=0; Follow=0; Enable=Y; Critical=N}
 
 
$getrs.Data.Rs
 
Status   : Down
VSIndex  : 5
RsIndex  : 1
Addr     : 10.154.11.15
Port     : 80
DnsName  :
Forward  : nat
Weight   : 900
Limit    : 0
Follow   : 0
Enable   : Y
Critical : N