Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

enable-mailbox giving error

$
0
0

Hi…

I am hoping im just being incompetent.

I am simply trying to create a mailbox for a useraccount using the command

enable-mailbox -identity $logonname -primarysmtpaddress $emailaddress

I am getting the error:

Property expression “$logonname” isn’t valid. Valid values are: Strings that includes ‘@’, where ‘@’ cannot be the last character

submitted by /u/fourpuns
[link] [comments]

The post enable-mailbox giving error appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles