Exchange Server GAL with Powershell

Hi ,

I want to workout the following solutions for GAL like

Get - GAL

Add - GAL

Update- GAL

Remove - GAL

Can anybody help on how can i do that through powershell? When i searched for existed commands like "Get-Command *GetAddress* " i didn't get any cmdlets related to Global Address List.

Is Get-MsolUser for GAL as well? I am in confusion.

September 1st, 2015 12:41pm

Hi,

Take a look here: https://technet.microsoft.com/en-us/library/aa996579(v=exchg.150).aspx

Commands are:

Get-GlobalAddressList

New-GlobalAddressList

Remove-GlobalAddressList

Set-GlobalAddressList

Thanks.

Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 1:05pm

Hi,

Please refer to these below articles to know about above commands:

https://technet.microsoft.com/en-us/library/bb123785(v=exchg.150).aspx

https://technet.microsoft.com/en-us/library/bb124368(v=exchg.150).aspx  

https://technet.microsoft.com/en-us/library/aa998806(v=exchg.150).aspx

Regards,

David 


September 1st, 2015 9:57pm

But all these commands not existed on my powershell? It is giving an error like command not recognized.
Free Windows Admin Tool Kit Click here and download it now
September 1st, 2015 10:01pm

Hi,

I guess you may type wrong commands.

Please post the command you have typed here for further analysis.

Also add the detailed error message you have seen.

Regards,

David

September 2nd, 2015 2:15am

I am executing the following command

Get-GlobalAddressList

Getting the below error message.

Get-GlobalAddressList : The term 'Get-GlobalAddressList' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1

Thanks

Free Windows Admin Tool Kit Click here and download it now
September 2nd, 2015 3:14am

Hi,

I ran the command ,you can see the below result:

[PS] C:\Windows\system32>Get-GlobalAddressList

Name                                                        RecipientFilter
----                                                        ---------------
Default Global Address List                                 ((Alias -ne $null) -and (((ObjectClass -eq 'user') -or (...

Note: You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you.

So I suggest you can use the adiminstorator role to test.

Regards,

David 

September 2nd, 2015 3:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics