Create a Virtual Service using a Template
- Last Updated: May 14, 2025
- 2 minute read
- LoadMaster
- LoadMaster GA
- Documentation
You can create a Virtual Service using a template by using the New-AdcVirtualService command. An example command with output is provided below. To retrieve the name of the template (which is used as the value for the Template parameter), run the Get-Template command.
$newvs = New-AdcVirtualService -VirtualService 10.154.11.125 -VSPort 80 -VSProtocol tcp -Template "Dynamics CRM HTTP" $getvs = Get-AdcVirtualService -VirtualService 10.154.11.125 -VSPort 80 -VSProtocol tcp $getvs | Format-List ReturnCode : 200Response : Command successfully executed.Data : @{VS=} $getvs.Data VS--@{Status=Down; Index=6; VSAddress=10.154.11.125; VSPort=80; Layer=7; NickName=Dynamics CRM HTTP; Enable=Y; SSLReverse=N; SSLReencrypt=N; Intercept=N; InterceptOpts=; AlertThreshold=0; Tran... $getvs.Data.VS Status : DownIndex : 6VSAddress : 10.154.11.125VSPort : 80Layer : 7NickName : Dynamics CRM HTTPEnable : YSSLReverse : NSSLReencrypt : NIntercept : NInterceptOpts : @{Opt=System.Object[]}AlertThreshold : 0Transactionlimit : 0Transparent : NSubnetOriginating : YServerInit : 0StartTLSMode : 0Idletime : 660Cache : NCompress : NVerify : 0UseforSnat : NForceL4 : NForceL7 : YMultiConnect : NClientCert : 0SecurityHeaderOptions : 0ErrorCode : 0CheckUrl : /CheckUse1.1 : NMatchLen : 0CheckUseGet : 0SSLRewrite : 0VStype : httpFollowVSID : 0Protocol : tcpSchedule : lcCheckType : httpPersist : superPersistTimeout : 3600CheckPort : 0NRules : 0NRequestRules : 0NResponseRules : 0NMatchBodyRules : 0NPreProcessRules : 0EspEnabled : NInputAuthMode : 0OutputAuthMode : 0MasterVS : 0MasterVSID : 0IsTransparent : 2AddVia : 0QoS : 0TlsType : 0NeedHostName : NOCSPVerify : NAllowHTTP2 : NEnhancedHealthChecks : NRsMinimum : 0NumberOfRSs : 0