How to create many new contact groups with Powershell.

tarou chabi 731 Reputation points

I want to create many new contact groups from many .csv files in "TEST" folder with Powershell. Please teach me...

  1. $outlook = new-object -comobject Outlook.application;
  2. $namespace = $outlook.GetNameSpace("MAPI");
  3. $contactFolder = $namespace.GetDefaultFolder(10);
  4. $contactFolder.Folders.Add("TEST");,Add%20Members%20%3E%20From%20Outlook%20Contacts.
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,808 questions
A family of Microsoft email and calendar products.
3,116 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,945 questions
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,161 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rich Matheisen 45,111 Reputation points

    The code in this article is using VBScript but it should be easy enough to convert it to PowerShell:

0 additional answers

Sort by: Most helpful