Comandos Para Implementar Lync
?Aqui os dejo los pasos y comandos necesarios para implementar un servidor de Lync
Prepare Lync Server Prerequisites (based on Windows 2008 R2 SP1)
- Import-Module ServerManager
Add-WindowsFeature Web-Server,Web-Http-Redirect,Web-Client-Auth,Web-Scripting-Tools,Web-Windows-Auth,Web-Asp-Net,Web-Log-Libraries,Web-Http-Tracing,Web-Basic-Auth,Telnet-Client,MSMQ,MSMQ-Services,MSMQ-Server,MSMQ-Directory,RSAT
%systemroot%\system32\dism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck
Deploy First Lync Server
- Create File Share for Lync e.g. C:\Share with Full Access Share/File Permissions : Administartors
Run Lync Server Setup
Install Topology Builder
Prep Schema / Forest / Domain
Add Domain Admins to CSAdministrators using AD Users and Computers MMC
Prepare first STD Edition Server
Create Topology & Publish
Configure Local Replica of Central Management Store
Install / Update Lync Server System
(1) Install Local Configuration Store
(2) Setup or Remove Lync Server Components
(3) Request, Install or Assign Certificates
(4) Start Services
Deploy Survivable Branch Server
- Add Windows Feature .NET Framework 3.5.1
Run Setup.exe and install Topology Builder
Add to Topology
Export-CsConfiguration -FileName C:\CSConfig.zip
Import-CsConfiguration -LocalStore -FileName C:\CSConfig.zip -Verbose
Enable-CSReplica -Verbose
Enable-CsComputer -Verbose
Request-CsCertificate –New –Type default -CA YourCA -Verbose
Set-CsCertificate -Type Default -Thumbprint YourCertThumbprint
Start-cswindowsservice –verbose
Deploy Edge Server
- On FE
– Add to Topology & Publish
– Export-CsConfiguration -FileName C:\CSConfig.zip
– Copy file to Edge c:\
On Edge
– Add Windows Feature .NET Framework 3.5.1
– Add Certificate Root from CA to Local Computer Store
– Run Setup.exe and Install Topology Builder
– Select Install / Update Lync Server System
– (1) Install Local Configuration Store using c:\CSConfig.ZIP
– (2) Setup or Remove Lync Server Components
– (3) Request, Install or Assign Certificates
– (4) Start Services
Analog Devices
- New-Csanalogdevice -ou "ou=analog,dc=contoso,dc=com" -LineUri tel:+14031231001 -registrarpool pool01.contoso.com -analogfax $false -gateway pstngw1.contoso.com
Common Area Phone
- New-CsCommonAreaPhone -ou "ou=cap,dc=contoso,dc=com" -LineUri tel:+14031232001 -registrarpool pool01.contoso.com -DisplayName “privacy room” -DisplayNumber "+1.403.123.2001"
- Get-CsCommonAreaPhone -Filter {LineUri -eq "tel:+13125551212"} | Set-CsClientPIN -PIN 1234
Location Information Service
- Set-csLisSubnet -Subnet 10.1.17.0 -Location "HQ/5th Floor" -CompanyName "5th Floor Contoso" -HouseNumber 1000 -HouseNumberSuffix "" -PreDirectional "" -StreetName "9th Avenue" -StreetSuffix "SW" -PostDirectional "" -City Calgary -State "AB" -PostalCode "T2P 10P" -Country CA
Publish-CSLisConfiguration
Network Bandwidth Policies
- New-CsNetworkBandwidthPolicyProfile -Identity AllBlocked -AudioBWLimit 0 -AudioBWSessionLimit 200 -VideoBWLimit 0 -VideoBWSessionLimit 3000
New-CsNetworkBandwidthPolicyProfile -Identity Audio -AudioBWLimit 2000 -AudioBWSessionLimit 200 -VideoBWLimit 0 -VideoBWSessionLimit 3000
New-CsNetworkBandwidthPolicyProfile -Identity AllAccepted -AudioBWLimit 2000 -AudioBWSessionLimit 200 -VideoBWLimit 30000 -VideoBWSessionLimit 3000
Call Park Service
- New-csCallParkOrbit -Identity CallParkCalgaryHQ -NumberRangeStart 100 -NumberRangeEnd 110 -CallParkServerFqdn pool01.contoso.com
Annoucement Service for Vacant Numbers
- New-CsAnnouncement –Identity service:pool01.contoso.com -Name "Vacant" -TextToSpeechPrompt "You have dialed an unassigned number" -Language "en-US" New-CsUnassignedNumber -Identity HQ.403.123 -NumberRangeStart tel:+14031236000 -NumberRangeEnd tel:+14032987499 -AnnouncementService ApplicationServer:pool01.contoso.com -AnnouncementName vacant
Turn off REFER on SIP Trunk Carrier Services
- set-cstrunkconfiguration -Identity Global -EnableReferSupport $false
Media ByPass with Supported Gateway
- Import-Module ServerManager
set-cstrunkconfiguration -Identity Global -RTCPCallsOnHold $false
set-cstrunkconfiguration -Identity Global -RTCPActiveCalls $false
set-cstrunkconfiguration -Identity Global -EnableReferSupport $true
set-cstrunkconfiguration -Identity Global -EnableByPass $true
set-cstrunkconfiguration -Identity Global -ConcentratedTopology $true
set-cstrunkconfiguration -Identity Global -SRTPMode $true
Espero que os sea de utilidad!!!!