Quantcast
Channel: Comments on: Provision Exchange Mailboxes from CSV using PowerShell Advanced Functions
Browsing index pages (8 articles)

By: Mike Pfeiffer

1. You would modify the process block like so: Process { $PSBoundParameters["Password"] = ConvertTo-SecureString -AsPlainText $Password -Force New-Mailbox @PSBoundParameters } 2. Try this (untested but...

View Article


By: Geoff Hall

Thanks a bunch! This saved me some work. This is WAY cleaner than my spreadsheet. I was using a spreadsheet to generate the PS commands, then copy/pasted to powershell. Needless to say one wrong...

View Article


By: Mike Pfeiffer

Add a parameter for ResetPasswordOnNextLogon and assign $true for the value. For example: [Parameter(Mandatory=$false, ValueFromPipelineByPropertyName=$true)] [bool] ResetPasswordOnNextLogon

View Article

By: Benny

Thanks Mike this is real time saver. How could I modify your script to flag for a password change on next logon? Thanks.

View Article

By: James Watson

Thanks Mike! One observation. In my (admittedly rushed) experience, if I wanted to leave out the $Database parameter I had to change: ValueFromPipelineByPropertyName=$true to false even though it was...

View Article


By: Create exchange mailboxes from csv

[...] 1. See this – Provision Exchange Mailboxes from CSV using PowerShell Advanced Functions Reply With Quote   [...]

View Article

By: Mike Pfeiffer

Yeah, good point thanks.

View Article

By: Claudio Galletti

Hello Mike, nice idea. You can simplify the code by just using: $PSBoundParameters["Password"] = ConvertTo-SecureString -AsPlainText $Password -Force Instead using the foreach and removing/readding the...

View Article

Browsing index pages (8 articles)


Latest Images