Skip to content

Instantly share code, notes, and snippets.

View burn2delete's full-sized avatar
:octocat:
Building an open-source world....

Matt Ratzke burn2delete

:octocat:
Building an open-source world....
View GitHub Profile
@burn2delete
burn2delete / o365-ProxyAddressFix.ps1
Created February 25, 2015 19:54
Update the Office365 Email (proxyAddress) to match UPN
$cred = Get-Credential
$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic -AllowRedirection
Import-PSSession $session
Get-Mailbox -Filter * | ForEach-Object {Set-Mailbox -Identity $_.UserPrincipalName -WindowsEmailAddress $_.UserPrincipalName -Verbose}
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
.PARAMETER <Parameter_Name>
<Brief description of parameter input required. Repeat this attribute if required>
## AutoGenerated file. Do Not Edit. Regenerate by running
## Add-UIModule -AssemblyName System.Windows.Controls.Ribbon -Name Ribbon
@{
ModuleVersion = '1.0'
RequiredModules = 'ShowUI'
RequiredAssemblies = 'System.Xaml','System.Windows.Controls.Ribbon'
ModuleToProcess = 'Ribbon.psm1'
GUID = 'b307ebad-cfb1-4c34-895c-471792c513db'
FunctionsToExport = @('New-KeyTipControl','New-RibbonContextualTabGroupsPanel','New-RibbonGalleryCategoriesPanel','New-RibbonGalleryItemsPanel','New-RibbonGroupItemsPanel','New-RibbonGroupsPanel','New-RibbonMenuItemsPanel','New-RibbonQuickAccessToolBarOverflowPanel','New-RibbonQuickAccessToolBarPanel','New-RibbonTabHeadersPanel','New-RibbonTabsPanel','New-RibbonTitlePanel','New-StarLayoutInfo','New-Ribbon','New-RibbonMenuButton','New-RibbonApplicationMenu','New-RibbonMenuItem','New-RibbonApplicationMenuItem','New-RibbonSplitMenuItem','New-RibbonApplicationSplitMenuItem','New-RibbonButton','New-RibbonCheckBox','New-RibbonComboBox','New-RibbonContextMenu','New-Ri