https://github.com/purplemonkeymad/ConnectExchangeOnPrem
Powershell Module with command for quick connect to Exchange On Prem deployments.
https://github.com/purplemonkeymad/ConnectExchangeOnPrem
Last synced: 4 months ago
JSON representation
Powershell Module with command for quick connect to Exchange On Prem deployments.
- Host: GitHub
- URL: https://github.com/purplemonkeymad/ConnectExchangeOnPrem
- Owner: purplemonkeymad
- License: gpl-3.0
- Created: 2020-03-27T10:17:15.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-24T12:48:45.000Z (12 months ago)
- Last Synced: 2024-08-01T13:37:03.858Z (7 months ago)
- Language: PowerShell
- Size: 26.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ConnectExchangeOnPrem
A Powershell Module with a command for quick connects to Exchange On-Prem deployments.## About
I wanted an easy way to just connect to an on-prem setup without having to specify URIs and server names all the time. As I might be connecting within a large number of setups. I wrote this command to auto-discover all the required information and give me an Exchange management environment with only a single command.
## Requirements
The command expects the computer to be part of a domain. You will also have to have at least one On-Prem Exchange server active on that domain. By default it will use Kerberos based authentication.
## Install
Save the module folder to a location in your PSModulePath environment variable. The per user location defaults to your `Documents\WindowsPowershell\Modules` folder.
## Usage
After install you can just call the command. Or you can manually import the module using:
Import-Module ConnectExchangeOnPrem
If you don't care which server you are connecting to you can run the command without any parameters.
Connect-ExchangeOnPrem
If you want to connect to a specific Exchange server then you can specify the server name using the ComputerName parameter.
Connect-ExchangeOnPrem -ComputerName exchange01.ad.contoso.com
In PS 5.0+ this parameter can be autocompleted from the list of discovered servers from AD.
If you need to connect to multiple different exchange environments, you can use the parameter Prefix to differentiate commands from each session. With the following command `Get-Mailbox` will be proxied as `Get-OnPremMailbox`.
Connect-ExchangeOnPrem -Prefix OnPrem
## Author
https://github.com/purplemonkeymad
## Source
The current and future sources will be available at:
https://github.com/purplemonkeymad/ConnectExchangeOnPrem