Search This Blog

Tuesday, June 10, 2014

Lync address book debug

1) Normalisation debug

$a = debug-csaddressbookreplication -user sip:test@domain.com -poolfqdn pool.fqdn -OutVerboseVariable TestOutput
$a.attributevalues
$testoutput


2) C:\Program Files\Microsoft Lync Server 2013\Server\Core>abserver.exe -testPhoneNorm "+1 123 456 7890;Ext=1234"
args[1]: +1 123 456 7890;Ext=1234
+1 123 456 7890;Ext=1234 -> tel:+11234567890;ext=1234
    Matching Rule in Company_Phone_Number_Normalization_Rules.txt on line 123
        ^\++(\d+)[;ext=|;EXT=]+(\d{4})*$


Command execution failed: Not found: Website "34577"

Deleted by mistake IIS website of Lync 2013?

Getting the error Command execution failed: Not found: Website "34577"  in the Deployment wizard?

Deinstall from Control panel Lync web services and try Deployment wizard again...

Automatic certificate enrollment for local system failed (0x800706ba) The RPC server is unavailable.

Problem: Direct Access server Windows 2012 R2 can not get a certificate: Automatic certificate enrollment for local system failed (0x800706ba) The RPC server is unavailable.

Symptoms: certutil ping works on IP, but not on server name.

C:\Windows\system32>certutil -ping -config dc1
Connecting to dc1 ...
Server could not be reached: The RPC server is unavailable. 0x800706ba (WIN32: 1
722 RPC_S_SERVER_UNAVAILABLE) -- (32ms)

CertUtil: -ping command FAILED: 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE
)
CertUtil: The RPC server is unavailable.

C:\Windows\system32>certutil -ping -config 192.1.1.124
Connecting to 192.1.1.124 ...
Server "xxx" ICertRequest2 interface is alive (109ms)
CertUtil: -ping command completed successfully.


Resolution: http://blogs.technet.com/b/isablog/archive/2007/05/16/rpc-filter-and-enable-strict-rpc-compliance.aspx


Friday, June 6, 2014

Find IP by MAC address in powershell

1..254 | ForEach { Test-Connection 192.168.0.$_ -Count 1 -Quiet }

arp -a | select-string "00-15-5D-FE-9F-41" |% { $_.ToString().Trim().Split(" ")[0] }

Thursday, June 5, 2014

Change windows password in RDP session

To change a password in RDP session use Ctril-Alt-End combination instead of Ctrl-Alt-Del

Enjoy!