Saturday, September 5, 2015

[LY2013] Lync Cmdlets



Install-CSAdServerSchema -Confirm:$false -Verbose -Report "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Install-CSAdServerSchema-[2014_09_06][19_01_36].html"

Enable-CSAdForest  -Verbose -Confirm:$false -Report "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Enable-CSAdForest-[2014_09_06][19_09_04].html"

Enable-CSAdDomain -Verbose -Confirm:$false -Report "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Enable-CSAdDomain-[2014_09_06][19_09_19].html"






> Assign Certificate

Set-CSCertificate -Type Default,WebServicesInternal,WebServicesExternal -Thumbprint 06C891A7A56A2F0FD93B1C27A1A4EE1F6ED0B1C8 -Confirm:$false -Report "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Set-CSCertificate-[2014_09_07][11_07_06].html"
The following certificate was assigned for the type "Default":
Default: 06C891A7A56A2F0FD93B1C27A1A4EE1F6ED0B1C8 pool01.oregon.usa 09/06/2016 CN=oregonCA, DC=oregon, DC=usa 15A92708000000000003
The following certificate was assigned for the type "WebServicesInternal":
WebServicesInternal: 06C891A7A56A2F0FD93B1C27A1A4EE1F6ED0B1C8 pool01.oregon.usa 09/06/2016 CN=oregonCA, DC=oregon, DC=usa 15A92708000000000003
The following certificate was assigned for the type "WebServicesExternal":
WebServicesExternal: 06C891A7A56A2F0FD93B1C27A1A4EE1F6ED0B1C8 pool01.oregon.usa 09/06/2016 CN=oregonCA, DC=oregon, DC=usa 15A92708000000000003




Request-CSCertificate -New -Type OAuthTokenIssuer -CA "dc01.oregon.usa\oregonCA" -Country US -State "Oregon" -FriendlyName "Lync Default Cert Oath" -KeySize 2048 -PrivateKeyExportable $True -Organization "Oregon" -OU "IT" -AllSipDomain -Verbose -Report "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Request-CSCertificate-[2014_09_07][11_07_48].html"
Creating new log file "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Request-CSCertificate-575da714-5864-40ba-9486-169e6f0f375a.xml".
Create a certificate request based on Lync Server configuration for this computer.
Issued thumbprint "0906D699447EFCFA864D4EC51786097E2CA87592" for use "OAuthTokenIssuer" by "dc01.oregon.usa\oregonCA".
No changes were made to the Central Management Store.
Creating new log file "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Request-CSCertificate-[2014_09_07][11_07_48].html".
"Request-CSCertificate" processing has completed successfully.
Detailed results can be found at "C:\Users\Administrator.OREGON\AppData\Local\Temp\2\Request-CSCertificate-[2014_09_07][11_07_48].html".