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-MgBetaGroupCalendarSchedule.md b/src/Calendar/beta/examples/Get-MgBetaGroupCalendarSchedule.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Calendar/beta/examples/Get-MgBetaGroupEventDelta.md b/src/Calendar/beta/examples/Get-MgBetaGroupEventDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Calendar/beta/examples/Get-MgBetaGroupEventExceptionOccurrenceDelta.md b/src/Calendar/beta/examples/Get-MgBetaGroupEventExceptionOccurrenceDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Calendar/beta/examples/Get-MgBetaGroupEventExceptionOccurrenceInstanceDelta.md b/src/Calendar/beta/examples/Get-MgBetaGroupEventExceptionOccurrenceInstanceDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Calendar/beta/examples/Get-MgBetaGroupEventInstanceDelta.md b/src/Calendar/beta/examples/Get-MgBetaGroupEventInstanceDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Calendar/beta/examples/Get-MgBetaGroupEventInstanceExceptionOccurrenceDelta.md b/src/Calendar/beta/examples/Get-MgBetaGroupEventInstanceExceptionOccurrenceDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresence.md b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresence.md new file mode 100644 index 00000000000..72478219e92 --- /dev/null +++ b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresence.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +$params = @{ + sessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" +} + +Clear-MgBetaUserPresence -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Clear-MgBetaUserPresence Cmdlet. + diff --git a/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md new file mode 100644 index 00000000000..b46ca75f700 --- /dev/null +++ b/src/CloudCommunications/beta/examples/Clear-MgBetaUserPresenceUserPreferredPresence.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.CloudCommunications + +Clear-MgBetaUserPresenceUserPreferredPresence -UserId $userId + +``` +This example shows how to use the Clear-MgBetaUserPresenceUserPreferredPresence Cmdlet. + diff --git a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresence.md b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresence.md new file mode 100644 index 00000000000..7efc131cfb5 --- /dev/null +++ b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresence.md @@ -0,0 +1,15 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.CloudCommunications + +$params = @{ + sessionId = "22553876-f5ab-4529-bffb-cfe50aa89f87" +} + +Clear-MgUserPresence -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Clear-MgUserPresence Cmdlet. + diff --git a/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceUserPreferredPresence.md b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceUserPreferredPresence.md new file mode 100644 index 00000000000..eac22e1f0d5 --- /dev/null +++ b/src/CloudCommunications/v1.0/examples/Clear-MgUserPresenceUserPreferredPresence.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.CloudCommunications + +Clear-MgUserPresenceUserPreferredPresence -UserId $userId + +``` +This example shows how to use the Clear-MgUserPresenceUserPreferredPresence Cmdlet. + diff --git a/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalAttachment.md b/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalAttachment.md new file mode 100644 index 00000000000..14d8f1fbdf9 --- /dev/null +++ b/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalAttachment.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Compliance + +Get-MgBetaPrivacySubjectRightsRequestFinalAttachment -SubjectRightsRequestId $subjectRightsRequestId + +``` +This example shows how to use the Get-MgBetaPrivacySubjectRightsRequestFinalAttachment Cmdlet. + diff --git a/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalReport.md b/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalReport.md new file mode 100644 index 00000000000..969841e5b12 --- /dev/null +++ b/src/Compliance/beta/examples/Get-MgBetaPrivacySubjectRightsRequestFinalReport.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Compliance + +Get-MgBetaPrivacySubjectRightsRequestFinalReport -SubjectRightsRequestId $subjectRightsRequestId + +``` +This example shows how to use the Get-MgBetaPrivacySubjectRightsRequestFinalReport Cmdlet. + diff --git a/src/DeviceManagement.Administration/v1.0/examples/Disconnect-MgDeviceManagementRemoteAssistancePartner.md b/src/DeviceManagement.Administration/v1.0/examples/Disconnect-MgDeviceManagementRemoteAssistancePartner.md new file mode 100644 index 00000000000..73e98b0f488 --- /dev/null +++ b/src/DeviceManagement.Administration/v1.0/examples/Disconnect-MgDeviceManagementRemoteAssistancePartner.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.DeviceManagement.Administration + +Disconnect-MgDeviceManagementRemoteAssistancePartner -RemoteAssistancePartnerId $remoteAssistancePartnerId + +``` +This example shows how to use the Disconnect-MgDeviceManagementRemoteAssistancePartner Cmdlet. + diff --git a/src/DeviceManagement/v1.0/examples/Clear-MgDeviceManagementManagedDevice.md b/src/DeviceManagement/v1.0/examples/Clear-MgDeviceManagementManagedDevice.md new file mode 100644 index 00000000000..42ec64399b0 --- /dev/null +++ b/src/DeviceManagement/v1.0/examples/Clear-MgDeviceManagementManagedDevice.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.DeviceManagement + +$params = @{ + keepEnrollmentData = $true + keepUserData = $true + macOsUnlockCode = "Mac Os Unlock Code value" + persistEsimDataPlan = $true +} + +Clear-MgDeviceManagementManagedDevice -ManagedDeviceId $managedDeviceId -BodyParameter $params + +``` +This example shows how to use the Clear-MgDeviceManagementManagedDevice Cmdlet. + diff --git a/src/DeviceManagement/v1.0/examples/Disable-MgDeviceManagementManagedDeviceLostMode.md b/src/DeviceManagement/v1.0/examples/Disable-MgDeviceManagementManagedDeviceLostMode.md new file mode 100644 index 00000000000..f8a7a2e5046 --- /dev/null +++ b/src/DeviceManagement/v1.0/examples/Disable-MgDeviceManagementManagedDeviceLostMode.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.DeviceManagement + +Disable-MgDeviceManagementManagedDeviceLostMode -ManagedDeviceId $managedDeviceId + +``` +This example shows how to use the Disable-MgDeviceManagementManagedDeviceLostMode Cmdlet. + diff --git a/src/DeviceManagement/v1.0/examples/Find-MgDeviceManagementManagedDevice.md b/src/DeviceManagement/v1.0/examples/Find-MgDeviceManagementManagedDevice.md new file mode 100644 index 00000000000..6036d0cc24e --- /dev/null +++ b/src/DeviceManagement/v1.0/examples/Find-MgDeviceManagementManagedDevice.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.DeviceManagement + +Find-MgDeviceManagementManagedDevice -ManagedDeviceId $managedDeviceId + +``` +This example shows how to use the Find-MgDeviceManagementManagedDevice Cmdlet. + diff --git a/src/Devices.CorporateManagement/v1.0/examples/Clear-MgUserManagedDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Clear-MgUserManagedDevice.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Devices.CorporateManagement/v1.0/examples/Clear-MgUserManagedDevice.md @@ -0,0 +1 @@ + diff --git a/src/Devices.CorporateManagement/v1.0/examples/Disable-MgUserManagedDeviceLostMode.md b/src/Devices.CorporateManagement/v1.0/examples/Disable-MgUserManagedDeviceLostMode.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Devices.CorporateManagement/v1.0/examples/Disable-MgUserManagedDeviceLostMode.md @@ -0,0 +1 @@ + diff --git a/src/Devices.CorporateManagement/v1.0/examples/Find-MgUserManagedDevice.md b/src/Devices.CorporateManagement/v1.0/examples/Find-MgUserManagedDevice.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Devices.CorporateManagement/v1.0/examples/Find-MgUserManagedDevice.md @@ -0,0 +1 @@ + diff --git a/src/Education/beta/examples/Get-MgBetaEducationReportReadingAssignmentSubmission.md b/src/Education/beta/examples/Get-MgBetaEducationReportReadingAssignmentSubmission.md new file mode 100644 index 00000000000..2de76913b2f --- /dev/null +++ b/src/Education/beta/examples/Get-MgBetaEducationReportReadingAssignmentSubmission.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Get-MgBetaEducationReportReadingAssignmentSubmission -Filter "submitDateTime gt 2023-10-10T00:00:00.000Z" + +``` +This example shows how to use the Get-MgBetaEducationReportReadingAssignmentSubmission Cmdlet. + diff --git a/src/Education/beta/examples/Get-MgBetaEducationReportReflectCheck.md b/src/Education/beta/examples/Get-MgBetaEducationReportReflectCheck.md new file mode 100644 index 00000000000..a9cfd7532ff --- /dev/null +++ b/src/Education/beta/examples/Get-MgBetaEducationReportReflectCheck.md @@ -0,0 +1,22 @@ +### Example 1: Get the Reflect check-in responses from the last 24 hours + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Get-MgBetaEducationReportReflectCheck + +``` +This example will get the reflect check-in responses from the last 24 hours + +### Example 2: Get the Reflect check-in responses for a specific date using $filter + +```powershell + +Import-Module Microsoft.Graph.Beta.Education + +Get-MgBetaEducationReportReflectCheck -Filter "submitDateTime gt 2023-10-10T00:00:00.000Z" + +``` +This example will get the reflect check-in responses for a specific date using $filter + diff --git a/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md b/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md b/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Add-MgBetaGroupDriveListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md b/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md b/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Add-MgBetaUserDriveListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaGroupDriveItem.md b/src/Files/beta/examples/Copy-MgBetaGroupDriveItem.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaGroupDriveItem.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md b/src/Files/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaGroupDriveListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaGroupDriveRoot.md b/src/Files/beta/examples/Copy-MgBetaGroupDriveRoot.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaGroupDriveRoot.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaUserDriveItem.md b/src/Files/beta/examples/Copy-MgBetaUserDriveItem.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaUserDriveItem.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md b/src/Files/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaUserDriveListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Copy-MgBetaUserDriveRoot.md b/src/Files/beta/examples/Copy-MgBetaUserDriveRoot.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Copy-MgBetaUserDriveRoot.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md b/src/Files/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveItemActivityByInterval.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveItemDelta.md b/src/Files/beta/examples/Get-MgBetaGroupDriveItemDelta.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveItemDelta.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md b/src/Files/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveListContentTypeCompatibleHubContentType.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveListItemDelta.md b/src/Files/beta/examples/Get-MgBetaGroupDriveListItemDelta.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveListItemDelta.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md b/src/Files/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveRootActivityByInterval.md @@ -0,0 +1 @@ + diff --git a/src/Files/beta/examples/Get-MgBetaGroupDriveRootDelta.md b/src/Files/beta/examples/Get-MgBetaGroupDriveRootDelta.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/beta/examples/Get-MgBetaGroupDriveRootDelta.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopy.md b/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopyFromContentTypeHub.md b/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Add-MgGroupDriveListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopy.md b/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopyFromContentTypeHub.md b/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Add-MgUserDriveListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgGroupDriveItem.md b/src/Files/v1.0/examples/Copy-MgGroupDriveItem.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgGroupDriveItem.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgGroupDriveListContentTypeToDefaultContentLocation.md b/src/Files/v1.0/examples/Copy-MgGroupDriveListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgGroupDriveListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgGroupDriveRoot.md b/src/Files/v1.0/examples/Copy-MgGroupDriveRoot.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgGroupDriveRoot.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgUserDriveItem.md b/src/Files/v1.0/examples/Copy-MgUserDriveItem.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgUserDriveItem.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgUserDriveListContentTypeToDefaultContentLocation.md b/src/Files/v1.0/examples/Copy-MgUserDriveListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgUserDriveListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Files/v1.0/examples/Copy-MgUserDriveRoot.md b/src/Files/v1.0/examples/Copy-MgUserDriveRoot.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Files/v1.0/examples/Copy-MgUserDriveRoot.md @@ -0,0 +1 @@ + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice.md new file mode 100644 index 00000000000..34560d19216 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice.md @@ -0,0 +1,33 @@ +### Example 1: List all tokens in the inventory + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice + +``` +This example will list all tokens in the inventory + +### Example 2: List all tokens in the inventory, filtered on status + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice -Filter "status eq 'activated'" + +``` +This example will list all tokens in the inventory, filtered on status + +### Example 3: Find a specific token by serial number + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryAuthenticationMethodDeviceHardwareOathDevice -Filter "serialNumber eq 'TOTP123456'" + +``` +This example will find a specific token by serial number + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryCertificateAuthorityMutualTlOauthConfiguration.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryCertificateAuthorityMutualTlOauthConfiguration.md new file mode 100644 index 00000000000..5d5003a4375 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryCertificateAuthorityMutualTlOauthConfiguration.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryCertificateAuthorityMutualTlOauthConfiguration + +``` +This example shows how to use the Get-MgBetaDirectoryCertificateAuthorityMutualTlOauthConfiguration Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md new file mode 100644 index 00000000000..70cca71e47d --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration + +``` +This example shows how to use the Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfiguration Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md new file mode 100644 index 00000000000..37e4a1f28c1 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority -CertificateBasedAuthPkiId $certificateBasedAuthPkiId + +``` +This example shows how to use the Get-MgBetaDirectoryPublicKeyInfrastructureCertificateBasedAuthConfigurationCertificateAuthority Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplate.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplate.md new file mode 100644 index 00000000000..aee88d283c2 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplate.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryTemplateDeviceTemplate + +``` +This example shows how to use the Get-MgBetaDirectoryTemplateDeviceTemplate Cmdlet. + diff --git a/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplateOwner.md b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplateOwner.md new file mode 100644 index 00000000000..56842c1f1e7 --- /dev/null +++ b/src/Identity.DirectoryManagement/beta/examples/Get-MgBetaDirectoryTemplateDeviceTemplateOwner.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.DirectoryManagement + +Get-MgBetaDirectoryTemplateDeviceTemplateOwner -DeviceTemplateId $deviceTemplateId + +``` +This example shows how to use the Get-MgBetaDirectoryTemplateDeviceTemplateOwner Cmdlet. + diff --git a/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityProductChange.md b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityProductChange.md new file mode 100644 index 00000000000..2ce6bd31998 --- /dev/null +++ b/src/Identity.SignIns/beta/examples/Get-MgBetaIdentityProductChange.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Identity.SignIns + +Get-MgBetaIdentityProductChange + +``` +This example shows how to use the Get-MgBetaIdentityProductChange Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Disable-MgUserAuthenticationPhoneMethodSmsSignIn.md b/src/Identity.SignIns/v1.0/examples/Disable-MgUserAuthenticationPhoneMethodSmsSignIn.md new file mode 100644 index 00000000000..ae66135b210 --- /dev/null +++ b/src/Identity.SignIns/v1.0/examples/Disable-MgUserAuthenticationPhoneMethodSmsSignIn.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +# A UPN can also be used as -UserId. +Disable-MgUserAuthenticationPhoneMethodSmsSignIn -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId + +``` +This example shows how to use the Disable-MgUserAuthenticationPhoneMethodSmsSignIn Cmdlet. + diff --git a/src/Identity.SignIns/v1.0/examples/Enable-MgUserAuthenticationPhoneMethodSmsSignIn.md b/src/Identity.SignIns/v1.0/examples/Enable-MgUserAuthenticationPhoneMethodSmsSignIn.md new file mode 100644 index 00000000000..6e5f84a46a9 --- /dev/null +++ b/src/Identity.SignIns/v1.0/examples/Enable-MgUserAuthenticationPhoneMethodSmsSignIn.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Identity.SignIns + +# A UPN can also be used as -UserId. +Enable-MgUserAuthenticationPhoneMethodSmsSignIn -UserId $userId -PhoneAuthenticationMethodId $phoneAuthenticationMethodId + +``` +This example shows how to use the Enable-MgUserAuthenticationPhoneMethodSmsSignIn Cmdlet. + diff --git a/src/Mail/beta/examples/Copy-MgBetaUserMailFolder.md b/src/Mail/beta/examples/Copy-MgBetaUserMailFolder.md new file mode 100644 index 00000000000..de1d17cd7ca --- /dev/null +++ b/src/Mail/beta/examples/Copy-MgBetaUserMailFolder.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Mail + +$params = @{ + destinationId = "destinationId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserMailFolder Cmdlet. + diff --git a/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolder.md @@ -0,0 +1 @@ + diff --git a/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderChildFolderMessage.md @@ -0,0 +1 @@ + diff --git a/src/Mail/beta/examples/Copy-MgBetaUserMailFolderMessage.md b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderMessage.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/beta/examples/Copy-MgBetaUserMailFolderMessage.md @@ -0,0 +1 @@ + diff --git a/src/Mail/beta/examples/Copy-MgBetaUserMessage.md b/src/Mail/beta/examples/Copy-MgBetaUserMessage.md new file mode 100644 index 00000000000..5fb669114af --- /dev/null +++ b/src/Mail/beta/examples/Copy-MgBetaUserMessage.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Mail + +$params = @{ + destinationId = "destinationId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserMessage Cmdlet. + diff --git a/src/Mail/v1.0/examples/Copy-MgUserMailFolder.md b/src/Mail/v1.0/examples/Copy-MgUserMailFolder.md new file mode 100644 index 00000000000..bb5f6a49264 --- /dev/null +++ b/src/Mail/v1.0/examples/Copy-MgUserMailFolder.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Mail + +$params = @{ + destinationId = "destinationId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserMailFolder -UserId $userId -MailFolderId $mailFolderId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserMailFolder Cmdlet. + diff --git a/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolder.md b/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolder.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolder.md @@ -0,0 +1 @@ + diff --git a/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolderMessage.md b/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolderMessage.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/v1.0/examples/Copy-MgUserMailFolderChildFolderMessage.md @@ -0,0 +1 @@ + diff --git a/src/Mail/v1.0/examples/Copy-MgUserMailFolderMessage.md b/src/Mail/v1.0/examples/Copy-MgUserMailFolderMessage.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Mail/v1.0/examples/Copy-MgUserMailFolderMessage.md @@ -0,0 +1 @@ + diff --git a/src/Mail/v1.0/examples/Copy-MgUserMessage.md b/src/Mail/v1.0/examples/Copy-MgUserMessage.md new file mode 100644 index 00000000000..6e356ecd810 --- /dev/null +++ b/src/Mail/v1.0/examples/Copy-MgUserMessage.md @@ -0,0 +1,16 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Mail + +$params = @{ + destinationId = "destinationId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserMessage -UserId $userId -MessageId $messageId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserMessage Cmdlet. + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaGroupOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaSiteOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebook.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebook.md new file mode 100644 index 00000000000..b85f20e4518 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebook.md @@ -0,0 +1,17 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Notes + +$params = @{ + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserOnenoteNotebook -UserId $userId -NotebookId $notebookId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserOnenoteNotebook Cmdlet. + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenotePageToSection.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenotePageToSection.md new file mode 100644 index 00000000000..e239da35061 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenotePageToSection.md @@ -0,0 +1,17 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserOnenotePageToSection -UserId $userId -OnenotePageId $onenotePageId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserOnenotePageToSection Cmdlet. + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionPageToSection.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..b33cb9a7224 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToNotebook.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserOnenoteSectionToNotebook -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserOnenoteSectionToNotebook Cmdlet. + diff --git a/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8da8db8d114 --- /dev/null +++ b/src/Notes/beta/examples/Copy-MgBetaUserOnenoteSectionToSectionGroup.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgBetaUserOnenoteSectionToSectionGroup -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params + +``` +This example shows how to use the Copy-MgBetaUserOnenoteSectionToSectionGroup Cmdlet. + diff --git a/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md b/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookFromWebUrl.md @@ -0,0 +1 @@ + diff --git a/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookRecentNotebook.md b/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookRecentNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/beta/examples/Get-MgBetaGroupOnenoteNotebookRecentNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebook.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenotePageToSection.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgGroupOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebook.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenotePageToSection.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgSiteOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebook.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebook.md new file mode 100644 index 00000000000..deec669d55a --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebook.md @@ -0,0 +1,17 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Notes + +$params = @{ + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteNotebook -UserId $userId -NotebookId $notebookId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserOnenoteNotebook Cmdlet. + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenotePageToSection.md b/src/Notes/v1.0/examples/Copy-MgUserOnenotePageToSection.md new file mode 100644 index 00000000000..a1ad2d051eb --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenotePageToSection.md @@ -0,0 +1,17 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserOnenotePageToSection -UserId $userId -OnenotePageId $onenotePageId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserOnenotePageToSection Cmdlet. + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionPageToSection.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToNotebook.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..ba26a29914d --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToNotebook.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteSectionToNotebook -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserOnenoteSectionToNotebook Cmdlet. + diff --git a/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToSectionGroup.md b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..03885663a3b --- /dev/null +++ b/src/Notes/v1.0/examples/Copy-MgUserOnenoteSectionToSectionGroup.md @@ -0,0 +1,18 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Notes + +$params = @{ + id = "id-value" + groupId = "groupId-value" + renameAs = "renameAs-value" +} + +# A UPN can also be used as -UserId. +Copy-MgUserOnenoteSectionToSectionGroup -UserId $userId -OnenoteSectionId $onenoteSectionId -BodyParameter $params + +``` +This example shows how to use the Copy-MgUserOnenoteSectionToSectionGroup Cmdlet. + diff --git a/src/Planner/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md b/src/Planner/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md new file mode 100644 index 00000000000..e6a5224b132 --- /dev/null +++ b/src/Planner/beta/examples/Get-MgBetaGroupPlannerPlanDelta.md @@ -0,0 +1,11 @@ +### Example 1: Get delta on plans in a group + +```powershell + +Import-Module Microsoft.Graph.Beta.Planner + +Get-MgBetaGroupPlannerPlanDelta -GroupId $groupId + +``` +This example will get delta on plans in a group + diff --git a/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlert.md b/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlert.md new file mode 100644 index 00000000000..1c552fc91ab --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlert.md @@ -0,0 +1,44 @@ +### Example 1: Get all alerts + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportHealthMonitoringAlert + +``` +This example will get all alerts + +### Example 2: Get all active alerts + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportHealthMonitoringAlert -Filter "state eq microsoft.graph.healthmonitoring.alertState'active'" -Property "id, alertType" + +``` +This example will get all active alerts + +### Example 3: List the state of all alerts in a specific time range + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportHealthMonitoringAlert -Filter "createdDateTime gt 2024-06-10T11:23:44Z" -Property "id, alertType, createdDateTime, state" + +``` +This example will list the state of all alerts in a specific time range + +### Example 4: Use $expand to get all alerts with directory object resource sampling + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportHealthMonitoringAlert -ExpandProperty "enrichment/impacts/microsoft.graph.healthmonitoring.directoryobjectimpactsummary/resourceSampling" -Property "alertType, createdDateTime, enrichment'" + +``` +This example will use $expand to get all alerts with directory object resource sampling + diff --git a/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlertConfiguration.md b/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlertConfiguration.md new file mode 100644 index 00000000000..aedfe3037e9 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportHealthMonitoringAlertConfiguration.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportHealthMonitoringAlertConfiguration + +``` +This example shows how to use the Get-MgBetaReportHealthMonitoringAlertConfiguration Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForDesktopMailByReadEmail.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForDesktopMailByReadEmail.md new file mode 100644 index 00000000000..764e8f42494 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForDesktopMailByReadEmail.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForDesktopMailByReadEmail + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForDesktopMailByReadEmail Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForEmailByModernAuthentication.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForEmailByModernAuthentication.md new file mode 100644 index 00000000000..cade78f428f --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForEmailByModernAuthentication.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForEmailByModernAuthentication + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForEmailByModernAuthentication Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb.md new file mode 100644 index 00000000000..a5178433d72 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForExcelWeb Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOneNoteWeb.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOneNoteWeb.md new file mode 100644 index 00000000000..22053158cc1 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOneNoteWeb.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForOneNoteWeb + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForOneNoteWeb Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMacByReadEmail.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMacByReadEmail.md new file mode 100644 index 00000000000..7763e220f1a --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMacByReadEmail.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMacByReadEmail + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMacByReadEmail Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMobileByReadEmail.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMobileByReadEmail.md new file mode 100644 index 00000000000..ac830e758ba --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMobileByReadEmail.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMobileByReadEmail + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForOutlookMobileByReadEmail Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByAppOpening.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByAppOpening.md new file mode 100644 index 00000000000..f5c8d823c60 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByAppOpening.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByAppOpening + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByAppOpening Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByReadEmail.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByReadEmail.md new file mode 100644 index 00000000000..b8c1a4003d5 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByReadEmail.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByReadEmail + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForOutlookWebByReadEmail Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForPowerPointWeb.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForPowerPointWeb.md new file mode 100644 index 00000000000..813e3227adf --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForPowerPointWeb.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForPowerPointWeb + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForPowerPointWeb Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForVisioWeb.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForVisioWeb.md new file mode 100644 index 00000000000..03f060ce1dd --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForVisioWeb.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForVisioWeb + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForVisioWeb Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForWordWeb.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForWordWeb.md new file mode 100644 index 00000000000..7ef44336d47 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForWordWeb.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForWordWeb + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForWordWeb Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForiOsorAndroidMailByReadEmail.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForiOsorAndroidMailByReadEmail.md new file mode 100644 index 00000000000..20019bd93f2 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityActiveUserMetricForiOsorAndroidMailByReadEmail.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityActiveUserMetricForiOsorAndroidMailByReadEmail + +``` +This example shows how to use the Get-MgBetaReportServiceActivityActiveUserMetricForiOsorAndroidMailByReadEmail Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamOverUdpMetricForTeam.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamOverUdpMetricForTeam.md new file mode 100644 index 00000000000..0ca2eab9a0b --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamOverUdpMetricForTeam.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityAudioStreamOverUdpMetricForTeam + +``` +This example shows how to use the Get-MgBetaReportServiceActivityAudioStreamOverUdpMetricForTeam Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamQoEMetricForTeam.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamQoEMetricForTeam.md new file mode 100644 index 00000000000..7f76387a152 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityAudioStreamQoEMetricForTeam.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityAudioStreamQoEMetricForTeam + +``` +This example shows how to use the Get-MgBetaReportServiceActivityAudioStreamQoEMetricForTeam Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityConnectivityMetricForExchange.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityConnectivityMetricForExchange.md new file mode 100644 index 00000000000..f46a68f783e --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityConnectivityMetricForExchange.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityConnectivityMetricForExchange + +``` +This example shows how to use the Get-MgBetaReportServiceActivityConnectivityMetricForExchange Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForEmailDelivery.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForEmailDelivery.md new file mode 100644 index 00000000000..6b0cee23b2d --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForEmailDelivery.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityMessageVolumeMetricForEmailDelivery + +``` +This example shows how to use the Get-MgBetaReportServiceActivityMessageVolumeMetricForEmailDelivery Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForTeamChat.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForTeamChat.md new file mode 100644 index 00000000000..02be997d278 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityMessageVolumeMetricForTeamChat.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityMessageVolumeMetricForTeamChat + +``` +This example shows how to use the Get-MgBetaReportServiceActivityMessageVolumeMetricForTeamChat Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByLaunch.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByLaunch.md new file mode 100644 index 00000000000..27dac157580 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByLaunch.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityUsageMetricForTeamByLaunch + +``` +This example shows how to use the Get-MgBetaReportServiceActivityUsageMetricForTeamByLaunch Cmdlet. + diff --git a/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByMeetingJoined.md b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByMeetingJoined.md new file mode 100644 index 00000000000..641e4a8bc14 --- /dev/null +++ b/src/Reports/beta/examples/Get-MgBetaReportServiceActivityUsageMetricForTeamByMeetingJoined.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Reports + +Get-MgBetaReportServiceActivityUsageMetricForTeamByMeetingJoined + +``` +This example shows how to use the Get-MgBetaReportServiceActivityUsageMetricForTeamByMeetingJoined Cmdlet. + diff --git a/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md b/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md index f136a9561a0..14ec88b087f 100644 --- a/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md +++ b/src/Security/beta/examples/Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet.md @@ -9,6 +9,8 @@ $params = @{ id = "c17e91d6-6bc0-4ecb-b388-269ea3d4ffb7" } additionalDataOptions = "linkedFiles" + cloudAttachmentVersion = "latest" + documentVersion = "recent10" } Add-MgBetaSecurityCaseEdiscoveryCaseReviewSetToReviewSet -EdiscoveryCaseId $ediscoveryCaseId -EdiscoveryReviewSetId $ediscoveryReviewSetId -BodyParameter $params diff --git a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport.md b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport.md new file mode 100644 index 00000000000..beed3cdce9d --- /dev/null +++ b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport.md @@ -0,0 +1,91 @@ +### Example 1: Export a report of items with search hits only, excluding partially indexed items, without additional options + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 1" + exportCriteria = "searchHits" + additionalOptions = "none" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits only, excluding partially indexed items, without additional options + +### Example 2: Export a report of items with search hits and partially indexed items in all targeted locations, without additional options + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 2" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "none" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits and partially indexed items in all targeted locations, without additional options + +### Example 3: Export a report of items with search hits and partially indexed items in locations with search hits, without additional options + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 3" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "none" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits and partially indexed items in locations with search hits, without additional options + +### Example 4: Export a report of partially indexed items in all targeted locations with all additional options selected + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 4" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "advancedIndexing, subfolderContents, allItemsInFolder, listAttachments, teamsAndYammerConversations, htmlTranscripts, cloudAttachments" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of partially indexed items in all targeted locations with all additional options selected + +### Example 5: Export a report of partially indexed items in locations with search hits and cloud attachments + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 5" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "cloudAttachments" + cloudAttachmentVersion = "all" + doucmentVersion = "recent100" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of partially indexed items in locations with search hits and cloud attachments + diff --git a/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult.md b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult.md new file mode 100644 index 00000000000..e18bdd40c4d --- /dev/null +++ b/src/Security/beta/examples/Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult.md @@ -0,0 +1,94 @@ +### Example 1: Export results with search hits only, excluding partially indexed items, with no additional options, as .pst files for each mailbox + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 1 - simple PST" + exportCriteria = "searchHits" + additionalOptions = "none" + exportFormat = "pst" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits only, excluding partially indexed items, with no additional options, as .pst files for each mailbox + +### Example 2: Export results with search hits and partially indexed items in all locations, with no additional options, as .pst files for each mailbox. + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 2" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "none" + exportFormat = "pst" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits and partially indexed items in all locations, with no additional options, as .pst files for each mailbox. + +### Example 3: Export results with search hits and partially indexed items in locations with search hits, with no additional options, as .msg files for each message + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 3" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "none" + exportFormat = "msg" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with search hits and partially indexed items in locations with search hits, with no additional options, as .msg files for each message + +### Example 4: Export results with partially indexed items in all targeted locations, with all additional options, as .eml files for each message + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 4" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments" + exportFormat = "eml" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with partially indexed items in all targeted locations, with all additional options, as .eml files for each message + +### Example 5: Export results with partially indexed items in search hit locations, with cloud attachments, as .eml files for each message + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +$params = @{ + displayName = "Export 5" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "cloudAttachments" + exportFormat = "eml" +} + +Export-MgBetaSecurityCaseEdiscoveryCaseSearchResult -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export results with partially indexed items in search hit locations, with cloud attachments, as .eml files for each message + diff --git a/src/Security/beta/examples/Get-MgBetaSecurityDataDiscoveryCloudAppDiscoveryUploadedStream.md b/src/Security/beta/examples/Get-MgBetaSecurityDataDiscoveryCloudAppDiscoveryUploadedStream.md new file mode 100644 index 00000000000..f7e02a90e3c --- /dev/null +++ b/src/Security/beta/examples/Get-MgBetaSecurityDataDiscoveryCloudAppDiscoveryUploadedStream.md @@ -0,0 +1,11 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Security + +Get-MgBetaSecurityDataDiscoveryCloudAppDiscoveryUploadedStream + +``` +This example shows how to use the Get-MgBetaSecurityDataDiscoveryCloudAppDiscoveryUploadedStream Cmdlet. + diff --git a/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md b/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md index e69de29bb2d..8b137891791 100644 --- a/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md +++ b/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalAttachment.md @@ -0,0 +1 @@ + diff --git a/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md b/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md index e69de29bb2d..8b137891791 100644 --- a/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md +++ b/src/Security/beta/examples/Get-MgBetaSecuritySubjectRightsRequestFinalReport.md @@ -0,0 +1 @@ + diff --git a/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchReport.md b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchReport.md new file mode 100644 index 00000000000..32d0cf95db9 --- /dev/null +++ b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchReport.md @@ -0,0 +1,89 @@ +### Example 1: Export a report of items with search hits only, excluding partially indexed items, without additional options + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 1" + exportCriteria = "searchHits" + additionalOptions = "none" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits only, excluding partially indexed items, without additional options + +### Example 2: Export a report of items with search hits and partially indexed items in all targeted locations, without additional options + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 2" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "none" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits and partially indexed items in all targeted locations, without additional options + +### Example 3: Export a report of items with search hits and partially indexed items in locations with search hits, without additional options + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 3" + exportCriteria = "searchHits, partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "none" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of items with search hits and partially indexed items in locations with search hits, without additional options + +### Example 4: Export a report of partially indexed items in all targeted locations with all additional options selected + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 4" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations, nonresponsiveLocations" + additionalOptions = "teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of partially indexed items in all targeted locations with all additional options selected + +### Example 5: Export a report of partially indexed items in locations with search hits and cloud attachments + +```powershell + +Import-Module Microsoft.Graph.Security + +$params = @{ + displayName = "Export 5" + exportCriteria = "partiallyIndexed" + exportLocation = "responsiveLocations" + additionalOptions = "cloudAttachments" +} + +Export-MgSecurityCaseEdiscoveryCaseSearchReport -EdiscoveryCaseId $ediscoveryCaseId -EdiscoverySearchId $ediscoverySearchId -BodyParameter $params + +``` +This example will export a report of partially indexed items in locations with search hits and cloud attachments + diff --git a/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Security/v1.0/examples/Export-MgSecurityCaseEdiscoveryCaseSearchResult.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSite.md b/src/Sites/beta/examples/Add-MgBetaGroupSite.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaGroupSite.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSiteContentModelToDrive.md b/src/Sites/beta/examples/Add-MgBetaGroupSiteContentModelToDrive.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md b/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md b/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaGroupSiteContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md b/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaGroupSiteListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Add-MgBetaUserFollowedSite.md b/src/Sites/beta/examples/Add-MgBetaUserFollowedSite.md new file mode 100644 index 00000000000..4b3c139ab69 --- /dev/null +++ b/src/Sites/beta/examples/Add-MgBetaUserFollowedSite.md @@ -0,0 +1,22 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Sites + +$params = @{ + value = @( + @{ + id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,712a596e-90a1-49e3-9b48-bfa80bee8740" + } + @{ + id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851851" + } + ) +} + +Add-MgBetaUserFollowedSite -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Add-MgBetaUserFollowedSite Cmdlet. + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebook.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionPageToSection.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToNotebook.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToSectionGroup.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenotePageToSection.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionPageToSection.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToNotebook.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToSectionGroup.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionPageToSection.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToNotebook.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToSectionGroup.md b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Copy-MgBetaGroupSiteOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteApplicableContentTypeForList.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteContentModelAppliedDrive.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteContentModelAppliedDrive.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteContentModelByName.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteContentModelByName.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteContentTypeCompatibleHubContentType.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteDelta.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteDelta.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteDelta.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteListContentTypeCompatibleHubContentType.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteListItemDelta.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteListItemDelta.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteListItemDelta.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookFromWebUrl.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookFromWebUrl.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookFromWebUrl.md @@ -0,0 +1 @@ + diff --git a/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookRecentNotebook.md b/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookRecentNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/beta/examples/Get-MgBetaGroupSiteOnenoteNotebookRecentNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgGroupSite.md b/src/Sites/v1.0/examples/Add-MgGroupSite.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgGroupSite.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopy.md b/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopyFromContentTypeHub.md b/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgGroupSiteContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopy.md b/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopy.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopy.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopyFromContentTypeHub.md b/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopyFromContentTypeHub.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgGroupSiteListContentTypeCopyFromContentTypeHub.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Add-MgUserFollowedSite.md b/src/Sites/v1.0/examples/Add-MgUserFollowedSite.md new file mode 100644 index 00000000000..45e269676af --- /dev/null +++ b/src/Sites/v1.0/examples/Add-MgUserFollowedSite.md @@ -0,0 +1,22 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Sites + +$params = @{ + value = @( + @{ + id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,712a596e-90a1-49e3-9b48-bfa80bee8740" + } + @{ + id = "contoso.sharepoint.com,da60e844-ba1d-49bc-b4d4-d5e36bae9019,0271110f-634f-4300-a841-3a8a2e851851" + } + ) +} + +Add-MgUserFollowedSite -UserId $userId -BodyParameter $params + +``` +This example shows how to use the Add-MgUserFollowedSite Cmdlet. + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteContentTypeToDefaultContentLocation.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteListContentTypeToDefaultContentLocation.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteListContentTypeToDefaultContentLocation.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteListContentTypeToDefaultContentLocation.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebook.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionPageToSection.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToNotebook.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToSectionGroup.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteNotebookSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenotePageToSection.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenotePageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenotePageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionPageToSection.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToNotebook.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToSectionGroup.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionGroupSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionPageToSection.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionPageToSection.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionPageToSection.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToNotebook.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToNotebook.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToNotebook.md @@ -0,0 +1 @@ + diff --git a/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToSectionGroup.md b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToSectionGroup.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Sites/v1.0/examples/Copy-MgGroupSiteOnenoteSectionToSectionGroup.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelAllMember.md b/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelAllMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelAllMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelMember.md b/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaGroupTeamChannelMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaGroupTeamMember.md b/src/Teams/beta/examples/Add-MgBetaGroupTeamMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaGroupTeamMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelAllMember.md b/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelAllMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelAllMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelMember.md b/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaGroupTeamPrimaryChannelMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaTeamChannelAllMember.md b/src/Teams/beta/examples/Add-MgBetaTeamChannelAllMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaTeamChannelAllMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaTeamPrimaryChannelAllMember.md b/src/Teams/beta/examples/Add-MgBetaTeamPrimaryChannelAllMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaTeamPrimaryChannelAllMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelAllMember.md b/src/Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelAllMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaTeamworkDeletedTeamChannelAllMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Add-MgBetaUserChatMember.md b/src/Teams/beta/examples/Add-MgBetaUserChatMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Add-MgBetaUserChatMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Complete-MgBetaGroupTeamChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaGroupTeamMigration.md b/src/Teams/beta/examples/Complete-MgBetaGroupTeamMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Complete-MgBetaGroupTeamMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md b/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Complete-MgBetaGroupTeamPrimaryChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Confirm-MgBetaGroupTeamScheduleTimeCard.md b/src/Teams/beta/examples/Confirm-MgBetaGroupTeamScheduleTimeCard.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Confirm-MgBetaGroupTeamScheduleTimeCard.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Copy-MgBetaGroupTeam.md b/src/Teams/beta/examples/Copy-MgBetaGroupTeam.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Copy-MgBetaGroupTeam.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelMessageDelta.md b/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelMessageDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelMessageReplyDelta.md b/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelMessageReplyDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelRetainedMessage.md b/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelRetainedMessage.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/beta/examples/Get-MgBetaGroupTeamChannelRetainedMessage.md @@ -0,0 +1 @@ + diff --git a/src/Teams/beta/examples/Get-MgBetaGroupTeamPrimaryChannelMessageDelta.md b/src/Teams/beta/examples/Get-MgBetaGroupTeamPrimaryChannelMessageDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Teams/beta/examples/Get-MgBetaGroupTeamPrimaryChannelMessageReplyDelta.md b/src/Teams/beta/examples/Get-MgBetaGroupTeamPrimaryChannelMessageReplyDelta.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/src/Teams/v1.0/examples/Add-MgGroupTeamChannelMember.md b/src/Teams/v1.0/examples/Add-MgGroupTeamChannelMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Add-MgGroupTeamChannelMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Add-MgGroupTeamMember.md b/src/Teams/v1.0/examples/Add-MgGroupTeamMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Add-MgGroupTeamMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Add-MgGroupTeamPrimaryChannelMember.md b/src/Teams/v1.0/examples/Add-MgGroupTeamPrimaryChannelMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Add-MgGroupTeamPrimaryChannelMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Add-MgUserChatMember.md b/src/Teams/v1.0/examples/Add-MgUserChatMember.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Add-MgUserChatMember.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Complete-MgGroupTeamChannelMigration.md b/src/Teams/v1.0/examples/Complete-MgGroupTeamChannelMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Complete-MgGroupTeamChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Complete-MgGroupTeamMigration.md b/src/Teams/v1.0/examples/Complete-MgGroupTeamMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Complete-MgGroupTeamMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Complete-MgGroupTeamPrimaryChannelMigration.md b/src/Teams/v1.0/examples/Complete-MgGroupTeamPrimaryChannelMigration.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Complete-MgGroupTeamPrimaryChannelMigration.md @@ -0,0 +1 @@ + diff --git a/src/Teams/v1.0/examples/Copy-MgGroupTeam.md b/src/Teams/v1.0/examples/Copy-MgGroupTeam.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Teams/v1.0/examples/Copy-MgGroupTeam.md @@ -0,0 +1 @@ + diff --git a/src/Users/beta/examples/Complete-MgBetaUserOutlookTask.md b/src/Users/beta/examples/Complete-MgBetaUserOutlookTask.md new file mode 100644 index 00000000000..4f7a0990bd9 --- /dev/null +++ b/src/Users/beta/examples/Complete-MgBetaUserOutlookTask.md @@ -0,0 +1,12 @@ +### Example 1: Code snippet + +```powershell + +Import-Module Microsoft.Graph.Beta.Users + +# A UPN can also be used as -UserId. +Complete-MgBetaUserOutlookTask -UserId $userId -OutlookTaskId $outlookTaskId + +``` +This example shows how to use the Complete-MgBetaUserOutlookTask Cmdlet. + diff --git a/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md b/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskFolderTask.md @@ -0,0 +1 @@ + diff --git a/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md b/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md new file mode 100644 index 00000000000..8b137891791 --- /dev/null +++ b/src/Users/beta/examples/Complete-MgBetaUserOutlookTaskGroupTaskFolderTask.md @@ -0,0 +1 @@ +