Welcome to the Exchange Management Shell!
Full list of cmdlets: get-command
Only Exchange cmdlets: get-excommand
Cmdlets for a specific role: get-help -role *UM* or *Mailbox*
Get general help: help
Get help for a cmdlet: help or -?
Show quick reference guide: quickref
Exchange team blog: get-exblog
Show full output for a cmd: | format-list
Tip of the day #32:
Do you want to change the authentication settings on an Outlook Web Access virtu
al directory? Try the following command as an example. It changes authentication
from forms-based authentication to Windows authentication:
Set-OwaVirtualDirectory -Identity "OWA (Default Web Site)" -FormsAuthentication
0 -WindowsAuthentication 1
[PS] C:\Windows\system32>$adminsessionadsettings.defaultscope="xxxx.domain.com"
[PS] C:\Windows\system32>get-mailbox surendratest |fl
Database : hostname\xxxxxxx
DeletedItemFlags : DatabaseDefault
UseDatabaseRetentionDefaults : True
RetainDeletedItemsUntilBackup : False
DeliverToMailboxAndForward : False
RetentionHoldEnabled : False
EndDateForRetentionHold :
StartDateForRetentionHold :
ManagedFolderMailboxPolicy :
ExchangeGuid : 767be9e2-5d48-4074-97f1-8af409a5ae50
ExchangeSecurityDescriptor : System.Security.AccessControl.RawSecurit
yDescriptor
ExchangeUserAccountControl : None
ExternalOofOptions : External
ForwardingAddress :
RetainDeletedItemsFor : 14.00:00:00
IsMailboxEnabled : True
Languages : {}
OfflineAddressBook :
ProhibitSendQuota : unlimited
ProhibitSendReceiveQuota : unlimited
DowngradeHighPriorityMessagesEnabled : False
ProtocolSettings : {}
RecipientLimits : unlimited
UserAccountControl : NormalAccount
IsResource : False
IsLinked : False
IsShared : False
LinkedMasterAccount :
ResourceCapacity :
ResourceCustom : {}
ResourceType :
SamAccountName : surendratest
SCLDeleteThreshold :
SCLDeleteEnabled :
SCLRejectThreshold :
SCLRejectEnabled :
SCLQuarantineThreshold :
SCLQuarantineEnabled :
SCLJunkThreshold :
SCLJunkEnabled :
AntispamBypassEnabled : False
ServerLegacyDN : /o=domainname/ou=Exchange Administrative
Group (FYDIBOHF23SPDLT)/cn=Configuration
/cn=Servers/cn=hostname
ServerName : hostname
UseDatabaseQuotaDefaults : True
IssueWarningQuota : unlimited
RulesQuota : 64KB
Office :
UserPrincipalName : surendratest@domain.com
UMEnabled : False
MaxSafeSenders :
MaxBlockedSenders :
Extensions : {}
AcceptMessagesOnlyFrom : {}
AcceptMessagesOnlyFromDLMembers : {}
AddressListMembership : {\Default Global Address List, \All
Users}
Alias : surendratest
OrganizationalUnit : domain.com/Test
CustomAttribute1 :
CustomAttribute10 :
CustomAttribute11 :
CustomAttribute12 :
CustomAttribute13 :
CustomAttribute14 :
CustomAttribute15 :
CustomAttribute2 :
CustomAttribute3 :
CustomAttribute4 :
CustomAttribute5 :
CustomAttribute6 :
CustomAttribute7 :
CustomAttribute8 :
CustomAttribute9 :
DisplayName : surendra test
EmailAddresses : {SMTP:surendra.test@domain.com}
GrantSendOnBehalfTo : {}
HiddenFromAddressListsEnabled : False
LegacyExchangeDN : /o=domain/ou=Exchange Administrative
Group (FYDIBOHF23SPDLT)/cn=Recipients/cn
=surendratest
MaxSendSize : unlimited
MaxReceiveSize : unlimited
PoliciesIncluded : {{59823DFC-F0E8-415F-91FD-FF348E42D71F},
{26491CFC-9E50-4857-861B-0CB8DF22B5D7}}
PoliciesExcluded : {}
EmailAddressPolicyEnabled : True
PrimarySmtpAddress : surendra.test@domain.com
RecipientType : UserMailbox
RecipientTypeDetails : UserMailbox
RejectMessagesFrom : {}
RejectMessagesFromDLMembers : {}
RequireSenderAuthenticationEnabled : False
SimpleDisplayName :
UMDtmfMap : {}
WindowsEmailAddress : surendra.test@domain.com
IsValid : True
OriginatingServer : xxxx.domain.com
ExchangeVersion : 0.1 (8.0.535.0)
Name : surendra test
DistinguishedName : CN=surendra
test,OU=Test,DC=xxx,DC=xxxx,DC=com
Identity :xxxx.domain.com/Test/surendra test
Guid : 080a9966-43b3-4910-ba25-2a4b17e4840d
ObjectCategory : domain.com/Configuration/Schema/Person
ObjectClass : {top, person, organizationalPerson,
user}
WhenChanged : 12/5/2013 1:33:22 PM
WhenCreated : 12/5/2013 1:33:15 PM
ObjectState : Unchanged
[PS] C:\Windows\system32>get-mailbox surendratest |select isshared
IsShared
--------
False
[PS] C:\Windows\system32>set-mailbox surendratest -type shared
[PS] C:\Windows\system32>
Full list of cmdlets: get-command
Only Exchange cmdlets: get-excommand
Cmdlets for a specific role: get-help -role *UM* or *Mailbox*
Get general help: help
Get help for a cmdlet: help
Show quick reference guide: quickref
Exchange team blog: get-exblog
Show full output for a cmd:
Tip of the day #32:
Do you want to change the authentication settings on an Outlook Web Access virtu
al directory? Try the following command as an example. It changes authentication
from forms-based authentication to Windows authentication:
Set-OwaVirtualDirectory -Identity "OWA (Default Web Site)" -FormsAuthentication
0 -WindowsAuthentication 1
[PS] C:\Windows\system32>$adminsessionadsettings.defaultscope="xxxx.domain.com"
[PS] C:\Windows\system32>get-mailbox surendratest |fl
Database : hostname\xxxxxxx
DeletedItemFlags : DatabaseDefault
UseDatabaseRetentionDefaults : True
RetainDeletedItemsUntilBackup : False
DeliverToMailboxAndForward : False
RetentionHoldEnabled : False
EndDateForRetentionHold :
StartDateForRetentionHold :
ManagedFolderMailboxPolicy :
ExchangeGuid : 767be9e2-5d48-4074-97f1-8af409a5ae50
ExchangeSecurityDescriptor : System.Security.AccessControl.RawSecurit
yDescriptor
ExchangeUserAccountControl : None
ExternalOofOptions : External
ForwardingAddress :
RetainDeletedItemsFor : 14.00:00:00
IsMailboxEnabled : True
Languages : {}
OfflineAddressBook :
ProhibitSendQuota : unlimited
ProhibitSendReceiveQuota : unlimited
DowngradeHighPriorityMessagesEnabled : False
ProtocolSettings : {}
RecipientLimits : unlimited
UserAccountControl : NormalAccount
IsResource : False
IsLinked : False
IsShared : False
LinkedMasterAccount :
ResourceCapacity :
ResourceCustom : {}
ResourceType :
SamAccountName : surendratest
SCLDeleteThreshold :
SCLDeleteEnabled :
SCLRejectThreshold :
SCLRejectEnabled :
SCLQuarantineThreshold :
SCLQuarantineEnabled :
SCLJunkThreshold :
SCLJunkEnabled :
AntispamBypassEnabled : False
ServerLegacyDN : /o=domainname/ou=Exchange Administrative
Group (FYDIBOHF23SPDLT)/cn=Configuration
/cn=Servers/cn=hostname
ServerName : hostname
UseDatabaseQuotaDefaults : True
IssueWarningQuota : unlimited
RulesQuota : 64KB
Office :
UserPrincipalName : surendratest@domain.com
UMEnabled : False
MaxSafeSenders :
MaxBlockedSenders :
Extensions : {}
AcceptMessagesOnlyFrom : {}
AcceptMessagesOnlyFromDLMembers : {}
AddressListMembership : {\Default Global Address List, \All
Users}
Alias : surendratest
OrganizationalUnit : domain.com/Test
CustomAttribute1 :
CustomAttribute10 :
CustomAttribute11 :
CustomAttribute12 :
CustomAttribute13 :
CustomAttribute14 :
CustomAttribute15 :
CustomAttribute2 :
CustomAttribute3 :
CustomAttribute4 :
CustomAttribute5 :
CustomAttribute6 :
CustomAttribute7 :
CustomAttribute8 :
CustomAttribute9 :
DisplayName : surendra test
EmailAddresses : {SMTP:surendra.test@domain.com}
GrantSendOnBehalfTo : {}
HiddenFromAddressListsEnabled : False
LegacyExchangeDN : /o=domain/ou=Exchange Administrative
Group (FYDIBOHF23SPDLT)/cn=Recipients/cn
=surendratest
MaxSendSize : unlimited
MaxReceiveSize : unlimited
PoliciesIncluded : {{59823DFC-F0E8-415F-91FD-FF348E42D71F},
{26491CFC-9E50-4857-861B-0CB8DF22B5D7}}
PoliciesExcluded : {}
EmailAddressPolicyEnabled : True
PrimarySmtpAddress : surendra.test@domain.com
RecipientType : UserMailbox
RecipientTypeDetails : UserMailbox
RejectMessagesFrom : {}
RejectMessagesFromDLMembers : {}
RequireSenderAuthenticationEnabled : False
SimpleDisplayName :
UMDtmfMap : {}
WindowsEmailAddress : surendra.test@domain.com
IsValid : True
OriginatingServer : xxxx.domain.com
ExchangeVersion : 0.1 (8.0.535.0)
Name : surendra test
DistinguishedName : CN=surendra
test,OU=Test,DC=xxx,DC=xxxx,DC=com
Identity :xxxx.domain.com/Test/surendra test
Guid : 080a9966-43b3-4910-ba25-2a4b17e4840d
ObjectCategory : domain.com/Configuration/Schema/Person
ObjectClass : {top, person, organizationalPerson,
user}
WhenChanged : 12/5/2013 1:33:22 PM
WhenCreated : 12/5/2013 1:33:15 PM
ObjectState : Unchanged
[PS] C:\Windows\system32>get-mailbox surendratest |select isshared
IsShared
--------
False
[PS] C:\Windows\system32>set-mailbox surendratest -type shared
[PS] C:\Windows\system32>
No comments:
Post a Comment