Get-Group

1st Microsoft Example

Get-Group [-Identity <GroupIdParameter>]
[-Credential <PSCredential>]
[-DomainController <Fqdn>]
[-Filter <String>]
[-IgnoreDefaultScope <SwitchParameter>]
[-Organization <OrganizationIdParameter>]
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
[-ReadFromDomainController <SwitchParameter>]
[-RecipientTypeDetails <RecipientTypeDetails[]>]
[-ResultSize <Unlimited>] 
[-SortBy <String>]
[<CommonParameters>]

2nd Microsoft Example

Get-GlobalAddressList

1st Microsoft Example

Get-GlobalAddressList -Identity GAL_AgencyB | Format-List

Get-ExchangeServer

1st Microsoft Example

Get-ExchangeServer [-Identity <ServerIdParameter>]
[-DomainController <Fqdn>]
[-Status <SwitchParameter>]
[<CommonParameters>]

2nd Microsoft Example

Get-ExchangeServer -Domain <Fqdn> 
[-DomainController <Fqdn>]
[-Status <SwitchParameter>]
[<CommonParameters>]

Get-DynamicDistributionGroup

1st Microsoft Example

Get-DynamicDistributionGroup [-Identity <DynamicGroupIdParameter>]
[-Credential <PSCredential>]
[-DomainController <Fqdn>]
[-Filter <String>]
[-IgnoreDefaultScope <SwitchParameter>]
[-Organization <OrganizationIdParameter>]
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
[-ReadFromDomainController <SwitchParameter>]
[-ResultSize <Unlimited>]
[-SortBy <String>]
[<CommonParameters>]

2nd Microsoft Example

Get-DomainController

1st Microsoft Example

Get-DomainController [-Credential <NetworkCredential>]
[-DomainName <Fqdn>]
[<CommonParameters>]

2nd Microsoft Example

Get-DomainController -GlobalCatalog <SwitchParameter>
[-Credential <NetworkCredential>]
[-Forest <Fqdn>]
[<CommonParameters>]

Get-DistributionGroupMember

1st Microsoft Example

Get-DistributionGroupMember -Identity <DistributionGroupMemberIdParameter>
[-Credential <PSCredential>]
[-DomainController <Fqdn>]
[-IgnoreDefaultScope <SwitchParameter>]
[-ReadFromDomainController <SwitchParameter>]
[-ResultSize <Unlimited>]
[<CommonParameters>]

Get-DistributionGroup

Get-DistributionGroup is a handy Commandlet that allows you to query information about your Exchange Groups. It allows for a wide variety of filters and output so that you can easily manage your environment. I had a question brought up where a user had left the company and happened to be the owner of several DL's. In order to continue managing them we had to change the ownership of them to this persons replacement. To find them I used the example below. (Note: Due to the way AD accounts are created at my org, the full object path is the most reliable way to find this data)

Get-Contact

1st Microsoft Example

Get-Contact [-Identity <ContactIdParameter>]
[-Credential <PSCredential>]
[-DomainController <Fqdn>]
[-Filter <String>]
[-IgnoreDefaultScope <SwitchParameter>]
[-Organization <OrganizationIdParameter>]
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
[-ReadFromDomainController <SwitchParameter>]
[-RecipientTypeDetails <RecipientTypeDetails[]>]
[-ResultSize <Unlimited>]
[-SortBy <String>]
[<CommonParameters>]

2nd Microsoft Example

Get-CASMailbox

1st Microsoft Example

Get-CalendarProcessing

1st Microsoft Example

Get-CalendarProcessing -Identity <MailboxIdParameter>
[-DomainController <Fqdn>]
[-ReadFromDomainController <SwitchParameter>]
[-ResultSize <Unlimited>]
[<CommonParameters>]

Pages

Subscribe to Joustin RSS