Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Windows PowerShell (Formerly Monad)

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> General >> Windows PowerShell (Formerly Monad) Page: [1]
Login
Message << Older Topic   Newer Topic >>
Limited time MSExchange.org offer! -- 1.Sep.2008 1:00:00 PM
TechGenix and SolarWinds have partnered to provide free copies of SolarWinds Exchange Monitor to all visitors who join the MSExchange.org Forums. SolarWinds Exchange Monitor is a handy desktop dashboard that continuously monitors Microsoft Exchange to deliver real-time insight into Exchange services, mail queue sizes, and host server health. Learn more about Exchange Monitor and the free offer!
Windows PowerShell (Formerly Monad) - 1.May2006 2:45:16 PM   
DanBall

 

Posts: 11
Joined: 15.Mar.2006
Status: offline
Are there any tutorials for using Windows Powershell with Exhchange? 

I found a tutorial on this website about using Monad, so I downloaded the software, and it wouldn't even install because it was too old.  I did a little more research, and found they changed the name with RC1 to Windows Powershell. 

So,  I downloaded and installed it, but find no reference to Exchange in it.
Post #: 1
RE: Windows PowerShell (Formerly Monad) - 1.May2006 3:46:41 PM   
parzival

 

Posts: 18
Joined: 16.Mar.2005
From: Holland
Status: offline
Exchange will have it's own powershell. Although there are many similarities and the windows based commands will probably work on the exchange shell, the windows shell does not hold references to exchange without an exchange installation.

(in reply to DanBall)
Post #: 2
RE: Windows PowerShell (Formerly Monad) - 1.May2006 5:08:10 PM   
DanBall

 

Posts: 11
Joined: 15.Mar.2006
Status: offline
Thanks for the reply... Is there a current downloadable copy I could try?  I'd like to do some testing on this.

Actually, this is directly related to another thread I started (with no replies):
http://forums.msexchange.org/Configuration_Scripting%3f/m_1800404890/tm.htm 

Perhaps you know of another solution for my delimma?

(in reply to parzival)
Post #: 3
RE: Windows PowerShell (Formerly Monad) - 1.May2006 9:47:09 PM   
Henrik Walther

 

Posts: 6827
Joined: 21.Nov.2002
From: Copenhagen, Denmark
Status: offline
If you have subscriber access to MSDN, you can go download the Exchange Server 2007 CTP build, install it and play with the Exchange Management shell as much as you like.


_____________________________

HTH
Henrik Walther
Exchange MVP & MCM: Exchange 2007
MCITP: Exchange 2007, MCITP: Windows Server 2008, MCSE: M+S

Order my Exchange Server 2007 Book!

(in reply to DanBall)
Post #: 4
RE: Windows PowerShell (Formerly Monad) - 2.May2006 2:57:40 PM   
DanBall

 

Posts: 11
Joined: 15.Mar.2006
Status: offline
No, I don't have that access...

As far as you know, is this the only way I could script changes to an AD account?

(in reply to Henrik Walther)
Post #: 5
RE: Windows PowerShell (Formerly Monad) - 3.May2006 10:31:56 PM   
Henrik Walther

 

Posts: 6827
Joined: 21.Nov.2002
From: Copenhagen, Denmark
Status: offline
What is it you want to manipulate on the AD objects?


_____________________________

HTH
Henrik Walther
Exchange MVP & MCM: Exchange 2007
MCITP: Exchange 2007, MCITP: Windows Server 2008, MCSE: M+S

Order my Exchange Server 2007 Book!

(in reply to DanBall)
Post #: 6
RE: Windows PowerShell (Formerly Monad) - 4.May2006 1:27:11 AM   
DanBall

 

Posts: 11
Joined: 15.Mar.2006
Status: offline
I need to modify 3000+ accounts to only be able to receive email from themselves and one AD group.  I can do it by hand, but to do it 3000+ times is out of the question.

(in reply to Henrik Walther)
Post #: 7
RE: Windows PowerShell (Formerly Monad) - 23.May2006 3:35:40 PM   
DanBall

 

Posts: 11
Joined: 15.Mar.2006
Status: offline
Well, it took a lot of research, but I'm getting closer.  Wasn't able to figure out the PowerShell aspect, but got it "sorta" working with vbscript...

Set objUser = GetObject("LDAP://CN=username,OU=Container,DC=DOMAIN,DC=COM")

objUser.RestrictedAddressList = "allowedsender@domain.com"
objUser.SetInfo
objUser.RestrictedAddresses = FALSE
objUser.SetInfo

The RestrictedAddressList is supposted to be an array, but I can only get it working by directly assigning it a value, so that is the one remaining bug I need to work out.  Otherwise, this short script seems to work flawlessly, and I can now do what I need to do.

(in reply to DanBall)
Post #: 8

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> General >> Windows PowerShell (Formerly Monad) Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts