diff --git a/src/CloudCommunications/v1.0/examples/New-MgUserOnlineMeeting.md b/src/CloudCommunications/v1.0/examples/New-MgUserOnlineMeeting.md index bb117c16dcb..7c4a0895545 100644 --- a/src/CloudCommunications/v1.0/examples/New-MgUserOnlineMeeting.md +++ b/src/CloudCommunications/v1.0/examples/New-MgUserOnlineMeeting.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Create an online meeting with user token ```powershell @@ -14,9 +14,9 @@ $params = @{ New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params ``` -This example shows how to use the New-MgUserOnlineMeeting Cmdlet. +This example will create an online meeting with user token -### Example 2: Code snippet +### Example 2: Create an online meeting that requires a passcode ```powershell @@ -35,9 +35,9 @@ $params = @{ New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params ``` -This example shows how to use the New-MgUserOnlineMeeting Cmdlet. +This example will create an online meeting that requires a passcode -### Example 3: Code snippet +### Example 3: Create an online meeting that doesn't require a passcode ```powershell @@ -56,5 +56,5 @@ $params = @{ New-MgUserOnlineMeeting -UserId $userId -BodyParameter $params ``` -This example shows how to use the New-MgUserOnlineMeeting Cmdlet. +This example will create an online meeting that doesn't require a passcode diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md index 34ddeb1cece..c2a5408546e 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganization.md @@ -4,7 +4,7 @@ Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement -Get-MgBetaOrganization +Get-MgBetaOrganization -OrganizationId $organizationId ``` This example shows how to use the Get-MgBetaOrganization Cmdlet. diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyAppManagementPolicyApplyTo.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyAppManagementPolicyApplyTo.md index de8450da59e..7621e158150 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyAppManagementPolicyApplyTo.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyAppManagementPolicyApplyTo.md @@ -1,14 +1,22 @@ -### Example 1: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet +### Example 1: Get applications and service principal objects applied to an app management policy + ```powershell + Import-Module Microsoft.Graph.Beta.Identity.SignIns + Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId + ``` -This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet. -To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). -### Example 2: Using the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet +This example will get applications and service principal objects applied to an app management policy + +### Example 2: Get specific properties of applications and service principal objects applied to an app management policy using $select query option + ```powershell + Import-Module Microsoft.Graph.Beta.Identity.SignIns + Get-MgBetaPolicyAppManagementPolicyApplyTo -AppManagementPolicyId $appManagementPolicyId -Property "id,appId,displayName,createdDateTime" + ``` -This example shows how to use the Get-MgBetaPolicyAppManagementPolicyApplyTo Cmdlet. -To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +This example will get specific properties of applications and service principal objects applied to an app management policy using $select query option +