Skip to content

Commit a056b60

Browse files
committed
Readme update
1 parent b13cdab commit a056b60

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

EWSContacts/README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ In this case the contact object returned will be read only (although you can sav
3131
Finally if your contacts aren't located in the default contacts folder you can&nbsp;use the folder parameter to enter in the path to folder that you want&nbsp;to search&nbsp;eg<br />
3232
<br />
3333
Get-Contact -MailboxName <a href="mailto:[email protected]">[email protected]</a> -EmailAddress <a href="mailto:[email protected]">[email protected]</a> -Folder "\Contacts\SubFolder"<br />
34-
<br />
35-
<strong>Create-Contact</strong><br />
34+
<br><br><strong>Get-Contacts <br><br></strong>This can be used to get all the
35+
contacts from a contacts folder in a Mailbox
36+
<p>Example 1 To get a Contact from a Mailbox's default contacts folder<br>
37+
Get-Contacts -MailboxName [email protected] <br><br>Example 2 To get all the
38+
Contacts from subfolder of the Mailbox's default contacts folder<br>Get-Contacts
39+
-MailboxName [email protected] -Folder \Contact\test</p>
40+
&nbsp;<strong><br>Create-Contact</strong><br />
3641
<br />
3742
This can be used to create a contact, I've added parameters for all the most common properties you would set in a contact but I haven't added any Extended properties (if you need to set this you can either add it in yourself or after you create the contact use Get-Contact and update the contact object).<br />
3843
<br />
@@ -112,3 +117,18 @@ Example 2&nbsp;Copy a GAL contact to a Contacts subfolder<br />
112117
<br />
113118
Copy-Contacts.GalToMailbox -MailboxName&nbsp;<a href="mailto:[email protected]">[email protected]</a> -EmailAddress&nbsp;<a href="mailto:[email protected]">[email protected]</a>&nbsp;&nbsp;-Folder \Contacts\UnderContacts<br />
114119
<br />
120+
<p><strong>Get-ContactGroup </strong></p>
121+
<p>This Cmdlet can be used to get a ContactGroup from a Mailbox</p>
122+
<p>Example 1 To Get a Contact Group in the default contacts folder <br><br>
123+
Get-ContactGroup -Mailboxname [email protected] -GroupName GroupName <br><br>
124+
Example 2 To Get a Contact Group in a subfolder of default contacts folder <br>
125+
<br>Get-ContactGroup -Mailboxname [email protected] -GroupName GroupName
126+
-Folder \Contacts\Folder1 </p>
127+
<p><strong>Create-ContactGroup</strong></p>
128+
<p>Example 1 To create a Contact Group in the default contacts folder <br><br>
129+
Create-ContactGroup -Mailboxname [email protected] -GroupName GroupName
130+
-Members (&quot;[email protected]&quot;,&quot;[email protected]&quot;)<br><br>Example 2 To create
131+
a Contact Group in a subfolder of default contacts folder <br><br>
132+
Create-ContactGroup -Mailboxname [email protected] -GroupName GroupName -Folder
133+
\Contacts\Folder1 -Members (&quot;[email protected]&quot;,&quot;[email protected]&quot;)</p>
134+

0 commit comments

Comments
 (0)