Get-O365EmailAddresses

Get-O365EmailAddresses

Gets subscription information for the Integration Module.

Syntax

Parameter Set: Default
Get-O365EmailAddresses [-LocalAccountName] <String> [ <CommonParameters>]

Detailed Description

The Get-O365EmailAddresses cmdlet gets subscription information of a user for the Integration Module.

Parameters

-LocalAccountName<String>

Specifies the name of a local Active Directory user account. The cmdlet gets subscription information for the local user that you specify.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

    LocalAccountName
    Type: System.String
    Description: local user name

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Collections.Generic.List<string>

    This cmdlet returns a list of email addresses for a user.

Examples

Example 1: Get subscription information for a user

This command gets subscription information for the user account named PattiFuller for the Office 365 Integration Module.

PS C:\> Get-O365EmailAddresses -LocalAccountName "PattiFuller"
PS C:\> 

Set-O365EmailAddresses