Add a New Virtual Service
- Last Updated: May 14, 2025
- 1 minute read
- LoadMaster
- LoadMaster GA
- Documentation
You can add a Virtual Service using the New-AdcVirtualService command. Example commands and output are provided below.
$newvs = New-AdcVirtualService -VirtualService 10.154.11.124 -VSPort 80 -VSProtocol tcp$newvs | Format-ListReturnCode : 200Response : Command successfully executed.Data : @{VS=} $newvs.DataVS--@{Status=Down; Index=15; VSAddress=10.154.11.124; VSPort=80; Layer=7; Enable=Y; SSLReverse=N; SSLReencrypt=N; Intercept=N; InterceptOpts=; AlertThreshold=0; Transactionlimit=0; Transparent... $newvs.Data.VSStatus : DownIndex : 15VSAddress : 10.154.11.124VSPort : 80Layer : 7Enable : YSSLReverse : NSSLReencrypt : NIntercept : NInterceptOpts : @{Opt=System.Object[]}AlertThreshold : 0Transactionlimit : 0Transparent : NSubnetOriginating : 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 : 0AddVia : 0QoS : 0TlsType : 0NeedHostName : NOCSPVerify : NAllowHTTP2 : NEnhancedHealthChecks : NRsMinimum : 0NumberOfRSs : 0 $newvs.Data.VS.InterceptOptsOpt---{opnormal, auditrelevant, reqdatadisable, resdatadisable}