File tree Expand file tree Collapse file tree 6 files changed +10
-6
lines changed
microsoftgraph/graph-powershell-1.0/Microsoft.Graph.PersonalContacts Expand file tree Collapse file tree 6 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ There are two scenarios where an app can get a contact in another user's contact
44
44
### EXAMPLE 1
45
45
```
46
46
Import-Module Microsoft.Graph.PersonalContacts
47
- ```
48
47
49
48
# A UPN can also be used as -UserId.
50
49
Get-MgUserContact -UserId $userId -ContactId $contactId
51
50
51
+ ```
52
52
## PARAMETERS
53
53
54
54
### -All
@@ -275,3 +275,4 @@ INPUTOBJECT \<IPersonalContactsIdentity\>: Identity Parameter
275
275
276
276
[https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/get-mgusercontact](https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/get-mgusercontact)
277
277
278
+
Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ Nullable.
48
48
### EXAMPLE 1
49
49
```
50
50
Import-Module Microsoft.Graph.PersonalContacts
51
- ```
52
51
53
52
# A UPN can also be used as -UserId.
54
53
Get-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId
55
54
55
+ ```
56
56
## PARAMETERS
57
57
58
58
### -All
@@ -279,3 +279,4 @@ INPUTOBJECT \<IPersonalContactsIdentity\>: Identity Parameter
279
279
280
280
[https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/get-mgusercontactfoldercontact](https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/get-mgusercontactfoldercontact)
281
281
282
+
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ Add a contact to the root Contacts folder or to the contacts endpoint of another
73
73
### EXAMPLE 1
74
74
```
75
75
Import-Module Microsoft.Graph.PersonalContacts
76
- ```
77
76
78
77
$params = @{
79
78
givenName = "Pavel"
@@ -92,6 +91,7 @@ $params = @{
92
91
# A UPN can also be used as -UserId.
93
92
New-MgUserContact -UserId $userId -BodyParameter $params
94
93
94
+ ```
95
95
## PARAMETERS
96
96
97
97
### -AdditionalProperties
@@ -1016,3 +1016,4 @@ Read-only.
1016
1016
1017
1017
[https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/new-mgusercontact](https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/new-mgusercontact)
1018
1018
1019
+
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ Add a contact to the root Contacts folder or to the \`contacts\` endpoint of ano
73
73
### EXAMPLE 1
74
74
```
75
75
Import-Module Microsoft.Graph.PersonalContacts
76
- ```
77
76
78
77
$params = @{
79
78
parentFolderId = "parentFolderId-value"
@@ -87,6 +86,7 @@ $params = @{
87
86
# A UPN can also be used as -UserId.
88
87
New-MgUserContactFolderContact -UserId $userId -ContactFolderId $contactFolderId -BodyParameter $params
89
88
89
+ ```
90
90
## PARAMETERS
91
91
92
92
### -AdditionalProperties
@@ -1026,3 +1026,4 @@ Read-only.
1026
1026
1027
1027
[https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/new-mgusercontactfoldercontact](https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/new-mgusercontactfoldercontact)
1028
1028
1029
+
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ Delete a contact.
35
35
### EXAMPLE 1
36
36
```
37
37
Import-Module Microsoft.Graph.PersonalContacts
38
- ```
39
38
40
39
# A UPN can also be used as -UserId.
41
40
Remove-MgUserContact -UserId $userId -ContactId $contactId
42
41
42
+ ```
43
43
## PARAMETERS
44
44
45
45
### -ContactId
@@ -176,3 +176,4 @@ INPUTOBJECT \<IPersonalContactsIdentity\>: Identity Parameter
176
176
177
177
[https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/remove-mgusercontact](https://learn.microsoft.com/powershell/module/microsoft.graph.personalcontacts/remove-mgusercontact)
178
178
179
+
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ function Copy-Files{
73
73
$WrongExampleWithExtraSpace = " ```````r`n `Import-Module $Path `r`n`````` "
74
74
$GoodExample = " `````` powershell`r`n Import-Module $Path "
75
75
$GoodExample2 = " ```````r`n `Import-Module $Path "
76
- Write-Host $WrongExample
77
76
$WrongExampleWithRegex = " `````` powershell(?s).*`````` "
78
77
79
78
$Endpath1 = " ```````r`n ## PARAMETERS"
You can’t perform that action at this time.
0 commit comments