Skip to content

Commit c1c52b7

Browse files
authored
Cleanup Broken Commands (#1325)
* Rename then alias SignIn command. * Remove unsupported Restore-Mg* commands. * Update module manifest files.
1 parent ba3e20a commit c1c52b7

File tree

11 files changed

+1163
-477
lines changed

11 files changed

+1163
-477
lines changed

src/Applications/Applications/Microsoft.Graph.Applications.psd1

Lines changed: 60 additions & 61 deletions
Large diffs are not rendered by default.

src/DirectoryObjects/DirectoryObjects/Microsoft.Graph.DirectoryObjects.psd1

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/25/2020
6+
# Generated on: 6/17/2022
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.DirectoryObjects.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.2'
15+
ModuleVersion = '1.9.6'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

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

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

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

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Microsoft.Graph.DirectoryObjects.private.dll'
@@ -74,10 +74,9 @@ FunctionsToExport = 'Confirm-MgDirectoryObjectMemberGroup',
7474
'Get-MgDirectoryObjectAvailableExtensionProperty',
7575
'Get-MgDirectoryObjectById', 'Get-MgDirectoryObjectMemberGroup',
7676
'Get-MgDirectoryObjectMemberObject',
77-
'Get-MgDirectoryObjectMicrosoftGraphAdministrativeUnitDelta',
7877
'Get-MgDirectoryObjectUserOwnedObject', 'New-MgDirectoryObject',
79-
'Remove-MgDirectoryObject', 'Restore-MgDirectoryObject',
80-
'Test-MgDirectoryObjectProperty', 'Update-MgDirectoryObject'
78+
'Remove-MgDirectoryObject', 'Test-MgDirectoryObjectProperty',
79+
'Update-MgDirectoryObject'
8180

8281
# 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.
8382
CmdletsToExport = @()
@@ -115,7 +114,7 @@ PrivateData = @{
115114
ProjectUri = 'https://github.com/microsoftgraph/msgraph-sdk-powershell'
116115

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

120119
# ReleaseNotes of this module
121120
ReleaseNotes = 'See https://aka.ms/GraphPowerShell-Release.'

src/Groups/Groups/Microsoft.Graph.Groups.psd1

Lines changed: 169 additions & 57 deletions
Large diffs are not rendered by default.

src/Identity.DirectoryManagement/Identity.DirectoryManagement/Microsoft.Graph.Identity.DirectoryManagement.psd1

Lines changed: 154 additions & 68 deletions
Large diffs are not rendered by default.

src/Identity.Governance/Identity.Governance/Microsoft.Graph.Identity.Governance.psd1

Lines changed: 255 additions & 30 deletions
Large diffs are not rendered by default.

src/Reports/Reports/Microsoft.Graph.Reports.psd1

Lines changed: 57 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/25/2020
6+
# Generated on: 6/17/2022
77
#
88

99
@{
@@ -12,13 +12,13 @@
1212
RootModule = './Microsoft.Graph.Reports.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.9.2'
15+
ModuleVersion = '1.9.6'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
1919

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

2323
# Author of this module
2424
Author = 'Microsoft Corporation'
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

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

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

7171
# 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.
72-
FunctionsToExport = 'Get-MgAuditLogDirectoryAudit',
72+
FunctionsToExport = 'Confirm-MgAuditLogSignInCompromised',
73+
'Confirm-MgAuditLogSignInSafe', 'Get-MgAuditLogDirectoryAudit',
7374
'Get-MgAuditLogDirectoryProvisioning', 'Get-MgAuditLogProvisioning',
7475
'Get-MgAuditLogRestrictedSignIn', 'Get-MgAuditLogSignIn',
75-
'Get-MgReportApplicationSign', 'Get-MgReportAzureAdApplicationSign',
76+
'Get-MgDeviceManagementReport',
77+
'Get-MgDeviceManagementReportCachedReportConfiguration',
78+
'Get-MgDeviceManagementReportExportJob',
79+
'Get-MgReportApplicationSignInDetailedSummary',
80+
'Get-MgReportAttackSimulationRepeatOffender',
81+
'Get-MgReportAttackSimulationTrainingUserCoverage',
82+
'Get-MgReportAttackSimulationUserCoverage',
83+
'Get-MgReportAuthenticationMethod',
84+
'Get-MgReportAuthenticationMethodUserRegistrationDetail',
85+
'Get-MgReportAzureAdApplicationSignInSummary',
7686
'Get-MgReportAzureAdFeatureUsage',
7787
'Get-MgReportAzureAdLicenseUsage',
7888
'Get-MgReportAzureAdUserFeatureUsage',
89+
'Get-MgReportBrowserDistributionUserCount',
90+
'Get-MgReportBrowserUserCount', 'Get-MgReportBrowserUserDetail',
7991
'Get-MgReportCredentialUsageSummary',
8092
'Get-MgReportCredentialUserRegistrationCount',
8193
'Get-MgReportCredentialUserRegistrationDetail',
94+
'Get-MgReportDailyPrintUsageByPrinter',
95+
'Get-MgReportDailyPrintUsageByUser',
8296
'Get-MgReportDailyPrintUsageSummaryByPrinter',
8397
'Get-MgReportDailyPrintUsageSummaryByUser',
8498
'Get-MgReportDeviceConfigurationDeviceActivity',
8599
'Get-MgReportDeviceConfigurationUserActivity',
86100
'Get-MgReportEmailActivityCount',
87101
'Get-MgReportEmailActivityUserCount',
88-
'Get-MgReportEmailActivityUserDetailDdb2',
89-
'Get-MgReportEmailActivityUserDetailFe32',
102+
'Get-MgReportEmailActivityUserDetail',
90103
'Get-MgReportEmailAppUsageAppUserCount',
91104
'Get-MgReportEmailAppUsageUserCount',
92-
'Get-MgReportEmailAppUsageUserDetail546B',
93-
'Get-MgReportEmailAppUsageUserDetail62Ec',
105+
'Get-MgReportEmailAppUsageUserDetail',
94106
'Get-MgReportEmailAppUsageVersionUserCount',
107+
'Get-MgReportGroupArchivedPrintJob',
95108
'Get-MgReportM365AppPlatformUserCount',
96-
'Get-MgReportM365AppUserCount', 'Get-MgReportM365AppUserDetail2B20',
97-
'Get-MgReportM365AppUserDetailC8Df',
109+
'Get-MgReportM365AppUserCount', 'Get-MgReportM365AppUserDetail',
98110
'Get-MgReportMailboxUsageDetail',
99111
'Get-MgReportMailboxUsageMailboxCount',
100112
'Get-MgReportMailboxUsageQuotaStatusMailboxCount',
101113
'Get-MgReportMailboxUsageStorage',
102114
'Get-MgReportManagedDeviceEnrollmentAbandonmentDetail',
103115
'Get-MgReportManagedDeviceEnrollmentAbandonmentSummary',
104-
'Get-MgReportManagedDeviceEnrollmentFailureDetail027E',
105-
'Get-MgReportManagedDeviceEnrollmentFailureDetail2B3D',
116+
'Get-MgReportManagedDeviceEnrollmentFailureDetail',
106117
'Get-MgReportManagedDeviceEnrollmentFailureTrend',
107118
'Get-MgReportManagedDeviceEnrollmentTopFailures',
119+
'Get-MgReportMonthlyPrintUsage',
108120
'Get-MgReportMonthlyPrintUsageSummaryByPrinter',
109121
'Get-MgReportMonthlyPrintUsageSummaryByUser',
110122
'Get-MgReportOffice365ActivationCount',
111123
'Get-MgReportOffice365ActivationUserCount',
112124
'Get-MgReportOffice365ActivationUserDetail',
113125
'Get-MgReportOffice365ActiveUserCount',
114-
'Get-MgReportOffice365ActiveUserDetail68Ad',
115-
'Get-MgReportOffice365ActiveUserDetailD389',
126+
'Get-MgReportOffice365ActiveUserDetail',
116127
'Get-MgReportOffice365GroupActivityCount',
117-
'Get-MgReportOffice365GroupActivityDetail38F6',
118-
'Get-MgReportOffice365GroupActivityDetail81Cc',
128+
'Get-MgReportOffice365GroupActivityDetail',
119129
'Get-MgReportOffice365GroupActivityFileCount',
120130
'Get-MgReportOffice365GroupActivityGroupCount',
121131
'Get-MgReportOffice365GroupActivityStorage',
122132
'Get-MgReportOffice365ServiceUserCount',
123133
'Get-MgReportOneDriveActivityFileCount',
124134
'Get-MgReportOneDriveActivityUserCount',
125-
'Get-MgReportOneDriveActivityUserDetail05F1',
126-
'Get-MgReportOneDriveActivityUserDetailC424',
135+
'Get-MgReportOneDriveActivityUserDetail',
127136
'Get-MgReportOneDriveUsageAccountCount',
128-
'Get-MgReportOneDriveUsageAccountDetailDd7F',
129-
'Get-MgReportOneDriveUsageAccountDetailE827',
137+
'Get-MgReportOneDriveUsageAccountDetail',
130138
'Get-MgReportOneDriveUsageFileCount',
131139
'Get-MgReportOneDriveUsageStorage',
140+
'Get-MgReportPrinterArchivedPrintJob',
132141
'Get-MgReportRelyingPartyDetailedSummary',
133142
'Get-MgReportSharePointActivityFileCount',
134143
'Get-MgReportSharePointActivityPage',
135144
'Get-MgReportSharePointActivityUserCount',
136-
'Get-MgReportSharePointActivityUserDetailB778',
137-
'Get-MgReportSharePointActivityUserDetailF3Be',
138-
'Get-MgReportSharePointSiteUsageDetail204B',
139-
'Get-MgReportSharePointSiteUsageDetailD27A',
145+
'Get-MgReportSharePointActivityUserDetail',
146+
'Get-MgReportSharePointSiteUsageDetail',
140147
'Get-MgReportSharePointSiteUsageFileCount',
141148
'Get-MgReportSharePointSiteUsagePage',
142149
'Get-MgReportSharePointSiteUsageSiteCount',
143150
'Get-MgReportSharePointSiteUsageStorage', 'Get-MgReportSkype',
151+
'Get-MgReportTeamActivityCount', 'Get-MgReportTeamActivityDetail',
152+
'Get-MgReportTeamActivityDistributionCount',
153+
'Get-MgReportTeamDeviceUsageDistributionTotalUserCount',
144154
'Get-MgReportTeamDeviceUsageDistributionUserCount',
155+
'Get-MgReportTeamDeviceUsageTotalUserCount',
145156
'Get-MgReportTeamDeviceUsageUserCount',
146-
'Get-MgReportTeamDeviceUsageUserDetail7148',
147-
'Get-MgReportTeamDeviceUsageUserDetail7565',
157+
'Get-MgReportTeamDeviceUsageUserDetail',
148158
'Get-MgReportTeamUserActivityCount',
159+
'Get-MgReportTeamUserActivityDistributionTotalUserCount',
160+
'Get-MgReportTeamUserActivityDistributionUserCount',
161+
'Get-MgReportTeamUserActivityTotalCount',
162+
'Get-MgReportTeamUserActivityTotalDistributionCount',
163+
'Get-MgReportTeamUserActivityTotalUserCount',
149164
'Get-MgReportTeamUserActivityUserCount',
150-
'Get-MgReportTeamUserActivityUserDetailA3F1',
151-
'Get-MgReportTeamUserActivityUserDetailEb13',
165+
'Get-MgReportTeamUserActivityUserDetail',
166+
'Get-MgReportUserArchivedPrintJob',
152167
'Get-MgReportUserCredentialUsageDetail',
153168
'Get-MgReportYammerActivityCount',
154169
'Get-MgReportYammerActivityUserCount',
155-
'Get-MgReportYammerActivityUserDetail15A5',
156-
'Get-MgReportYammerActivityUserDetailAc30',
170+
'Get-MgReportYammerActivityUserDetail',
157171
'Get-MgReportYammerDeviceUsageDistributionUserCount',
158172
'Get-MgReportYammerDeviceUsageUserCount',
159-
'Get-MgReportYammerDeviceUsageUserDetailCfad',
160-
'Get-MgReportYammerDeviceUsageUserDetailD0Ac',
173+
'Get-MgReportYammerDeviceUsageUserDetail',
161174
'Get-MgReportYammerGroupActivityCount',
162-
'Get-MgReportYammerGroupActivityDetail0D7D',
163-
'Get-MgReportYammerGroupActivityDetailDa9A',
164-
'Get-MgReportYammerGroupActivityGroupCount'
175+
'Get-MgReportYammerGroupActivityDetail',
176+
'Get-MgReportYammerGroupActivityGroupCount',
177+
'Invoke-MgUserReportAuthenticationMethodRegistered',
178+
'New-MgReportAuthenticationMethodUserRegistrationDetail',
179+
'Remove-MgDeviceManagementReport',
180+
'Remove-MgReportAuthenticationMethodUserRegistrationDetail',
181+
'Update-MgDeviceManagementReport',
182+
'Update-MgReportAuthenticationMethodUserRegistrationDetail'
165183

166184
# 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.
167185
CmdletsToExport = @()
@@ -170,7 +188,7 @@ CmdletsToExport = @()
170188
# VariablesToExport = @()
171189

172190
# 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.
173-
AliasesToExport = '*'
191+
AliasesToExport = 'Get-MgReportApplicationSign', 'Get-MgReportAzureAdApplicationSign'
174192

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

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

204222
# ReleaseNotes of this module
205223
ReleaseNotes = 'See https://aka.ms/GraphPowerShell-Release.'

src/Reports/Reports/readme.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ directive:
6565
set:
6666
verb: Get
6767
subject: Report$1$2
68+
- where:
69+
subject: ^(ReportApplicationSign)$
70+
set:
71+
subject: $1InDetailedSummary
72+
alias: ${verb}-MgReportApplicationSign
73+
- where:
74+
subject: ^(ReportAzureAdApplicationSign)$
75+
set:
76+
subject: $1InSummary
77+
alias: ${verb}-MgReportAzureAdApplicationSign
6878
```
6979
### Versioning
7080

0 commit comments

Comments
 (0)