Office 365 + Power Shell

Olá pessoal,

Hoje encontrei um blog muito legal e que tem muita informação de comandos de PowerShell. É o blog da Cogomotive https://www.cogmotive.com/blog/.

Separei os posts mais interessantes no meu ponto de vista, mas vocês podem acessar o blog e ver todo o conteúdo. Além de scripts de PowerShell a Cogomotive tem também um ferramenta gráfica para você extrair informações do ambiente, a ferramenta custa 0,49 U$D.

Solicite uma versão trial no link https://www.cogmotive.com/signup.php

Veja os posts que separei para vocês:

Send as an alias in Microsoft Office 365
Add-RecipientPermission newsletter@cogmotive.com -AccessRights SendAs -Trustee alan@cogmotive.com

https://www.cogmotive.com/blog/office-365-tips/send-as-an-alias-in-microsoft-office-365

Change Primary SMTP address without changing the login name on Office 365
Set-Mailbox username -WindowsEmailAddress username@domain.com

https://www.cogmotive.com/blog/office-365-tips/change-primary-smtp-address-without-changing-the-login-name-on-office-365

List all Mobile Devices connected using ActiveSync on Office 365
Get-Mailbox -ResultSize Unlimited | ForEach {Get-ActiveSyncDeviceStatistics -Mailbox:$_.Identity | fl} | export-csv “ActiveSyncDevices.csv”

https://www.cogmotive.com/blog/office-365-tips/list-all-mobile-devices-connected-using-activesync-on-office-365

List Office 365 Mailbox Folder Permissions & Export to CSV
https://www.cogmotive.com/blog/office-365-tips/list-permissions-of-all-mail-folders-in-office-365-mailbox

New Reporting PowerShell cmdlets in Office 365 Preview
https://www.cogmotive.com/blog/office-365-tips/new-reporting-powershell-cmdlets-in-office-365-preview

Last Logon Date Powershell Script for Office 365
https://www.cogmotive.com/blog/office-365-tips/last-logon-date-powershell-script-for-office-365

Update Office 365 User Details From A CSV File
PS C:\scripts\>$user_file | ForEach {Set-user $_.login_name -Company $_.company -Title $_.title -Department $_.department -Office $_.office}

https://www.cogmotive.com/blog/office-365-tips/update-office-365-user-details-from-a-csv-file

Export all Mailbox Sizes to CSV using Powershell on Office 365
get-mailbox | get-mailboxstatistics | select DisplayName,ItemCount,TotalItemSize | export-csv “MailboxSizes.csv”

https://www.cogmotive.com/blog/powershell/script-to-export-all-mailbox-sizes-to-csv-using-powershell-on-office-365

Export a list of all Mailbox Permissions in Office 365 using Powershell

UserPrincipalName,ObjectWithAccess,ObjectType,AccessType,Inherited,AllowOrDeny
test_shared@cogmotive.com,Alan Byrne(alan@cogmotive.com),UserMailbox,FullAccess,Allow
test_shared@cogmotive.com,Cogmotive Reports(reports@cogmotive.com),MailUniversalDistributionGroup,FullAccess,Allow

https://www.cogmotive.com/blog/office-365-tips/export-a-list-of-all-mailbox-permissions-in-office-365-using-powershell

Easily Create Office 365 Shared Mailboxes
https://www.cogmotive.com/blog/powershell/easily-create-office-365-shared-mailboxes

Reporting on Recipient Types in Office 365
Get-User | Group RecipientTypeDetails]

https://www.cogmotive.com/blog/office-365-tips/reporting-on-recipient-types-in-office-365

List all Users and their Distribution Group Membership in Office 365
https://www.cogmotive.com/blog/powershell/list-all-users-and-their-distribution-group-membership-in-office-365

Removing an Email Address from a Distribution Group in Office 365
$distributionlist = get-distributiongroup test
$distributionlist.EmailAddresses.Remove(“smtp:test2@doorstamp.com”)
Set-DistributionGroup -Identity test -EmailAddresses $distributionlist.EmailAddresses

https://www.cogmotive.com/blog/office-365-tips/removing-an-email-address-from-a-distribution-group-in-office-365

Extracting a list of users with Litigation Hold Enabled
Get-Mailbox -IncludeLitigationHoldDuration | select Name, Lit* | ? {$_.LitigationHoldEnabled -eq $true}

https://www.cogmotive.com/blog/office-365-tips/extracting-a-list-of-users-with-litigation-hold-enabled

 

Fernando Andreazi | http://www.fernandoandreazi.com

MVP Office 365 Office 365 Blog

Curta FernandoAndreazi no Facebook Linkedin Fernando Andreazi Siga Fernando Andreazi no twitter

Sobre Fernando Andreazi

Fernando Andreazi, profissional de TI desde 2004, especialista em tecnologias Microsoft em soluções de Infraestrutura, Gerenciamento e Online Services. Microsoft Certified Trainer (MCT) e Microsoft Most Valuable Professional (MVP) em Office 365. Technical Speaker palestrando sobre tecnologias Microsoft nas principais universidades de São Paulo, TechEd2011 e na Comunidade TechNet. Certificado em Windows XP, Windows Vista, Windows 7, MDOP, Forefront, SCCM2007, SCOM2007, Windows Server 2003, Windows Server 2008, Lync 2010, Exchange Server 2007 , 2010, 2013 e Office 365. MCP, MCSA, MCITP, MCTS e MCDST. Atualmente atua em uma empresa Microsoft LAR como Cloud Specialist e é também Owner da empresa de treinamento Learning365.

Publicado em 01/11/2012, em Office 365. Adicione o link aos favoritos. Deixe um comentário.

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s

%d blogueiros gostam disto: