@@ -20,7 +20,7 @@ if ($null -eq $ConnectCommand) {
20
20
Uri = $null
21
21
}
22
22
# Update the file
23
- $FinalConnectMgGraphOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
23
+ $FinalConnectMgGraphOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
24
24
25
25
$FinalConnectMgGraphOutPut | Set-Content - Path $CommandMetadataFile - Force
26
26
Write-Host " Connect-MgGraph command added to the list of commands in MgCommandMetadata.json"
@@ -43,7 +43,7 @@ if ($null -eq $AddEnvironmentCommand) {
43
43
Uri = $null
44
44
}
45
45
# Update the file
46
- $FinalAddEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
46
+ $FinalAddEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
47
47
48
48
$FinalAddEnvironmentOutPut | Set-Content - Path $CommandMetadataFile - Force
49
49
Write-Host " Add-MgEnvironment command added to the list of commands in MgCommandMetadata.json"
@@ -65,7 +65,7 @@ if ($null -eq $GetEnvironmentCommand) {
65
65
Uri = $null
66
66
}
67
67
# Update the file
68
- $FinalGetEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
68
+ $FinalGetEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
69
69
70
70
$FinalGetEnvironmentOutPut | Set-Content - Path $CommandMetadataFile - Force
71
71
Write-Host " Get-MgEnvironment command added to the list of commands in MgCommandMetadata.json"
@@ -87,7 +87,7 @@ if ($null -eq $RemoveEnvironmentCommand) {
87
87
Uri = $null
88
88
}
89
89
# Update the file
90
- $FinalRemoveEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
90
+ $FinalRemoveEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
91
91
92
92
$FinalRemoveEnvironmentOutPut | Set-Content - Path $CommandMetadataFile - Force
93
93
Write-Host " Remove-MgEnvironment command added to the list of commands in MgCommandMetadata.json"
@@ -109,7 +109,7 @@ if ($null -eq $SetEnvironmentCommand) {
109
109
Uri = $null
110
110
}
111
111
# Update the file
112
- $FinalSetEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
112
+ $FinalSetEnvironmentOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
113
113
114
114
$FinalSetEnvironmentOutPut | Set-Content - Path $CommandMetadataFile - Force
115
115
Write-Host " Set-MgEnvironment command added to the list of commands in MgCommandMetadata.json"
@@ -131,7 +131,7 @@ if ($null -eq $DisconnectCommand) {
131
131
Uri = $null
132
132
}
133
133
# Update the file
134
- $FinalDisconnectOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
134
+ $FinalDisconnectOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
135
135
136
136
$FinalDisconnectOutPut | Set-Content - Path $CommandMetadataFile - Force
137
137
Write-Host " Disconnect-MgGraph command added to the list of commands in MgCommandMetadata.json"
@@ -153,7 +153,7 @@ if ($null -eq $FindCommand) {
153
153
Uri = $null
154
154
}
155
155
# Update the file
156
- $FinalFindOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
156
+ $FinalFindOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
157
157
158
158
$FinalFindOutPut | Set-Content - Path $CommandMetadataFile - Force
159
159
Write-Host " Find-MgGraphCommand command added to the list of commands in MgCommandMetadata.json"
@@ -175,7 +175,7 @@ if ($null -eq $FindPermissionCommand) {
175
175
Uri = $null
176
176
}
177
177
# Update the file
178
- $FinalFindPermissionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
178
+ $FinalFindPermissionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
179
179
180
180
$FinalFindPermissionOutPut | Set-Content - Path $CommandMetadataFile - Force
181
181
Write-Host " Find-MgGraphPermission command added to the list of commands in MgCommandMetadata.json"
@@ -197,7 +197,7 @@ if ($null -eq $GetContextCommand) {
197
197
Uri = $null
198
198
}
199
199
# Update the file
200
- $FinalGetContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
200
+ $FinalGetContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
201
201
202
202
$FinalGetContextOutPut | Set-Content - Path $CommandMetadataFile - Force
203
203
Write-Host " Get-MgContext command added to the list of commands in MgCommandMetadata.json"
@@ -219,7 +219,7 @@ if ($null -eq $GetGraphOptionCommand) {
219
219
Uri = $null
220
220
}
221
221
# Update the file
222
- $FinalGetGraphOptionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
222
+ $FinalGetGraphOptionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
223
223
224
224
$FinalGetGraphOptionOutPut | Set-Content - Path $CommandMetadataFile - Force
225
225
Write-Host " Get-MgGraphOption command added to the list of commands in MgCommandMetadata.json"
@@ -241,7 +241,7 @@ if ($null -eq $GetRequestContextCommand) {
241
241
Uri = $null
242
242
}
243
243
# Update the file
244
- $FinalGetRequestContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
244
+ $FinalGetRequestContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
245
245
246
246
$FinalGetRequestContextOutPut | Set-Content - Path $CommandMetadataFile - Force
247
247
Write-Host " Get-MgRequestContext command added to the list of commands in MgCommandMetadata.json"
@@ -263,7 +263,7 @@ if ($null -eq $InvokeRequestCommand) {
263
263
Uri = $null
264
264
}
265
265
# Update the file
266
- $FinalInvokeRequestOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
266
+ $FinalInvokeRequestOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
267
267
268
268
$FinalInvokeRequestOutPut | Set-Content - Path $CommandMetadataFile - Force
269
269
Write-Host " Invoke-MgGraphRequest command added to the list of commands in MgCommandMetadata.json"
@@ -285,7 +285,7 @@ if ($null -eq $SetGraphOptionCommand) {
285
285
Uri = $null
286
286
}
287
287
# Update the file
288
- $FinalSetGraphOptionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
288
+ $FinalSetGraphOptionOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
289
289
290
290
$FinalSetGraphOptionOutPut | Set-Content - Path $CommandMetadataFile - Force
291
291
Write-Host " Set-MgGraphOption command added to the list of commands in MgCommandMetadata.json"
@@ -307,7 +307,7 @@ if ($null -eq $SetRequestContextCommand) {
307
307
Uri = $null
308
308
}
309
309
# Update the file
310
- $FinalSetRequestContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10
310
+ $FinalSetRequestContextOutPut = $CommandMetadata | ConvertTo-Json - Depth 10 - Compress
311
311
312
312
$FinalSetRequestContextOutPut | Set-Content - Path $CommandMetadataFile - Force
313
313
Write-Host " Set-MgRequestContext command added to the list of commands in MgCommandMetadata.json"
0 commit comments