Skip to content

Commit 6b2562a

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
Updating examples
1 parent b422ca0 commit 6b2562a

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

src/CloudCommunications/v1.0/examples/New-MgUserOnlineMeeting.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Example 1: Code snippet
1+
### Example 1: Create an online meeting with user token
22

33
```powershell
44
@@ -14,9 +14,9 @@ $params = @{
1414
New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params
1515
1616
```
17-
This example shows how to use the New-MgUserOnlineMeeting Cmdlet.
17+
This example will create an online meeting with user token
1818

19-
### Example 2: Code snippet
19+
### Example 2: Create an online meeting that requires a passcode
2020

2121
```powershell
2222
@@ -35,9 +35,9 @@ $params = @{
3535
New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params
3636
3737
```
38-
This example shows how to use the New-MgUserOnlineMeeting Cmdlet.
38+
This example will create an online meeting that requires a passcode
3939

40-
### Example 3: Code snippet
40+
### Example 3: Create an online meeting that doesn't require a passcode
4141

4242
```powershell
4343
@@ -56,5 +56,5 @@ $params = @{
5656
New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params
5757
5858
```
59-
This example shows how to use the New-MgUserOnlineMeeting Cmdlet.
59+
This example will create an online meeting that doesn't require a passcode
6060

src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement
66
7-
Get-MgBetaOrganization
7+
Get-MgBetaOrganization -OrganizationId $organizationId
88
99
```
1010
This example shows how to use the Get-MgBetaOrganization Cmdlet.
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
### Example 1: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet
1+
### Example 1: Get applications and service principal objects applied to an app management policy
2+
23
```powershell
4+
35
Import-Module Microsoft.Graph.Beta.Identity.SignIns
6+
47
Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId
8+
59
```
6-
This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet.
7-
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
8-
### Example 2: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet
10+
This example will get applications and service principal objects applied to an app management policy
11+
12+
### Example 2: Get specific properties of applications and service principal objects applied to an app management policy using $select query option
13+
914
```powershell
15+
1016
Import-Module Microsoft.Graph.Beta.Identity.SignIns
17+
1118
Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId -Property "id,appId,displayName,createdDateTime"
19+
1220
```
13-
This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet.
14-
To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference).
21+
This example will get specific properties of applications and service principal objects applied to an app management policy using $select query option
22+

0 commit comments

Comments
 (0)