Friday, July 20, 2012

Creating an Equipment Mailbox with Powershell on Office 365

Recently, we needed some equipment mailboxes in our Office 365 environment for some development tasks using the Exchange Web Services. It seems like the guides that we found online were typically accurate but were frequently incomplete. They included some of the steps, but not enough to really get going fully. Below are the steps developed in order to create our equipment mailboxes.  The steps include several Powershell commands and should help provision the mailboxes from start to finish.

To start, you'll need to install and configure the Microsoft Online Services Module for Windows PowerShell . You can follow the instructions here to do so, it's easy enough.

Next we'll want to open the Microsoft Online Services Module for Windows Powershell program. It will launch like any other Powershell program. Once loaded, we need to give Powershell the credentials we'll be logging in to Office 365 as. These need to be for a user with Administrator privileges in your Office 365 domain. To do so, run the following command:
  • $credentials = Get-Credential
    • This will spawn a window asking for credentials, enter your Office 365 administrative credentials.


Once Powershell has your credentials, we need to log into the Office 365 servers using the credentials we just set and start our remote session. Use the command below to do so:
  • $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $credentials -Authentication Basic -AllowRedirection
    • This might take a few seconds to complete.

Now we need to import the Powershell commands, from the Microsoft servers to our local session.

Use the command below to do so.
  • $ImportResults = Import-PSSession $session

Now that we are properly staged up with our Session and we've imported the commands from the Microsoft Online Services, we can create the mailbox using the commands below:
  • New-Mailbox -Name EquipmentTest01 -DisplayName "Equipment Test-01" -Equipment
The command above will create a mailbox for the EquipmentTest01 user, with a display name of Equipment Test-01. The only thing that makes this command any different than normal create mailbox commands is just the -Equipment argument. You can add other arguments to this command as well, such as -OrganizationalUnit, or -Database to specify which mailbox store to use.

For our purposes, we need to give another user full access to the mailbox. So we used the following command to delegate the access to the user.
  • Add-MailboxPermission "Development User" -user "Equipment Test-01" -Accessright FullAccess
Once that was completed, we were done. There are more things around creation and delegation that can be performed, so I'll post all the documentation below.

58 comments:

Office 365 said...

For More Information Install Office 365 microsoft office 365 setup
http://www.msoffice-setups.com

Jason Borne said...
This comment has been removed by a blog administrator.
Aman tripathi said...

Office.com/myaccount

Mcafee Product Key

Webroot.com/safe

norton.com/setup

norton.com/setup

www.norton.com/setup

ajay kumar said...

Norton.com/setup Online Help – Step by Step guide for Norton Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Norton product.
norton.com/setup

office.com/setup Online Help – Step by Step guide for Office Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Office product.
office.com/setup

mcafee.com/activate Online Help – Step by Step guide for mcafee activate, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup mcafee product.
mcafee.com/activate

Pogo Support - Call 1-844-456-8733 (US/CA) or 01444 39 0119 (UK) for Pogo-related issues. Any errors or issues will be fixed by us related to Pogo Games.
pogo support


Norton Reinstall – Norton has developed a Norton reinstall and removal tool to provides the ease of Un-installation and Re-installation. The Norton Antivirus offers you the protection from the malware, viruses, and other online threats like identity theft and data theft while shop online.
Norton Reinstall

Norton.com/setup Online Help – Step by Step guide for Norton Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Norton product.
norton.com/setup
Norton.com/setup Online Help – Step by Step guide for Norton Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Norton product.
norton.com/setup

office.com/setup Online Help – Step by Step guide for Office Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Office product.
office.com/setup

mcafee.com/activate Online Help – Step by Step guide for mcafee activate, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup mcafee product.
mcafee.com/activate

Pogo Support - Call 1-844-456-8733 (US/CA) or 01444 39 0119 (UK) for Pogo-related issues. Any errors or issues will be fixed by us related to Pogo Games.
pogo support


Norton Reinstall – Norton has developed a Norton reinstall and removal tool to provides the ease of Un-installation and Re-installation. The Norton Antivirus offers you the protection from the malware, viruses, and other online threats like identity theft and data theft while shop online.
Norton Reinstall

Norton.com/setup Online Help – Step by Step guide for Norton Setup, Download & complete installation online. We are providing independent support service if in case you face problem to activate or Setup Norton product.
norton.com/setup

office setup com said...


Before you plan to install the Office 2016 or Office 365 on your device be
it a Computer, Laptop, Mobile Phone or a Tablet, you are required to take
few important steps on of them is to remove any existing Office
installations from your PC. Just like the previous Office products, Office
2016 & 365 will conflict with the previously installed versions. So, it
becomes necessary to remove the previous office files properly.



setup.office.com
office.com
www.office.com/setup

www.office.com setup said...



To Setup retail card please visit official website.
Office Retail Cards allow you to download your security product from the
internet instead of installing from a CD, ensuring recent versions.


www.office.com/myaccount
office com setup
www.office.com setup

regina razz said...


with your entire process to setup office product online. Have you Just bought Microsoft Office product ? If yes then you can complete your Office Setup online with your product key code. You just need open office.com/setup , Install Office , Install Microsoft Office or setup.office.com into your web browser.

office setup
www.office.com/setup
office.com/setup

regina razz said...




In case any message saying ‘Stop’ pops up while installing Microsoft Office 365 due to a compatibility issue, contact our live chat support.Our online Experts through live chat will guide you through the entire process of Office setup, covering all steps and issues.Keep your 25 characters long product key with you.



Office Com Setup
office com/setup
www.office.com/setup

Anonymous said...

Install full MICROSOFT office setup 365 with our support. Now setting up your account will be a cakewalk with us.

Setup and Install Office 2017/2018 365 on your Mac/PC with genuine OFFICE PRODUCT key.
Word, Excel, PowerPoint, Outlook, OneNote and OneDrive, on your PC,Publisher and Access.Everything you need for home, education and work.
We are providing independent support service if in case you face problem to activate or SETUP OFFICE product.

Regards - www.office.com/setup

Smith said...

Online Supports...
office.com/setup
office.com/setup
norton.com/setup
Office.com/setup

Smith said...

Online Supports...
TurboTax Support
Quicken Support
Quickbooks Support

Rohit Sharma said...

Garmin Download at www.garmin.com/express. Register, Update and sync your Garmin Express today and get started with your Garmin Maps.
garmin.com/express

Aman tripathi said...

Netgear Router Support
Belkin Router Support
D-Link Router Support
Cisco Router Support
McAfee.com/Activate
Roku.com/link

Anonymous said...

McAfee Support - With the growing demand for technology, the hackers and spammers are creating new ways to steal your important data. They can attack your device, steal access to your device and later ask for money in exchange for information.

McAfee Support

HP Support phone number said...

HP Support - Hewlett Packard is a world-renowned American International Company which makes Information Technology Products like PC, Laptop, Printer, Scanner and their Hardware & Software. HP products are robust and easy to use, as confirmed by many users around the world.


HP Support

aol mail said...

Mail.aol.com - Login to your AOL E-mail
by visiting Mail.aol.com and you may also do Aol Sign
in, Aol Sign up, Aol Password Reset etc.

Website:- http://mailaolcom.net/

www.webroot.com/safe said...

www.webroot.com/safe - Webroot is very
well known for its immense security from the spyware,
viruses. In order to protect your system from the
spyware or any other cyber attacks, you can download
webroot security tool online from www.webroot.com/safe.

Website:- http://www.webroot-com-safe.us/

Garmin.com/express said...

Garmin.com/express - Register, Setup,
Update and Manage your Garmin Devices Online by visiting
www.garmin.com/express. Install Garmin Express
with the help of Garmin.com/Express.

Website:- http://garmincomexpress.org/

Roadrunner Support said...

Roadrunner Email is a great web mail system
that enable you to access your account using a PC, laptop
or smartphone. Many individuals use Roadrunner email
service for their professional and personal use.

Website:- http://contactassistance.com/roadrunner-support/

Comcast Support said...

Comcast Corporation is an American Global
Telecommunication that offers cable television and
broadcasting. In addition, they also provide services
like internet, telephone and other wireless services.

Website:- http://contactassistance.com/comcast-support/

Aman tripathi said...

McAfee.com/Activate
Roku.com/link

MANUALLY CONFIGURE AOL MAIL IMAP/ SMTP SETTINGSZ said...

MANUALLY CONFIGURE AOL MAIL IMAP/ SMTP SETTINGS –
You can use AOL Mail and any other mail service together at one place.
You just need manually configure all these settings using the IMAP and SMTP.
You will need AOL Mail Server setting and then you can access AOL mail in the folder of Outlook,
Mac Mail, Windows 10 Mail, Thunderbird, and Incredimail. This feature helps
the user to access all their data at one place without having to Sign in to the AOL
Account.

Webroot Firewall Blocking All Internet Access said...

Webroot Firewall Blocking All Internet Access – Webroot firewall is configured in advance
on your system which filters the internet traffic and blocks the spiteful websites. It gives you
an alert to block or allow when detects unrecognized traffic. If the Webroot Firewall blocking all
Internet Access then you may try to disable the firewall temporarily. Here we are going to describe
that how you can view or disable the Firewall status when needed.

Garmin Express UPDATE said...

Garmin Express up date If you are facing any error while syncing your Garmin Express application to
any of your Garmin device. Then do not worry, just try these methods to fix the Garmin
Express Sync Error. In case, you are facing difficulty while following these steps then
you can call us at the toll-free number for assistance.

mcafee activate said...

Our technical experts will offer you the help to download, install and reinstall the McAfee product on your system. McAfee also provides the support to resolve the key related errors as well as the issues related to system performance.
mcafee.com/activate

Our technical experts will offer you the help to download, install and reinstall the McAfee product on your system. McAfee also provides the support to resolve the key related errors as well as the issues related to system performance.
mcafee.com/activate

Office.com/setup – Let’s Get Started with Office Setup Installation by simply following the steps discussed below. You may easily activate Office with the help of Office Com Setup link.
Office.com/setup

Office.com/setup – Let’s Get Started with Office Setup Installation by simply following the steps discussed below. You may easily activate Office with the help of Office Com Setup link.
Office.com/setup

pritam mishra said...


We have a three-part technology to defend against chargebacks. Using our technology frees you up to concentrate on your business and keeps up your merchant account so that you can grow your business.
chargeback management

rahul gupta said...


AOL Mail - Aol Sign in, Sign up, Login etc at AOL com Mail. AOL Email Sign in at Mail.aol.com & Also do AOL Password Reset. My AOL Account at aol.com, login.aol.com, i.aol.com or aol.co.uk

AOL Mail

Webroot SecureAnywhere Antivirus Shield not working – Webroot SecureAnywhere Antivirus includes a number of shields, which works in the background and protects your system. These shields persistently monitor your system and protect your system from the viruses or malware. Webroot SecureAnywhere includes Real-time Shield, Rootkit Shield,

Webroot SecureAnywhere


You can get Norton product from an online store or retail stores. In both cases, you will get Norton product key, using this key you can activate and use Norton product.

norton product key

Sign In AOL Account said...


If your issue related to Create and Sign In AOL Account persists then contact the AOL support team. Talk to a skilled technician and fix your issue without any hassle. And for similar blogs, visit mail.aol.com and troubleshoot AOL issues.

mcafee activate said...

Our technical experts will offer you the help to download, install and reinstall the McAfee product on your system. McAfee also provides the support to resolve the key related errors as well as the issues related to system performance.
mcafee.com/activate

Aman tripathi said...

norton.com/setup Norton, one of the largest security products providers, has made it quite easy to protect your computer system from the malicious online activities, viruses, Trojan horses, scams and other threats. By installing a Norton setup to your device, you can be sure of the privacy of your important files as well as confidential information. Be it a business or consumer, Norton offers a special security software to suit the needs of everyone. You can choose anyone from the following: norton.com/setup

John Wayne said...

Acer Computer Support Number– Acer is a leading brand in the market for desktops and laptops. They have some of the highly praised computers as stated by the users. Now many of the users have also reported some technical glitches when using Acer Computers. Such issue can be really frustrating.

John Wayne said...

Apple Computer Support Number– Apple is a brand which is known to design a perfect product that matches the need of users perfectly. They work efficiently on design and security to leave no loose end to quality. The computer market is highly influenced by Apple Products. The powerful yet elegant computers designed by Apple makes it one of a kind.

John Wayne said...

Samsung Printer Support Number - Samsung Printers are ideal for large and heavy printing. One can print document, text, image and other things at your home and office. You will get quality and quantity with the Samsung Printers. They are also a leading brand in computers, smartphones, and other electronic devices. Now the Samsung also provides the outstanding

Number to Contact said...

Outlook Email Support Number - Outlook is an email service provided by the Microsoft. It was originally known as Hotmail which was the 1st email service in the history. Since then, they have upgraded a lot in terms of services and performance. It has many features to attract the attention of the users including calendar, journal, note taking, contact manager, task manager, and web browsing too.

Number to Contact said...

Netgear Router Support Number - Netgear Inc. is a global computer networking company which produces networking hardware for consumers, businesses, and service providers. It was one of the first to introduce wireless router and since then it is evolving fast. Connect multiple devices with uninterrupted internet signal with Netgear wireless routers and modem routers.

Number to Contact said...

Webroot Support Number - Webroot is an private American Company which offers the internet security to the consumers and businesses. The company developed a wide range of products like Webroot Antivirus, Webroot Endpoint Protection and many others. Webroot spy sweeper also available in the market for the blocking and removal of the spyware. The Webroot antivirus provides the protection to your devices like PC, Mac and mobile devices from the online threats. It is very easy to download and install the product on your system online or offline.

John Smith said...

Office.com/setup - Microsoft Office is world-renowned suite available for both personal and professional use. If you are one of Microsoft Office users then you would have an idea about the great services provided by them. Furthermore, it one of the oldest and still thriving suites in the market.

John Smith said...

McAfee.com/activate - Visit the website in order to Get Started with the McAfee Activation or you may also contact us anytime at our Toll-free number to get help for McAfee Activate or Install.

John Smith said...

norton.com/setup - Let's get Started with Norton Security as we are here to get you the easiest way to Setup Norton Security. Feel free to contact us if you need any help.

John Smith said...

Norton.com/setup - Setup your Norton subscription now with the help of this link. Let’s get started with your Norton Security today so just Activate Norton Subscription to enjoy the services.

John Smith said...

McAfee.com/activate may be used in order to Activate McAfee Security. You may easily use the McAfee by going to the link and enter the 25 digit product key.

John Smith said...

McAfee.com/Activate - McAfee Antivirus one of the popular Antivirus and Security System around the Globe. It helps many users to provide protection from the virus, trojan, spyware, and many similar threats. Ig you want to get started with McAfee then you have to go through the steps to McAfee.com/Activate. Secure your PC, Laptop, Tablet, and Smartphones with McAfee Antivirus and follow these to McAfee.com/Activate on your respective device.

John Smith said...

norton.com/setup - As the computer is one of the basic and daily need for many around the globe. People spend and share most of their life on the social media. To ensure the safety, the Norton has designed their security application which is continuously updated with technology. In addition, they have developed many different products for a wide spectrum of users. Furthermore, you can also subscribe to various PC optimize and Mobile Security application as one of the Norton Product.

John Smith said...

norton.com/setup allows you to download and install the Norton Antivirus setup online on your device. You can manage your Norton product subscription and renewal from your Norton account. Norton provides you a  Norton Utility tool to analyze and optimize your computer. Norton utility is a free tool which can be downloaded from the manufacturer website. It increased the boot speed and optimize the overall performance of the system.

John Smith said...

Webroot.com/safe - Activate Your Webroot Com Safe on your laptop, PC, Smartphone etc & secure your devices. Let’s Get Started with Webroot Safe at www.Webroot.com/safe & Activate Webroot Safe.

Pankaj Singh said...

Thank you very much for sharing this very useful Advice, I Am Quite Happy to have Discovered this blog. Visit for
Hong Kong Honeymoon Packages

asni singh said...

www.office.com/setup
garmin.com/express
office.com/setup

mcafee.com/activate
www.Webroot.com/Safe
mcafee.com/activate

McAfeecom Activate said...

Simple steps to download and install Norton setup. Just enter www.norton.com/setup Product key and get started with Norton.com/setup.

http://www.nortoncomsetup.uk/

Nidhi Kapoor said...

norton.com/setup france - Norton products help you to protect your devices like Windows PC, Mac and other mobile devices etc. You can download and install the product on every device to protect your digital life from the threats. Every Norton product does require a product key to activate your version of the product on your system.
norton setup

Office.com/setup France- Enter Key for Office.com/setup, after purchasing Office from visit office.com/setup, sign in to your www.office.com/setup account then enter the product key for Office Setup. There is a reason why Microsoft Office is used by many individuals.
Office Setup France

norton.com/setup Europe- The company has developed a vast variety of security tools and software. Norton is one of the most popular brands amongst the users which offers the protection from malware and other threats. Unlike the other security tools available in the market the Norton Antivirus offers the cross-platform security.
norton setup

Office.com/setup Europe - Microsoft Office suite includes a number of world-leading applications like MS Word, MS Excel, and many others. Every version of the Office product requires a product key to activate the subscription. Let’s discuss the process of downloading, installation, and activation of your version of the Office product.
office.com setup

naina sh said...

Get started office Setup with Product Key at www.office.com/setup. Sign in, Enter Product Key and install Office or call us toll-free +1-888-406-4114

NIA said...

ATT LOGIN - AT&T is an American Multinational Company that provides a wide range of products and services and have many subsidiaries. To manage all services and product, you need an ATT account. Once you use this account and login ATT, you will be able to add your AT&T services and manage them remotely.
www att com


COX WEBMAIL - Cox is a private American Company that provides digital cable television, telecommunications, and Home Automation services in the United States. COX WEBMAIL provides a reliable support service to their users. You can register yourself with the COX MAIL and get started with their services now.
cox webmail

ajay singh said...


If you are having one of such question and looking for an answer then do not worry. We are here to help you. You can call the Norton Support team and we will provide you with an on-call technician. The technician will take your issue and help you through by providing you troubleshooting steps.

norton.com/setup





Brother is another popular Printer company which manufactures advanced printing device and accessories for both personal and business use. It is a Japanese company which sells their products both online and offline, from stores.


Brother printer support



A technician will help you fix various issues related to the Microsoft Office including the different Office subscriptions. Also, guide you to protect and

effectively use your license. Call Now or visit at Office.com/setup.


office.com/setup




Garmin.com/express - Along with all the different devices for the navigation, outdoor activities, and fitness, the Garmin has also given an application to manage these devices at one place, this application is called Garmin Express. You can download Garmin.com/express from the website for free. Using this application, a user can update maps, update software, manage favorites, register a device, and much more.



garmin.com/express



Roadrunner Email - Roadrunner offers superior, reliable and consistent webmail services to the customers. If you select the Roadrunner services then you will be getting high-speed internet and fastest Wi-Fi for your home use


Roadrunner Email


#plymouth_road_runner , #road_runner_car , #roadrunner #roadrunner_email

aol mail said...

www.office.com/setup
Learn, how to download and setup Microsoft office software For Windows and Mac OS PC/Laptop

Anonymous said...

aolmail.com aol mail www.aolmail.com
epson support epson support number
samsung support number samsung printer support
apple contact number apple support phone number
acer support acer support Number acer tech support

Albert Parker said...

Call us at our Brother Printer Tech Support Phone Number, +1-888-6221-0339. Dial Printer Support brings you round the clock Brother Printer Technical Support at our Brother Printer Tech Support Phone Number or our printer support chat. Brother Printer Technical Support Phone Number
Brother Printer Tech Support Phone Number

Naseem Ansari said...

Thank you so much for the sharing article. I have been reading your articles and they are really very helpful for me.

visit:
Hotmail Customer Support

Ram Kirar said...

Hello! This is my first visit to your blog! This is my first comment here, so I just wanted to give a quick shout out and say I genuinely enjoy reading your articles. Your blog provided us useful information. You have done an outstanding job.
malaysia visa for indians


John Smith said...

Seo Khazana - Offpage optimization alludes to every one of the measures that can be taken outside of the real site to enhance its situation in look rankings. These are measures that assistance make the same number of excellent backlinks (approaching connections) as could be allowed.