< Back

Get-MailServer

Tue Jan 14, 2020 12:52 am

NAME Get-MailServer



SYNOPSIS

Get the mailserver session





SYNTAX

Get-MailServer [<CommonParameters>]





DESCRIPTION

Use the existing session to import into to higher powershell scope to get access to all the exchange cmdlets





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Import-Mailserver; Import-PSSession (Get-MailServer)















RELATED LINKS