diff --git a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md index d05037861a5..e69de29bb2d 100644 --- a/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md +++ b/src/Applications/beta/examples/Get-MgBetaServicePrincipalSynchronizationTemplate.md @@ -1,11 +0,0 @@ -### Example - -```powershell - -Import-Module Microsoft.Graph.Beta.Applications - -Get-MgBetaServicePrincipalSynchronizationTemplate -ServicePrincipalId $servicePrincipalId - -``` -This example shows how to use the Get-MgBetaServicePrincipalSynchronizationTemplate Cmdlet. - diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuilding.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuilding.md index 8b137891791..7accabb763c 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuilding.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuilding.md @@ -1 +1,11 @@ +### Example 1: List all buildings defined in the tenant + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuilding + +``` +This example will list all buildings defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMap.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMap.md index e69de29bb2d..2cc64ff80f9 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMap.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMap.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMap -PlaceId $placeId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMap Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapFootprint.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapFootprint.md index e69de29bb2d..874047f1020 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapFootprint.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapFootprint.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMapFootprint -PlaceId $placeId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMapFootprint Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevel.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevel.md index e69de29bb2d..417f523b508 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevel.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevel.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMapLevel -PlaceId $placeId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMapLevel Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelFixture.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelFixture.md index e69de29bb2d..c06fe5c634b 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelFixture.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelFixture.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMapLevelFixture -PlaceId $placeId -LevelMapId $levelMapId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMapLevelFixture Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelSection.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelSection.md index e69de29bb2d..5764d730cfe 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelSection.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelSection.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMapLevelSection -PlaceId $placeId -LevelMapId $levelMapId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMapLevelSection Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelUnit.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelUnit.md index e69de29bb2d..719dfc6d686 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelUnit.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsBuildingMapLevelUnit.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsBuildingMapLevelUnit -PlaceId $placeId -LevelMapId $levelMapId + +``` +This example shows how to use the Get-MgBetaPlaceAsBuildingMapLevelUnit Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsDesk.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsDesk.md index 8b137891791..f85c31f2a59 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsDesk.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsDesk.md @@ -1 +1,11 @@ +### Example 1: List all desks defined in the tenant + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsDesk + +``` +This example will list all desks defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsFloor.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsFloor.md index 8b137891791..7496a1fdbc1 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsFloor.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsFloor.md @@ -1 +1,11 @@ +### Example 1: List all floors defined in the tenant + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsFloor + +``` +This example will list all floors defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsRoom.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsRoom.md index d5c202fa529..cfdedd87d69 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsRoom.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsRoom.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: List all rooms defined in the tenant ```powershell @@ -7,5 +7,5 @@ Import-Module Microsoft.Graph.Beta.Calendar Get-MgBetaPlaceAsRoom ``` -This example shows how to use the Get-MgBetaPlaceAsRoom Cmdlet. +This example will list all rooms defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsSection.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsSection.md index 8b137891791..cb88e222c0e 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsSection.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsSection.md @@ -1 +1,11 @@ +### Example 1: List all sections defined in the tenant + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsSection + +``` +This example will list all sections defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceAsWorkspace.md b/src/Calendar/beta/examples/Get-MgBetaPlaceAsWorkspace.md index 8b137891791..3c2290f3d4f 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceAsWorkspace.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceAsWorkspace.md @@ -1 +1,11 @@ +### Example 1: List all workspaces defined in the tenant + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceAsWorkspace + +``` +This example will list all workspaces defined in the tenant diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceCheck.md b/src/Calendar/beta/examples/Get-MgBetaPlaceCheck.md index e69de29bb2d..390f437cc0b 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceCheck.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceCheck.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceCheck -PlaceId $placeId -CheckInClaimCalendarEventId $checkInClaimCalendarEventId + +``` +This example shows how to use the Get-MgBetaPlaceCheck Cmdlet. + diff --git a/src/Calendar/beta/examples/Get-MgBetaPlaceOperation.md b/src/Calendar/beta/examples/Get-MgBetaPlaceOperation.md index e69de29bb2d..53ed0508ae6 100644 --- a/src/Calendar/beta/examples/Get-MgBetaPlaceOperation.md +++ b/src/Calendar/beta/examples/Get-MgBetaPlaceOperation.md @@ -0,0 +1,22 @@ +### Example 1: Get a succeeded operation + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceOperation + +``` +This example will get a succeeded operation + +### Example 2: Get a partially succeeded operation with errors + +```powershell + +Import-Module Microsoft.Graph.Beta.Calendar + +Get-MgBetaPlaceOperation + +``` +This example will get a partially succeeded operation with errors + diff --git a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceAutomaticLocation.md b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceAutomaticLocation.md index e69de29bb2d..b148e2ebb28 100644 --- a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceAutomaticLocation.md +++ b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceAutomaticLocation.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +# A UPN can also be used as -UserId. +Clear-MgBetaUserPresenceAutomaticLocation -UserId $userId + +``` +This example shows how to use the Clear-MgBetaUserPresenceAutomaticLocation Cmdlet. + diff --git a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceLocation.md b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceLocation.md index e69de29bb2d..2b47b9ad2e5 100644 --- a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceLocation.md +++ b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceLocation.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +# A UPN can also be used as -UserId. +Clear-MgBetaUserPresenceLocation -UserId $userId + +``` +This example shows how to use the Clear-MgBetaUserPresenceLocation Cmdlet. + diff --git a/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction.md b/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction.md index e69de29bb2d..d32033b3d73 100644 --- a/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction.md +++ b/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction -OnlineMeetingEngagementConversationId $onlineMeetingEngagementConversationId -EngagementConversationMessageId $engagementConversationMessageId + +``` +This example shows how to use the Get-MgBetaCommunicationOnlineMeetingConversationMessageReaction Cmdlet. + diff --git a/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingMessage.md b/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingMessage.md index e69de29bb2d..44a0b8afd0b 100644 --- a/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingMessage.md +++ b/src/CloudCommunications/beta/examples/Get-MgBetaCommunicationOnlineMeetingMessage.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +Get-MgBetaCommunicationOnlineMeetingMessage -ExpandProperty "conversation" + +``` +This example shows how to use the Get-MgBetaCommunicationOnlineMeetingMessage Cmdlet. + diff --git a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceAutomaticLocation.md b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceAutomaticLocation.md index e69de29bb2d..7e4124068cd 100644 --- a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceAutomaticLocation.md +++ b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceAutomaticLocation.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.CloudCommunications + +# A UPN can also be used as -UserId. +Clear-MgUserPresenceAutomaticLocation -UserId $userId + +``` +This example shows how to use the Clear-MgUserPresenceAutomaticLocation Cmdlet. + diff --git a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceLocation.md b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceLocation.md index e69de29bb2d..9abd3b0e8de 100644 --- a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceLocation.md +++ b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceLocation.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.CloudCommunications + +# A UPN can also be used as -UserId. +Clear-MgUserPresenceLocation -UserId $userId + +``` +This example shows how to use the Clear-MgUserPresenceLocation Cmdlet. + diff --git a/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationDrift.md b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationDrift.md new file mode 100644 index 00000000000..68758153468 --- /dev/null +++ b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationDrift.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationDrift + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationDrift Cmdlet. + diff --git a/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitor.md b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitor.md new file mode 100644 index 00000000000..f7e5554e038 --- /dev/null +++ b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitor.md @@ -0,0 +1,22 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationMonitor + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationMonitor Cmdlet. + +### Example 2: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationMonitor + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationMonitor Cmdlet. + diff --git a/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline.md b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline.md new file mode 100644 index 00000000000..e67c4aa1c8e --- /dev/null +++ b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline -ConfigurationMonitorId $configurationMonitorId + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationMonitorBaseline Cmdlet. + diff --git a/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult.md b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult.md new file mode 100644 index 00000000000..e158cc8c6b0 --- /dev/null +++ b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationMonitoringResult Cmdlet. + diff --git a/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob.md b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob.md new file mode 100644 index 00000000000..0989258814b --- /dev/null +++ b/src/ConfigurationManagement/beta/examples/Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob.md @@ -0,0 +1,22 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob Cmdlet. + +### Example 2: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.ConfigurationManagement + +Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob + +``` +This example shows how to use the Get-MgBetaAdminConfigurationManagementConfigurationSnapshotJob Cmdlet. + diff --git a/src/Files/beta/examples/Get-MgBetaDriveItemRetentionLabel.md b/src/Files/beta/examples/Get-MgBetaDriveItemRetentionLabel.md index e69de29bb2d..68e1bd7cef9 100644 --- a/src/Files/beta/examples/Get-MgBetaDriveItemRetentionLabel.md +++ b/src/Files/beta/examples/Get-MgBetaDriveItemRetentionLabel.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Files + +Get-MgBetaDriveItemRetentionLabel -DriveId $driveId -DriveItemId $driveItemId + +``` +This example shows how to use the Get-MgBetaDriveItemRetentionLabel Cmdlet. + diff --git a/src/Groups/beta/examples/Get-MgBetaGroupOnPremiseSyncBehavior.md b/src/Groups/beta/examples/Get-MgBetaGroupOnPremiseSyncBehavior.md index e69de29bb2d..e3a53acc325 100644 --- a/src/Groups/beta/examples/Get-MgBetaGroupOnPremiseSyncBehavior.md +++ b/src/Groups/beta/examples/Get-MgBetaGroupOnPremiseSyncBehavior.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Groups + +Get-MgBetaGroupOnPremiseSyncBehavior -GroupId $groupId + +``` +This example shows how to use the Get-MgBetaGroupOnPremiseSyncBehavior Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingTheme.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingTheme.md index e69de29bb2d..0998fe4baf2 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingTheme.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingTheme.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaOrganizationBrandingTheme -OrganizationId $organizationId + +``` +This example shows how to use the Get-MgBetaOrganizationBrandingTheme Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingThemeLocalization.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingThemeLocalization.md index e69de29bb2d..dc6e6ae0134 100644 --- a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingThemeLocalization.md +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaOrganizationBrandingThemeLocalization.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaOrganizationBrandingThemeLocalization -OrganizationId $organizationId -OrganizationalBrandingThemeId $organizationalBrandingThemeId + +``` +This example shows how to use the Get-MgBetaOrganizationBrandingThemeLocalization Cmdlet. + diff --git a/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope.md b/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope.md index e69de29bb2d..93bb038c816 100644 --- a/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope.md +++ b/src/Identity.Governance/beta/examples/Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.Governance + +Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope -AvailableAccessPackageId $availableAccessPackageId + +``` +This example shows how to use the Get-MgBetaEntitlementManagementAvailableAccessPackageResourceRoleScope Cmdlet. + diff --git a/src/Identity.Governance/beta/examples/Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource.md b/src/Identity.Governance/beta/examples/Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource.md index e69de29bb2d..62dedc50f4c 100644 --- a/src/Identity.Governance/beta/examples/Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource.md +++ b/src/Identity.Governance/beta/examples/Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.Governance + +Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource + +``` +This example shows how to use the Get-MgBetaIdentityGovernancePrivilegedAccessGroupResource Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md b/src/Identity.SignIns/beta/examples/Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md index e69de29bb2d..9dbe57e872c 100644 --- a/src/Identity.SignIns/beta/examples/Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md +++ b/src/Identity.SignIns/beta/examples/Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + hostName = "www.contoso.com" +} + +Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider -WebApplicationFirewallProviderId $webApplicationFirewallProviderId -BodyParameter $params + +``` +This example shows how to use the Confirm-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentCompromised.md b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentCompromised.md index e69de29bb2d..87af4282ee3 100644 --- a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentCompromised.md +++ b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentCompromised.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + agentIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Confirm-MgBetaRiskyAgentCompromised -BodyParameter $params + +``` +This example shows how to use the Confirm-MgBetaRiskyAgentCompromised Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentSafe.md b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentSafe.md index e69de29bb2d..0913cc43468 100644 --- a/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentSafe.md +++ b/src/Identity.SignIns/beta/examples/Confirm-MgBetaRiskyAgentSafe.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +$params = @{ + agentIds = @( + "29f270bb-4d23-4f68-8a57-dc73dc0d4caf" +"20f91ec9-d140-4d90-9cd9-f618587a1471" +) +} + +Confirm-MgBetaRiskyAgentSafe -BodyParameter $params + +``` +This example shows how to use the Confirm-MgBetaRiskyAgentSafe Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaAgentRiskDetection.md b/src/Identity.SignIns/beta/examples/Get-MgBetaAgentRiskDetection.md index e69de29bb2d..755c7ef19d9 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaAgentRiskDetection.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaAgentRiskDetection.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaAgentRiskDetection + +``` +This example shows how to use the Get-MgBetaAgentRiskDetection Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemNamedLocation.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemNamedLocation.md index e69de29bb2d..a847556acec 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemNamedLocation.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemNamedLocation.md @@ -0,0 +1,11 @@ +### Example 1: Retrieve a deleted namedLocation object + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityConditionalAccessDeletedItemNamedLocation -NamedLocationId $namedLocationId + +``` +This example will retrieve a deleted namedlocation object + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemPolicy.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemPolicy.md index e69de29bb2d..ae086cac04a 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemPolicy.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityConditionalAccessDeletedItemPolicy.md @@ -0,0 +1,11 @@ +### Example 1: Retrieve a deleted conditionalAccessPolicy object + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityConditionalAccessDeletedItemPolicy -ConditionalAccessPolicyId $conditionalAccessPolicyId + +``` +This example will retrieve a deleted conditionalaccesspolicy object + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md index e69de29bb2d..4e33f86e074 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider + +``` +This example shows how to use the Get-MgBetaIdentityRiskPreventionWebApplicationFirewallProvider Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification.md index e69de29bb2d..edfe98663d8 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification.md @@ -0,0 +1,22 @@ +### Example 1: Retrieve a specific webApplicationFirewallVerifications object. + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification -WebApplicationFirewallVerificationModelId $webApplicationFirewallVerificationModelId + +``` +This example will retrieve a specific webapplicationfirewallverifications object. + +### Example 2: Retrieve a specific webApplicationFirewallVerifications object along with the details of their associated provider + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityRiskPreventionWebApplicationFirewallVerification -WebApplicationFirewallVerificationModelId $webApplicationFirewallVerificationModelId -ExpandProperty "provider" + +``` +This example will retrieve a specific webapplicationfirewallverifications object along with the details of their associated provider + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityVerifiedIdProfile.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityVerifiedIdProfile.md index e69de29bb2d..61c88de7dd5 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityVerifiedIdProfile.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityVerifiedIdProfile.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityVerifiedIdProfile + +``` +This example shows how to use the Get-MgBetaIdentityVerifiedIdProfile Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicy.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicy.md index e69de29bb2d..6628217c0a7 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicy.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicy.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyB2BManagementPolicy + +``` +This example shows how to use the Get-MgBetaPolicyB2BManagementPolicy Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicyApplyTo.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicyApplyTo.md index e69de29bb2d..2b627b5eec0 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicyApplyTo.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyB2BManagementPolicyApplyTo.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyB2BManagementPolicyApplyTo -B2bManagementPolicyId $b2bManagementPolicyId + +``` +This example shows how to use the Get-MgBetaPolicyB2BManagementPolicyApplyTo Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantPartner.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantPartner.md index e69de29bb2d..502868b9723 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantPartner.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantPartner.md @@ -0,0 +1,11 @@ +### Example 1: Retrieve a deleted crossTenantAccessPolicyConfigurationPartner object + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyDeletedItemCrossTenantPartner -CrossTenantAccessPolicyConfigurationPartnerTenantId $crossTenantAccessPolicyConfigurationPartnerTenantId + +``` +This example will retrieve a deleted crosstenantaccesspolicyconfigurationpartner object + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantSyncPolicyPartner.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantSyncPolicyPartner.md index e69de29bb2d..19f0e61447c 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantSyncPolicyPartner.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyDeletedItemCrossTenantSyncPolicyPartner.md @@ -0,0 +1,11 @@ +### Example 1: Retrieve a deleted crossTenantIdentitySyncPolicyPartner object + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyDeletedItemCrossTenantSyncPolicyPartner -CrossTenantIdentitySyncPolicyPartnerTenantId $crossTenantIdentitySyncPolicyPartnerTenantId + +``` +This example will retrieve a deleted crosstenantidentitysyncpolicypartner object + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicy.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicy.md index e69de29bb2d..22a2a6ad87d 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicy.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicy.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyOnPremAuthenticationPolicy + +``` +This example shows how to use the Get-MgBetaPolicyOnPremAuthenticationPolicy Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo.md b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo.md index e69de29bb2d..9d8a6440a70 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo -OnPremAuthenticationPolicyId $onPremAuthenticationPolicyId + +``` +This example shows how to use the Get-MgBetaPolicyOnPremAuthenticationPolicyApplyTo Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaRiskyAgent.md b/src/Identity.SignIns/beta/examples/Get-MgBetaRiskyAgent.md index e69de29bb2d..bbe206220fd 100644 --- a/src/Identity.SignIns/beta/examples/Get-MgBetaRiskyAgent.md +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaRiskyAgent.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaRiskyAgent + +``` +This example shows how to use the Get-MgBetaRiskyAgent Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider.md b/src/Identity.SignIns/v1.0/examples/Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider.md index e69de29bb2d..643b1fd1485 100644 --- a/src/Identity.SignIns/v1.0/examples/Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider.md +++ b/src/Identity.SignIns/v1.0/examples/Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +$params = @{ + hostName = "www.contoso.com" +} + +Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider -WebApplicationFirewallProviderId $webApplicationFirewallProviderId -BodyParameter $params + +``` +This example shows how to use the Confirm-MgIdentityRiskPreventionWebApplicationFirewallProvider Cmdlet. + diff --git a/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJob.md b/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJob.md index e69de29bb2d..b5b367a5f5c 100644 --- a/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJob.md +++ b/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJob.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Get-MgBetaCrossTenantMigrationJob + +``` +This example shows how to use the Get-MgBetaCrossTenantMigrationJob Cmdlet. + diff --git a/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJobUser.md b/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJobUser.md index e69de29bb2d..83025655046 100644 --- a/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJobUser.md +++ b/src/Migrations/beta/examples/Get-MgBetaCrossTenantMigrationJobUser.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Migrations + +Get-MgBetaCrossTenantMigrationJobUser -CrossTenantMigrationJobId $crossTenantMigrationJobId + +``` +This example shows how to use the Get-MgBetaCrossTenantMigrationJobUser Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportApplicationUsageAnalytic.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportApplicationUsageAnalytic.md index e69de29bb2d..80badc1d186 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportApplicationUsageAnalytic.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportApplicationUsageAnalytic.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessReportApplicationUsageAnalytic -StartDateTime $startDateTimeId -EndDateTime $endDateTimeId -AggregatedBy $aggregatedById + +``` +This example shows how to use the Get-MgBetaNetworkAccessReportApplicationUsageAnalytic Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportCloudApplicationReport.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportCloudApplicationReport.md index e69de29bb2d..7f2b488fe72 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportCloudApplicationReport.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportCloudApplicationReport.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessReportCloudApplicationReport -StartDateTime $startDateTimeId -EndDateTime $endDateTimeId -UserId $userIdId + +``` +This example shows how to use the Get-MgBetaNetworkAccessReportCloudApplicationReport Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportEnterpriseApplicationReport.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportEnterpriseApplicationReport.md index e69de29bb2d..911f1c0efd9 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportEnterpriseApplicationReport.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessReportEnterpriseApplicationReport.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessReportEnterpriseApplicationReport -StartDateTime $startDateTimeId -EndDateTime $endDateTimeId -UserId $userIdId + +``` +This example shows how to use the Get-MgBetaNetworkAccessReportEnterpriseApplicationReport Cmdlet. + diff --git a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessSettingCustomBlockPage.md b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessSettingCustomBlockPage.md index e69de29bb2d..74f5eeda9a6 100644 --- a/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessSettingCustomBlockPage.md +++ b/src/NetworkAccess/beta/examples/Get-MgBetaNetworkAccessSettingCustomBlockPage.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.NetworkAccess + +Get-MgBetaNetworkAccessSettingCustomBlockPage + +``` +This example shows how to use the Get-MgBetaNetworkAccessSettingCustomBlockPage Cmdlet. + diff --git a/src/Teams/beta/examples/Complete-MgBetaChatMigration.md b/src/Teams/beta/examples/Complete-MgBetaChatMigration.md index e69de29bb2d..45238132aa6 100644 --- a/src/Teams/beta/examples/Complete-MgBetaChatMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaChatMigration.md @@ -0,0 +1,22 @@ +### Example 1: Complete the migration of external messages in a chat + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +Complete-MgBetaChatMigration -ChatId $chatId + +``` +This example will complete the migration of external messages in a chat + +### Example 2: Complete the migration when a chat is already in migration mode + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +Complete-MgBetaChatMigration -ChatId $chatId + +``` +This example will complete the migration when a chat is already in migration mode + diff --git a/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md index e79e3481f8a..38ae72fd44d 100644 --- a/src/Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaTeamChannelMigration.md @@ -1,4 +1,4 @@ -### Example 1: Code snippet +### Example 1: Complete the migration when a channel is in migration mode ```powershell @@ -7,5 +7,16 @@ Import-Module Microsoft.Graph.Beta.Teams Complete-MgBetaTeamChannelMigration -TeamId $teamId -ChannelId $channelId ``` -This example shows how to use the Complete-MgBetaTeamChannelMigration Cmdlet. +This example will complete the migration when a channel is in migration mode + +### Example 2: Complete the migration when a channel isn't in migration mode + +```powershell + +Import-Module Microsoft.Graph.Beta.Teams + +Complete-MgBetaTeamChannelMigration -TeamId $teamId -ChannelId $channelId + +``` +This example will complete the migration when a channel isn't in migration mode diff --git a/src/Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaTeamPrimaryChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaTeamworkDeletedTeamChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaUserChatMigration.md b/src/Teams/beta/examples/Complete-MgBetaUserChatMigration.md index e69de29bb2d..8b137891791 100644 --- a/src/Teams/beta/examples/Complete-MgBetaUserChatMigration.md +++ b/src/Teams/beta/examples/Complete-MgBetaUserChatMigration.md @@ -0,0 +1 @@ + diff --git a/src/Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md b/src/Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md index 72ff5f2a8bc..cc5d712368e 100644 --- a/src/Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md +++ b/src/Users.Actions/beta/examples/Find-MgBetaUserMeetingTime.md @@ -1,48 +1,53 @@ -### Example 1: Using the Find-MgBetaUserMeetingTime Cmdlet +### Example 1: Code snippet + ```powershell + Import-Module Microsoft.Graph.Beta.Users.Actions + $params = @{ - Attendees = @( + attendees = @( @{ - Type = "required" - EmailAddress = @{ - Name = "Alex Wilbur" - Address = "alexw@contoso.onmicrosoft.com" + type = "required" + emailAddress = @{ + name = "Alex Wilbur" + address = "alexw@contoso.com" } } ) - LocationConstraint = @{ - IsRequired = "false" - SuggestLocation = "false" - Locations = @( + locationConstraint = @{ + isRequired = "false" + suggestLocation = "false" + locations = @( @{ - ResolveAvailability = "false" - DisplayName = "Conf room Hood" + resolveAvailability = "false" + displayName = "Conf room Hood" } ) } - TimeConstraint = @{ - ActivityDomain = "work" - TimeSlots = @( + timeConstraint = @{ + activityDomain = "work" + timeSlots = @( @{ - Start = @{ - DateTime = "2019-04-16T09:00:00" - TimeZone = "Pacific Standard Time" + start = @{ + dateTime = "2019-04-16T09:00:00" + timeZone = "Pacific Standard Time" } - End = @{ - DateTime = "2019-04-18T17:00:00" - TimeZone = "Pacific Standard Time" + end = @{ + dateTime = "2019-04-18T17:00:00" + timeZone = "Pacific Standard Time" } } ) } - IsOrganizerOptional = "false" - MeetingDuration = "PT1H" - ReturnSuggestionReasons = "true" - MinimumAttendeePercentage = "100" + isOrganizerOptional = "false" + meetingDuration = "PT1H" + returnSuggestionReasons = "true" + minimumAttendeePercentage = 100 } + # A UPN can also be used as -UserId. Find-MgBetaUserMeetingTime -UserId $userId -BodyParameter $params + ``` This example shows how to use the Find-MgBetaUserMeetingTime Cmdlet. -To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). + diff --git a/src/Users.Actions/v1.0/examples/Find-MgUserMeetingTime.md b/src/Users.Actions/v1.0/examples/Find-MgUserMeetingTime.md index 3cfa9bd1ad0..1cecbaa503d 100644 --- a/src/Users.Actions/v1.0/examples/Find-MgUserMeetingTime.md +++ b/src/Users.Actions/v1.0/examples/Find-MgUserMeetingTime.md @@ -1,48 +1,53 @@ -### Example 1: Using the Find-MgUserMeetingTime Cmdlet +### Example 1: Code snippet + ```powershell + Import-Module Microsoft.Graph.Users.Actions + $params = @{ - Attendees = @( + attendees = @( @{ - Type = "required" - EmailAddress = @{ - Name = "Alex Wilbur" - Address = "alexw@contoso.onmicrosoft.com" + type = "required" + emailAddress = @{ + name = "Alex Wilbur" + address = "alexw@contoso.com" } } ) - LocationConstraint = @{ - IsRequired = $false - SuggestLocation = $false - Locations = @( + locationConstraint = @{ + isRequired = $false + suggestLocation = $false + locations = @( @{ - ResolveAvailability = $false - DisplayName = "Conf room Hood" + resolveAvailability = $false + displayName = "Conf room Hood" } ) } - TimeConstraint = @{ - ActivityDomain = "work" - TimeSlots = @( + timeConstraint = @{ + activityDomain = "work" + timeSlots = @( @{ - Start = @{ - DateTime = "2019-04-16T09:00:00" - TimeZone = "Pacific Standard Time" + start = @{ + dateTime = "2019-04-16T09:00:00" + timeZone = "Pacific Standard Time" } - End = @{ - DateTime = "2019-04-18T17:00:00" - TimeZone = "Pacific Standard Time" + end = @{ + dateTime = "2019-04-18T17:00:00" + timeZone = "Pacific Standard Time" } } ) } - IsOrganizerOptional = "false" - MeetingDuration = "PT1H" - ReturnSuggestionReasons = "true" - MinimumAttendeePercentage = "100" + isOrganizerOptional = "false" + meetingDuration = "PT1H" + returnSuggestionReasons = "true" + minimumAttendeePercentage = 100 } + # A UPN can also be used as -UserId. Find-MgUserMeetingTime -UserId $userId -BodyParameter $params + ``` This example shows how to use the Find-MgUserMeetingTime Cmdlet. -To learn about permissions for this resource, see the [permissions reference](/graph/permissions-reference). +