Modify a Virtual Service
- Last Updated: May 14, 2025
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
You can modify an existing Virtual Service using the Set-AdcVirtualService command. An example command (to enable transparency) with output is below.
$setvs = Set-AdcVirtualService -VirtualService 10.154.11.124 -VSPort 80 -VSProtocol tcp -Transparent 1 $setvs | Format-List ReturnCode : 200Response : Command successfully executed.Data : @{VS=} $setvs.Data VS--@{Status=Down; Index=5; VSAddress=10.154.11.124; VSPort=80; Layer=7; Enable=Y; SSLReverse=N; SSLReencrypt=N; Intercept=N; InterceptOpts=; AlertThreshold=0; Transactionlimit=0; Transparent=... $setvs.Data.VS Status : DownIndex : 5VSAddress : 10.154.11.124VSPort : 80Layer : 7Enable : YSSLReverse : NSSLReencrypt : NIntercept : NInterceptOpts : @{Opt=System.Object[]}AlertThreshold : 0Transactionlimit : 0Transparent : YSubnetOriginating : YServerInit : 0StartTLSMode : 0Idletime : 660Cache : NCompress : NVerify : 0UseforSnat : NForceL4 : NForceL7 : YMultiConnect : NClientCert : 0ErrorCode : 0CheckUse1.1 : NMatchLen : 0CheckUseGet : 0SSLRewrite : 0VStype : httpFollowVSID : 0Protocol : tcpSchedule : rrCheckType : httpPersistTimeout : 0CheckPort : 0NRules : 0NRequestRules : 0NResponseRules : 0NMatchBodyRules : 0NPreProcessRules : 0EspEnabled : NInputAuthMode : 0OutputAuthMode : 0MasterVS : 0MasterVSID : 0IsTransparent : 2AddVia : 0QoS : 0TlsType : 0NeedHostName : NOCSPVerify : NAllowHTTP2 : NEnhancedHealthChecks : NRsMinimum : 0NumberOfRSs : 0