Skip to content

Commit

Permalink
Cleanup Broken Commands (#1325)
Browse files Browse the repository at this point in the history
* Rename then alias SignIn command.

* Remove unsupported Restore-Mg* commands.

* Update module manifest files.
  • Loading branch information
peombwa authored Jun 20, 2022
1 parent ba3e20a commit c1c52b7
Show file tree
Hide file tree
Showing 11 changed files with 1,163 additions and 477 deletions.
121 changes: 60 additions & 61 deletions src/Applications/Applications/Microsoft.Graph.Applications.psd1

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 6/17/2022
#

@{
Expand All @@ -12,13 +12,13 @@
RootModule = './Microsoft.Graph.DirectoryObjects.psm1'

# Version number of this module.
ModuleVersion = '0.9.2'
ModuleVersion = '1.9.6'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'f6891913-1aa0-4589-83fe-73cf201079d3'
GUID = '8c8c7c20-a33e-4ec2-a242-ab54f93303b9'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.9.1'; })
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.9.6'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = './bin/Microsoft.Graph.DirectoryObjects.private.dll'
Expand All @@ -74,10 +74,9 @@ FunctionsToExport = 'Confirm-MgDirectoryObjectMemberGroup',
'Get-MgDirectoryObjectAvailableExtensionProperty',
'Get-MgDirectoryObjectById', 'Get-MgDirectoryObjectMemberGroup',
'Get-MgDirectoryObjectMemberObject',
'Get-MgDirectoryObjectMicrosoftGraphAdministrativeUnitDelta',
'Get-MgDirectoryObjectUserOwnedObject', 'New-MgDirectoryObject',
'Remove-MgDirectoryObject', 'Restore-MgDirectoryObject',
'Test-MgDirectoryObjectProperty', 'Update-MgDirectoryObject'
'Remove-MgDirectoryObject', 'Test-MgDirectoryObjectProperty',
'Update-MgDirectoryObject'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
Expand Down Expand Up @@ -115,7 +114,7 @@ PrivateData = @{
ProjectUri = 'https://github.com/microsoftgraph/msgraph-sdk-powershell'

# A URL to an icon representing this module.
IconUri = 'https://raw.githubusercontent.com/microsoftgraph/g-raph/master/g-raph.png'
IconUri = 'https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/master/documentation/images/graph_color256.png'

# ReleaseNotes of this module
ReleaseNotes = 'See https://aka.ms/GraphPowerShell-Release.'
Expand Down
226 changes: 169 additions & 57 deletions src/Groups/Groups/Microsoft.Graph.Groups.psd1

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

96 changes: 57 additions & 39 deletions src/Reports/Reports/Microsoft.Graph.Reports.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 8/25/2020
# Generated on: 6/17/2022
#

@{
Expand All @@ -12,13 +12,13 @@
RootModule = './Microsoft.Graph.Reports.psm1'

# Version number of this module.
ModuleVersion = '0.9.2'
ModuleVersion = '1.9.6'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'

# ID used to uniquely identify this module
GUID = 'e3fe89f0-fa1c-41cf-ae9f-caee5a8fa2d9'
GUID = 'af5a30df-11e0-430d-99fc-0feb89cf7a05'

# Author of this module
Author = 'Microsoft Corporation'
Expand Down Expand Up @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '0.9.1'; })
RequiredModules = @(@{ModuleName = 'Microsoft.Graph.Authentication'; ModuleVersion = '1.9.6'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = './bin/Microsoft.Graph.Reports.private.dll'
Expand All @@ -69,99 +69,117 @@ FormatsToProcess = './Microsoft.Graph.Reports.format.ps1xml'
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = 'Get-MgAuditLogDirectoryAudit',
FunctionsToExport = 'Confirm-MgAuditLogSignInCompromised',
'Confirm-MgAuditLogSignInSafe', 'Get-MgAuditLogDirectoryAudit',
'Get-MgAuditLogDirectoryProvisioning', 'Get-MgAuditLogProvisioning',
'Get-MgAuditLogRestrictedSignIn', 'Get-MgAuditLogSignIn',
'Get-MgReportApplicationSign', 'Get-MgReportAzureAdApplicationSign',
'Get-MgDeviceManagementReport',
'Get-MgDeviceManagementReportCachedReportConfiguration',
'Get-MgDeviceManagementReportExportJob',
'Get-MgReportApplicationSignInDetailedSummary',
'Get-MgReportAttackSimulationRepeatOffender',
'Get-MgReportAttackSimulationTrainingUserCoverage',
'Get-MgReportAttackSimulationUserCoverage',
'Get-MgReportAuthenticationMethod',
'Get-MgReportAuthenticationMethodUserRegistrationDetail',
'Get-MgReportAzureAdApplicationSignInSummary',
'Get-MgReportAzureAdFeatureUsage',
'Get-MgReportAzureAdLicenseUsage',
'Get-MgReportAzureAdUserFeatureUsage',
'Get-MgReportBrowserDistributionUserCount',
'Get-MgReportBrowserUserCount', 'Get-MgReportBrowserUserDetail',
'Get-MgReportCredentialUsageSummary',
'Get-MgReportCredentialUserRegistrationCount',
'Get-MgReportCredentialUserRegistrationDetail',
'Get-MgReportDailyPrintUsageByPrinter',
'Get-MgReportDailyPrintUsageByUser',
'Get-MgReportDailyPrintUsageSummaryByPrinter',
'Get-MgReportDailyPrintUsageSummaryByUser',
'Get-MgReportDeviceConfigurationDeviceActivity',
'Get-MgReportDeviceConfigurationUserActivity',
'Get-MgReportEmailActivityCount',
'Get-MgReportEmailActivityUserCount',
'Get-MgReportEmailActivityUserDetailDdb2',
'Get-MgReportEmailActivityUserDetailFe32',
'Get-MgReportEmailActivityUserDetail',
'Get-MgReportEmailAppUsageAppUserCount',
'Get-MgReportEmailAppUsageUserCount',
'Get-MgReportEmailAppUsageUserDetail546B',
'Get-MgReportEmailAppUsageUserDetail62Ec',
'Get-MgReportEmailAppUsageUserDetail',
'Get-MgReportEmailAppUsageVersionUserCount',
'Get-MgReportGroupArchivedPrintJob',
'Get-MgReportM365AppPlatformUserCount',
'Get-MgReportM365AppUserCount', 'Get-MgReportM365AppUserDetail2B20',
'Get-MgReportM365AppUserDetailC8Df',
'Get-MgReportM365AppUserCount', 'Get-MgReportM365AppUserDetail',
'Get-MgReportMailboxUsageDetail',
'Get-MgReportMailboxUsageMailboxCount',
'Get-MgReportMailboxUsageQuotaStatusMailboxCount',
'Get-MgReportMailboxUsageStorage',
'Get-MgReportManagedDeviceEnrollmentAbandonmentDetail',
'Get-MgReportManagedDeviceEnrollmentAbandonmentSummary',
'Get-MgReportManagedDeviceEnrollmentFailureDetail027E',
'Get-MgReportManagedDeviceEnrollmentFailureDetail2B3D',
'Get-MgReportManagedDeviceEnrollmentFailureDetail',
'Get-MgReportManagedDeviceEnrollmentFailureTrend',
'Get-MgReportManagedDeviceEnrollmentTopFailures',
'Get-MgReportMonthlyPrintUsage',
'Get-MgReportMonthlyPrintUsageSummaryByPrinter',
'Get-MgReportMonthlyPrintUsageSummaryByUser',
'Get-MgReportOffice365ActivationCount',
'Get-MgReportOffice365ActivationUserCount',
'Get-MgReportOffice365ActivationUserDetail',
'Get-MgReportOffice365ActiveUserCount',
'Get-MgReportOffice365ActiveUserDetail68Ad',
'Get-MgReportOffice365ActiveUserDetailD389',
'Get-MgReportOffice365ActiveUserDetail',
'Get-MgReportOffice365GroupActivityCount',
'Get-MgReportOffice365GroupActivityDetail38F6',
'Get-MgReportOffice365GroupActivityDetail81Cc',
'Get-MgReportOffice365GroupActivityDetail',
'Get-MgReportOffice365GroupActivityFileCount',
'Get-MgReportOffice365GroupActivityGroupCount',
'Get-MgReportOffice365GroupActivityStorage',
'Get-MgReportOffice365ServiceUserCount',
'Get-MgReportOneDriveActivityFileCount',
'Get-MgReportOneDriveActivityUserCount',
'Get-MgReportOneDriveActivityUserDetail05F1',
'Get-MgReportOneDriveActivityUserDetailC424',
'Get-MgReportOneDriveActivityUserDetail',
'Get-MgReportOneDriveUsageAccountCount',
'Get-MgReportOneDriveUsageAccountDetailDd7F',
'Get-MgReportOneDriveUsageAccountDetailE827',
'Get-MgReportOneDriveUsageAccountDetail',
'Get-MgReportOneDriveUsageFileCount',
'Get-MgReportOneDriveUsageStorage',
'Get-MgReportPrinterArchivedPrintJob',
'Get-MgReportRelyingPartyDetailedSummary',
'Get-MgReportSharePointActivityFileCount',
'Get-MgReportSharePointActivityPage',
'Get-MgReportSharePointActivityUserCount',
'Get-MgReportSharePointActivityUserDetailB778',
'Get-MgReportSharePointActivityUserDetailF3Be',
'Get-MgReportSharePointSiteUsageDetail204B',
'Get-MgReportSharePointSiteUsageDetailD27A',
'Get-MgReportSharePointActivityUserDetail',
'Get-MgReportSharePointSiteUsageDetail',
'Get-MgReportSharePointSiteUsageFileCount',
'Get-MgReportSharePointSiteUsagePage',
'Get-MgReportSharePointSiteUsageSiteCount',
'Get-MgReportSharePointSiteUsageStorage', 'Get-MgReportSkype',
'Get-MgReportTeamActivityCount', 'Get-MgReportTeamActivityDetail',
'Get-MgReportTeamActivityDistributionCount',
'Get-MgReportTeamDeviceUsageDistributionTotalUserCount',
'Get-MgReportTeamDeviceUsageDistributionUserCount',
'Get-MgReportTeamDeviceUsageTotalUserCount',
'Get-MgReportTeamDeviceUsageUserCount',
'Get-MgReportTeamDeviceUsageUserDetail7148',
'Get-MgReportTeamDeviceUsageUserDetail7565',
'Get-MgReportTeamDeviceUsageUserDetail',
'Get-MgReportTeamUserActivityCount',
'Get-MgReportTeamUserActivityDistributionTotalUserCount',
'Get-MgReportTeamUserActivityDistributionUserCount',
'Get-MgReportTeamUserActivityTotalCount',
'Get-MgReportTeamUserActivityTotalDistributionCount',
'Get-MgReportTeamUserActivityTotalUserCount',
'Get-MgReportTeamUserActivityUserCount',
'Get-MgReportTeamUserActivityUserDetailA3F1',
'Get-MgReportTeamUserActivityUserDetailEb13',
'Get-MgReportTeamUserActivityUserDetail',
'Get-MgReportUserArchivedPrintJob',
'Get-MgReportUserCredentialUsageDetail',
'Get-MgReportYammerActivityCount',
'Get-MgReportYammerActivityUserCount',
'Get-MgReportYammerActivityUserDetail15A5',
'Get-MgReportYammerActivityUserDetailAc30',
'Get-MgReportYammerActivityUserDetail',
'Get-MgReportYammerDeviceUsageDistributionUserCount',
'Get-MgReportYammerDeviceUsageUserCount',
'Get-MgReportYammerDeviceUsageUserDetailCfad',
'Get-MgReportYammerDeviceUsageUserDetailD0Ac',
'Get-MgReportYammerDeviceUsageUserDetail',
'Get-MgReportYammerGroupActivityCount',
'Get-MgReportYammerGroupActivityDetail0D7D',
'Get-MgReportYammerGroupActivityDetailDa9A',
'Get-MgReportYammerGroupActivityGroupCount'
'Get-MgReportYammerGroupActivityDetail',
'Get-MgReportYammerGroupActivityGroupCount',
'Invoke-MgUserReportAuthenticationMethodRegistered',
'New-MgReportAuthenticationMethodUserRegistrationDetail',
'Remove-MgDeviceManagementReport',
'Remove-MgReportAuthenticationMethodUserRegistrationDetail',
'Update-MgDeviceManagementReport',
'Update-MgReportAuthenticationMethodUserRegistrationDetail'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
Expand All @@ -170,7 +188,7 @@ CmdletsToExport = @()
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = '*'
AliasesToExport = 'Get-MgReportApplicationSign', 'Get-MgReportAzureAdApplicationSign'

# DSC resources to export from this module
# DscResourcesToExport = @()
Expand Down Expand Up @@ -199,7 +217,7 @@ PrivateData = @{
ProjectUri = 'https://github.com/microsoftgraph/msgraph-sdk-powershell'

# A URL to an icon representing this module.
IconUri = 'https://raw.githubusercontent.com/microsoftgraph/g-raph/master/g-raph.png'
IconUri = 'https://raw.githubusercontent.com/microsoftgraph/msgraph-sdk-powershell/master/documentation/images/graph_color256.png'

# ReleaseNotes of this module
ReleaseNotes = 'See https://aka.ms/GraphPowerShell-Release.'
Expand Down
10 changes: 10 additions & 0 deletions src/Reports/Reports/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,16 @@ directive:
set:
verb: Get
subject: Report$1$2
- where:
subject: ^(ReportApplicationSign)$
set:
subject: $1InDetailedSummary
alias: ${verb}-MgReportApplicationSign
- where:
subject: ^(ReportAzureAdApplicationSign)$
set:
subject: $1InSummary
alias: ${verb}-MgReportAzureAdApplicationSign
```
### Versioning
Expand Down
Loading

0 comments on commit c1c52b7

Please sign in to comment.