ADMAzevedo Posts

Exchange 2010 ActiveSync Devices list

Export-Mailbox –Identity -PSTFolderPath Export-Mailbox –Identity resolve -PSTFolderPath E:\PSTs \resolve.pst Get-Mailbox -Database ‘Mailbox Database’ | Export-Mailbox -PSTFolderPath D:\PSTs

SELECT create_date AS ‘SQL Server Install Date’, DATEADD(DD, 180, create_date) AS ‘SQL Server Expiry Date’ FROM sys.server_principals WHERE name = ‘NT AUTHORITY\SYSTEM’

Log on Windows Server 2008 R2 by using Administrator account Click Start menu and type Powershell Right click on Powershell and then choose Run as Administrator Type: netsh DHCP…

https://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount

Listar: Get-ADUser -Filter * | Sort-Object Name | Format-Table Name, UserPrincipalName Filtar: $LocalUsers = Get-ADUser -Filter {UserPrincipalName -like ‘*JoseNeves.local’} -Properties userPrincipalName -ResultSetSize $null Mudar: $LocalUsers | foreach {$newUpn =…