Thursday, July 21, 2016

You don't have permission to sync with this server exchange 2010

This error is caused by the maximum Mobile Phone limit (10 device)  in Exchange 2010.

You can increase this limit by using Throttling policy.

First Create new throttling policy.

New-Throttlingpolicy "Increased ActiveSync Devices1" -EasMaxDevices 
600 -EasMaxConcurrency 20
 
 -EasMaxDevices 20 (Maximum mobile phone limit)
 
 -EasMaxConcurrency  (Maximum  concurrent device that will sync.)


 
 
Then assign this policy to user.

Set-Mailbox username -ThrottlingPolicy "Increased ActiveSync Devices1"
 
 
 
Check if Policy applied to mailbox
 
Get-Mailbox username -ThrottlingPolicy | FL 
 

Read more...

Tuesday, May 10, 2016

Export Skype for Business Users List


Get-CsUser -OU "ou=Users,dc=domain,dc=com" | Export-Csv -Path c:\Logs\Skypeuser.csv
Read more...

Exchange 2010 Export to PST

Exchange 2010 Export to PST

Online Archive

New-MailboxExportRequest -Mailbox user.name -IsArchive -FilePath "\\exc01\PSTExport\username.pst"

Mailbox

New-MailboxExportRequest -Mailbox user.name -FilePath \\exc01\pst\username.pst

Get-MailboxExportRequest

Get-MailboxExportRequest -Name MailboxExport | fl

Get-MailboxExportRequest | Get-MailboxExportRequestStatistics

Get-MailboxExportRequest | where {$_.status -eq "Completed"}
Read more...

Active Directory Object Creation Date Report (Quest ActiveRoles Management Shell)


Computer accounts created in last 321 Days.

Get-QADComputer -CreatedAfter (Get-Date).AddDays(-321) | Export-CSV c:\SAMReport\AdReportComp.csv


User accounts created in last 321 Days.

Get-QADUser -CreatedAfter (Get-Date).AddDays(-321) | Export-CSV c:\samreport\AdReportUSer.csv

Read more...

Thursday, October 8, 2015

NetApp NTP Server Configuration

filer0*> options time
timed.enable                 on         (same value in local+partner recommended)
timed.log                    on         (same value in local+partner recommended)
timed.max_skew               5m         (same value in local+partner recommended)
timed.min_skew               0          (same value in local+partner recommended)
timed.proto                  rtc        (same value in local+partner recommended)
timed.sched                  1h         (same value in local+partner recommended)
timed.servers                10.1.100.11 (same value in local+partner recommended)
timed.window                 0s         (same value in local+partner recommended)
Read more...

Thursday, June 18, 2015

Prevent Exchange Server 2010 Direct File Server Access

By Default Exchange Server 2010 allows internal hyperlinks access by using Android smart phones.
Users can access hyperlinks that indicates internal file server in your organization by clicking hyperlinks in emails.

In order to prevent this type of access follow the steps below;

Open Exchange Management Console -> drill down to server configuration -> Client Access -> Exchange ActiveSync (middle tab) -> right click on the name (default website in my case) properties -> Remote file servers tab. From here, you can allow or deny access.
Read more...

Monday, May 4, 2015

Allowing server machine to use filesharing with itself via the DNS Alias (BackConnectionHostNames) (Windows Server 2008 & 2012)

This change is necessary for a DNS alias to work with filesharing from a machine to find itself. This creates the Local Security Authority host names that can be referenced in an NTLM authentication request.
To do this, follow these steps for all the nodes on the client computer:
  1. To the registry subkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0, add new Multi-String Value BackConnectionHostNames
  2. In the Value data box, type the CNAME or the DNS alias, that is used for the local shares on the computer, and then click OK.
    • Note: Type each host name on a separate line.

Read more...
 
span.fullpost {display:none;}