Kamalasekar Parthasarathy
asked on
Room Mailbox create
Hi Team,
I need to create a room mailbox by using exchange 2010 power shell with the following settings. Kinldy help me on this.
Room Mailbox needs to create
Allow recurring meetings
Allow group of users to submit in-policy requests.
Booking Window In Days.
Maximum Duration In hours.
Schedule Only During Work Hours
Allow repeating meetings that have an end date beyond the booking window.
Resource Capacity
Resource custom properties
Conference Room Delegates
All have to set in one shot and i have to set the value as well .. please help me the exact command to create it
I need to create a room mailbox by using exchange 2010 power shell with the following settings. Kinldy help me on this.
Room Mailbox needs to create
Allow recurring meetings
Allow group of users to submit in-policy requests.
Booking Window In Days.
Maximum Duration In hours.
Schedule Only During Work Hours
Allow repeating meetings that have an end date beyond the booking window.
Resource Capacity
Resource custom properties
Conference Room Delegates
All have to set in one shot and i have to set the value as well .. please help me the exact command to create it
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have u tried the links i have provided.
ASKER
Pspgib:
I need to know more on this script. Can you please explain what is the column name do i need to mention according to this script.
I need to know more on this script. Can you please explain what is the column name do i need to mention according to this script.
ASKER
kinldy find the below script and suggest me
$ColItems = import-csv C:\Users\Testcr.csv
foreach($colitem in $colitems)
{
$Name= $colItem.Name
$als=$colItem.Alias
$Office=$colitem.office
$ca4=$colItem.ca4
$ca5=$colItem.ca5
$ca6=$colItem.ca6
$ca8=$colItem.ca8
$ca9=$colItem.ca9
$ca10=$colItem.ca10
$ca15=$colItem.ca15
$send=$colitem.send
$Receive=$colitem.Receive
$Sendandreceive=$colitem.S endandrece ive
$RL=$colitem.RL
$ResCapacity=$colitem.ResC apacity
$Rescustom=$colitem.Rescus tom
$ResDeg=$colitem.ResDeg
$MaxDur=$colitem.MaxDur
$Bookday=$colitem.Bookday
$rec=$colitem.rec
$BIP=$colitem.BIP
$sch=$colitem.sch
New-Mailbox -Name $Name -Alias $Als -Database DB1 -Organizationalunit "users" -Room |
Set-Mailbox -CustomAttribute4 $CA4 -CustomAttribute5 $CA5 -customAttribute6 $CA6 -CustomAttribute8 $CA8 -CustomAttribute9 $CA9 -customAttribute10 $CA10 -customAttribute15 $CA15 -UseDatabaseQuotaDefaults $false -IssueWarningQuota $_.Send -ProhibitSendQuota $_.Receive -ProhibitSendReceiveQuota $_.SendandReceive -RecipientLimits $_.RL -ResourceCapacity $_.ResCapacity -ResourceCustom $_.Rescustom
Set-calendarProcessing -identity $name -ResourceDelegates $ResDeg -MaximumDurationInMinutes
$Maxdur -BookingWindowInDays "$Bookdays"
-AllowRecurringMeetings $rec
-AllBookInpolicy $BIP
ScheduleOnlyDuringWorkHour s $sch
}
__________________________ __________ __________ ________
In the above script i am not able to run for the below three commands, because it is asking me to define true or false.. but i dont want to mention the true or false directly to the script. i want to define the column name and get the information from csv file and it should define true or false to the user conference mailbox. Because i have alot of mailbox and need to apply settings(True or false) to the conference mailboxes.
-AllowRecurringMeetings $rec
-AllBookInpolicy $BIP
ScheduleOnlyDuringWorkHour s $sch
__________________________ __________ ___
Kindly suggest..
$ColItems = import-csv C:\Users\Testcr.csv
foreach($colitem in $colitems)
{
$Name= $colItem.Name
$als=$colItem.Alias
$Office=$colitem.office
$ca4=$colItem.ca4
$ca5=$colItem.ca5
$ca6=$colItem.ca6
$ca8=$colItem.ca8
$ca9=$colItem.ca9
$ca10=$colItem.ca10
$ca15=$colItem.ca15
$send=$colitem.send
$Receive=$colitem.Receive
$Sendandreceive=$colitem.S
$RL=$colitem.RL
$ResCapacity=$colitem.ResC
$Rescustom=$colitem.Rescus
$ResDeg=$colitem.ResDeg
$MaxDur=$colitem.MaxDur
$Bookday=$colitem.Bookday
$rec=$colitem.rec
$BIP=$colitem.BIP
$sch=$colitem.sch
New-Mailbox -Name $Name -Alias $Als -Database DB1 -Organizationalunit "users" -Room |
Set-Mailbox -CustomAttribute4 $CA4 -CustomAttribute5 $CA5 -customAttribute6 $CA6 -CustomAttribute8 $CA8 -CustomAttribute9 $CA9 -customAttribute10 $CA10 -customAttribute15 $CA15 -UseDatabaseQuotaDefaults $false -IssueWarningQuota $_.Send -ProhibitSendQuota $_.Receive -ProhibitSendReceiveQuota $_.SendandReceive -RecipientLimits $_.RL -ResourceCapacity $_.ResCapacity -ResourceCustom $_.Rescustom
Set-calendarProcessing -identity $name -ResourceDelegates $ResDeg -MaximumDurationInMinutes
$Maxdur -BookingWindowInDays "$Bookdays"
-AllowRecurringMeetings $rec
-AllBookInpolicy $BIP
ScheduleOnlyDuringWorkHour
}
__________________________
In the above script i am not able to run for the below three commands, because it is asking me to define true or false.. but i dont want to mention the true or false directly to the script. i want to define the column name and get the information from csv file and it should define true or false to the user conference mailbox. Because i have alot of mailbox and need to apply settings(True or false) to the conference mailboxes.
-AllowRecurringMeetings $rec
-AllBookInpolicy $BIP
ScheduleOnlyDuringWorkHour
__________________________
Kindly suggest..
ASKER
Also i need to enable the Custom attributes and delegates of this room mailbox.
Rajkumar-MCITP:
Thank you, But i need still more information like, To fill all these details in excel sheet and run the command in one shot. Because i have 500 room mailboxes needs to create.