dism.Format.ps1xml (24794B)
1 <Configuration> 2 <ViewDefinitions> 3 <View> 4 <Name>BaseDismObjectList</Name> 5 <ViewSelectedBy> 6 <TypeName>Microsoft.Dism.Commands.BaseDismObject</TypeName> 7 </ViewSelectedBy> 8 <ListControl> 9 <ListEntries> 10 <ListEntry> 11 <ListItems> 12 <ListItem> 13 <PropertyName>LogPath</PropertyName> 14 </ListItem> 15 </ListItems> 16 </ListEntry> 17 </ListEntries> 18 </ListControl> 19 </View> 20 <View> 21 <Name>ImageObjectList</Name> 22 <ViewSelectedBy> 23 <TypeName>Microsoft.Dism.Commands.ImageObject</TypeName> 24 </ViewSelectedBy> 25 <ListControl> 26 <ListEntries> 27 <ListEntry> 28 <ListItems> 29 <ListItem> 30 <PropertyName>Path</PropertyName> 31 </ListItem> 32 <ListItem> 33 <PropertyName>Online</PropertyName> 34 </ListItem> 35 <ListItem> 36 <PropertyName>RestartNeeded</PropertyName> 37 </ListItem> 38 </ListItems> 39 </ListEntry> 40 </ListEntries> 41 </ListControl> 42 </View> 43 <View> 44 <Name>ImageObjectWithStateList</Name> 45 <ViewSelectedBy> 46 <TypeName>Microsoft.Dism.Commands.ImageObjectWithState</TypeName> 47 </ViewSelectedBy> 48 <ListControl> 49 <ListEntries> 50 <ListEntry> 51 <ListItems> 52 <ListItem> 53 <PropertyName>Path</PropertyName> 54 </ListItem> 55 <ListItem> 56 <PropertyName>Online</PropertyName> 57 </ListItem> 58 <ListItem> 59 <PropertyName>ImageHealthState</PropertyName> 60 </ListItem> 61 <ListItem> 62 <PropertyName>RestartNeeded</PropertyName> 63 </ListItem> 64 </ListItems> 65 </ListEntry> 66 </ListEntries> 67 </ListControl> 68 </View> 69 <View> 70 <Name>EditionObjectList</Name> 71 <ViewSelectedBy> 72 <TypeName>Microsoft.Dism.Commands.EditionObject</TypeName> 73 </ViewSelectedBy> 74 <ListControl> 75 <ListEntries> 76 <ListEntry> 77 <ListItems> 78 <ListItem> 79 <PropertyName>Edition</PropertyName> 80 </ListItem> 81 </ListItems> 82 </ListEntry> 83 </ListEntries> 84 </ListControl> 85 </View> 86 <View> 87 <Name>MountedImageInfoObjectList</Name> 88 <ViewSelectedBy> 89 <TypeName>Microsoft.Dism.Commands.MountedImageInfoObject</TypeName> 90 </ViewSelectedBy> 91 <ListControl> 92 <ListEntries> 93 <ListEntry> 94 <ListItems> 95 <ListItem> 96 <PropertyName>Path</PropertyName> 97 </ListItem> 98 <ListItem> 99 <PropertyName>ImagePath</PropertyName> 100 </ListItem> 101 <ListItem> 102 <PropertyName>ImageIndex</PropertyName> 103 </ListItem> 104 <ListItem> 105 <PropertyName>MountMode</PropertyName> 106 </ListItem> 107 <ListItem> 108 <PropertyName>MountStatus</PropertyName> 109 </ListItem> 110 </ListItems> 111 </ListEntry> 112 </ListEntries> 113 </ListControl> 114 </View> 115 <View> 116 <Name>AppxPackageObjectList</Name> 117 <ViewSelectedBy> 118 <TypeName>Microsoft.Dism.Commands.AppxPackageObject</TypeName> 119 </ViewSelectedBy> 120 <ListControl> 121 <ListEntries> 122 <ListEntry> 123 <ListItems> 124 <ListItem> 125 <PropertyName>DisplayName</PropertyName> 126 </ListItem> 127 <ListItem> 128 <PropertyName>Version</PropertyName> 129 </ListItem> 130 <ListItem> 131 <Label>Architecture</Label> 132 <ScriptBlock> 133 $a = "Unknown" 134 if($_.Architecture -eq 0){ $a="x86" } 135 elseif($_.Architecture -eq 5) {$a="arm"} 136 elseif($_.Architecture -eq 9) {$a="x64"} 137 elseif($_.Architecture -eq 6) {$a="ia64"} 138 elseif($_.Architecture -eq 11) {$a="neutral"} 139 return $a 140 </ScriptBlock> 141 </ListItem> 142 <ListItem> 143 <PropertyName>ResourceId</PropertyName> 144 </ListItem> 145 <ListItem> 146 <PropertyName>PackageName</PropertyName> 147 </ListItem> 148 <ListItem> 149 <Label>Regions</Label> 150 <ScriptBlock> 151 $r = "" 152 if($_.Regions){ $r=$_.Regions } 153 return $r 154 </ScriptBlock> 155 </ListItem> 156 </ListItems> 157 </ListEntry> 158 </ListEntries> 159 </ListControl> 160 </View> 161 <View> 162 <Name>BasicImageInfoObjectList</Name> 163 <ViewSelectedBy> 164 <TypeName>Microsoft.Dism.Commands.BasicImageInfoObject</TypeName> 165 </ViewSelectedBy> 166 <ListControl> 167 <ListEntries> 168 <ListEntry> 169 <ListItems> 170 <ListItem> 171 <PropertyName>ImageIndex</PropertyName> 172 </ListItem> 173 <ListItem> 174 <PropertyName>ImageName</PropertyName> 175 </ListItem> 176 <ListItem> 177 <PropertyName>ImageDescription</PropertyName> 178 </ListItem> 179 <ListItem> 180 <Label>ImageSize</Label> 181 <ScriptBlock> return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" </ScriptBlock> 182 </ListItem> 183 </ListItems> 184 </ListEntry> 185 </ListEntries> 186 </ListControl> 187 </View> 188 <View> 189 <Name>ImageInfoObjectList</Name> 190 <ViewSelectedBy> 191 <TypeName>Microsoft.Dism.Commands.ImageInfoObject</TypeName> 192 </ViewSelectedBy> 193 <ListControl> 194 <ListEntries> 195 <ListEntry> 196 <ListItems> 197 <ListItem> 198 <PropertyName>ImageIndex</PropertyName> 199 </ListItem> 200 <ListItem> 201 <PropertyName>ImageName</PropertyName> 202 </ListItem> 203 <ListItem> 204 <PropertyName>ImageDescription</PropertyName> 205 </ListItem> 206 <ListItem> 207 <Label>ImageSize</Label> 208 <ScriptBlock> return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" </ScriptBlock> 209 </ListItem> 210 <ListItem> 211 <Label>Architecture</Label> 212 <ScriptBlock> 213 $a = "Unknown" 214 if($_.Architecture -eq 0){ $a="x86" } 215 elseif($_.Architecture -eq 5) {$a="arm"} 216 elseif($_.Architecture -eq 9) {$a="x64"} 217 elseif($_.Architecture -eq 6) {$a="ia64"} 218 return $a 219 </ScriptBlock> 220 </ListItem> 221 <ListItem> 222 <PropertyName>Hal</PropertyName> 223 </ListItem> 224 <ListItem> 225 <PropertyName>Version</PropertyName> 226 </ListItem> 227 <ListItem> 228 <PropertyName>SPBuild</PropertyName> 229 </ListItem> 230 <ListItem> 231 <PropertyName>SPLevel</PropertyName> 232 </ListItem> 233 <ListItem> 234 <PropertyName>EditionId</PropertyName> 235 </ListItem> 236 <ListItem> 237 <PropertyName>InstallationType</PropertyName> 238 </ListItem> 239 <ListItem> 240 <PropertyName>ProductType</PropertyName> 241 </ListItem> 242 <ListItem> 243 <PropertyName>ProductSuite</PropertyName> 244 </ListItem> 245 <ListItem> 246 <PropertyName>SystemRoot</PropertyName> 247 </ListItem> 248 <ListItem> 249 <Label>Languages</Label> 250 <ScriptBlock> 251 $out = "" 252 $i=0 253 foreach($a in $_.Languages) { 254 $out = $out + $a 255 if($i -eq $_.DefaultLanguageIndex) { $out=$out+" (Default)"} 256 if($i -lt ($_.Languages.count-1)) {$out=$out+"`r`n"} 257 $i=$i+1 258 } 259 return $out; 260 </ScriptBlock> 261 </ListItem> 262 </ListItems> 263 </ListEntry> 264 </ListEntries> 265 </ListControl> 266 </View> 267 <View> 268 <Name>WimImageInfoObjectList</Name> 269 <ViewSelectedBy> 270 <TypeName>Microsoft.Dism.Commands.WimImageInfoObject</TypeName> 271 </ViewSelectedBy> 272 <ListControl> 273 <ListEntries> 274 <ListEntry> 275 <ListItems> 276 <ListItem> 277 <PropertyName>ImageIndex</PropertyName> 278 </ListItem> 279 <ListItem> 280 <PropertyName>ImageName</PropertyName> 281 </ListItem> 282 <ListItem> 283 <PropertyName>ImageDescription</PropertyName> 284 </ListItem> 285 <ListItem> 286 <Label>ImageSize</Label> 287 <ScriptBlock> return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" </ScriptBlock> 288 </ListItem> 289 <ListItem> 290 <PropertyName>WIMBoot</PropertyName> 291 </ListItem> 292 <ListItem> 293 <Label>Architecture</Label> 294 <ScriptBlock> 295 $a = "Unknown" 296 if($_.Architecture -eq 0){ $a="x86" } 297 elseif($_.Architecture -eq 5) {$a="arm"} 298 elseif($_.Architecture -eq 9) {$a="x64"} 299 elseif($_.Architecture -eq 6) {$a="ia64"} 300 return $a 301 </ScriptBlock> 302 </ListItem> 303 <ListItem> 304 <PropertyName>Hal</PropertyName> 305 </ListItem> 306 <ListItem> 307 <PropertyName>Version</PropertyName> 308 </ListItem> 309 <ListItem> 310 <PropertyName>SPBuild</PropertyName> 311 </ListItem> 312 <ListItem> 313 <PropertyName>SPLevel</PropertyName> 314 </ListItem> 315 <ListItem> 316 <PropertyName>EditionId</PropertyName> 317 </ListItem> 318 <ListItem> 319 <PropertyName>InstallationType</PropertyName> 320 </ListItem> 321 <ListItem> 322 <PropertyName>ProductType</PropertyName> 323 </ListItem> 324 <ListItem> 325 <PropertyName>ProductSuite</PropertyName> 326 </ListItem> 327 <ListItem> 328 <PropertyName>SystemRoot</PropertyName> 329 </ListItem> 330 <ListItem> 331 <PropertyName>DirectoryCount</PropertyName> 332 </ListItem> 333 <ListItem> 334 <PropertyName>FileCount</PropertyName> 335 </ListItem> 336 <ListItem> 337 <PropertyName>CreatedTime</PropertyName> 338 </ListItem> 339 <ListItem> 340 <PropertyName>ModifiedTime</PropertyName> 341 </ListItem> 342 <ListItem> 343 <Label>Languages</Label> 344 <ScriptBlock> 345 $out = "" 346 $i=0 347 foreach($a in $_.Languages) { 348 $out = $out + $a 349 if($i -eq $_.DefaultLanguageIndex) { $out=$out+" (Default)"} 350 if($i -lt ($_.Languages.count-1)) {$out=$out+"`r`n"} 351 $i=$i+1 352 } 353 return $out; 354 </ScriptBlock> 355 </ListItem> 356 </ListItems> 357 </ListEntry> 358 </ListEntries> 359 </ListControl> 360 </View> 361 <View> 362 <Name>BasicFeatureObjectList</Name> 363 <ViewSelectedBy> 364 <TypeName>Microsoft.Dism.Commands.BasicFeatureObject</TypeName> 365 </ViewSelectedBy> 366 <ListControl> 367 <ListEntries> 368 <ListEntry> 369 <ListItems> 370 <ListItem> 371 <PropertyName>FeatureName</PropertyName> 372 </ListItem> 373 <ListItem> 374 <PropertyName>State</PropertyName> 375 </ListItem> 376 </ListItems> 377 </ListEntry> 378 </ListEntries> 379 </ListControl> 380 </View> 381 <View> 382 <Name>AdvancedFeatureObjectList</Name> 383 <ViewSelectedBy> 384 <TypeName>Microsoft.Dism.Commands.AdvancedFeatureObject</TypeName> 385 </ViewSelectedBy> 386 <ListControl> 387 <ListEntries> 388 <ListEntry> 389 <ListItems> 390 <ListItem> 391 <PropertyName>FeatureName</PropertyName> 392 </ListItem> 393 <ListItem> 394 <PropertyName>DisplayName</PropertyName> 395 </ListItem> 396 <ListItem> 397 <PropertyName>Description</PropertyName> 398 </ListItem> 399 <ListItem> 400 <PropertyName>RestartRequired</PropertyName> 401 </ListItem> 402 <ListItem> 403 <PropertyName>State</PropertyName> 404 </ListItem> 405 <ListItem> 406 <Label>CustomProperties</Label> 407 <ScriptBlock> 408 $a = "`r`n" 409 $_.CustomProperties | foreach { $a = $a + $_.Path + "\" + $_.Name + " : " + $_.Value + "`r`n" } 410 return $a 411 </ScriptBlock> 412 </ListItem> 413 </ListItems> 414 </ListEntry> 415 </ListEntries> 416 </ListControl> 417 </View> 418 <View> 419 <Name>BasicPackageObjectList</Name> 420 <ViewSelectedBy> 421 <TypeName>Microsoft.Dism.Commands.BasicPackageObject</TypeName> 422 </ViewSelectedBy> 423 <ListControl> 424 <ListEntries> 425 <ListEntry> 426 <ListItems> 427 <ListItem> 428 <PropertyName>PackageName</PropertyName> 429 </ListItem> 430 <ListItem> 431 <PropertyName>PackageState</PropertyName> 432 </ListItem> 433 <ListItem> 434 <PropertyName>ReleaseType</PropertyName> 435 </ListItem> 436 <ListItem> 437 <Label>InstallTime</Label> 438 <ScriptBlock> 439 if ([System.DateTime]::Equals($_.InstallTime,[System.DateTime]::MinValue)) { return "" } else { return $_.InstallTime } 440 </ScriptBlock> 441 </ListItem> 442 </ListItems> 443 </ListEntry> 444 </ListEntries> 445 </ListControl> 446 </View> 447 <View> 448 <Name>AdvancedPackageObjectList</Name> 449 <ViewSelectedBy> 450 <TypeName>Microsoft.Dism.Commands.AdvancedPackageObject</TypeName> 451 </ViewSelectedBy> 452 <ListControl> 453 <ListEntries> 454 <ListEntry> 455 <ListItems> 456 <ListItem> 457 <PropertyName>PackageName</PropertyName> 458 </ListItem> 459 <ListItem> 460 <PropertyName>Applicable</PropertyName> 461 </ListItem> 462 <ListItem> 463 <PropertyName>Copyright</PropertyName> 464 </ListItem> 465 <ListItem> 466 <PropertyName>Company</PropertyName> 467 </ListItem> 468 <ListItem> 469 <Label>CreationTime</Label> 470 <ScriptBlock> 471 if ([System.DateTime]::Equals($_.CreationTime,[System.DateTime]::MinValue)) { return "" } else { return $_.CreationTime } 472 </ScriptBlock> 473 </ListItem> 474 <ListItem> 475 <PropertyName>Description</PropertyName> 476 </ListItem> 477 <ListItem> 478 <PropertyName>InstallClient</PropertyName> 479 </ListItem> 480 <ListItem> 481 <PropertyName>InstallPackageName</PropertyName> 482 </ListItem> 483 <ListItem> 484 <Label>InstallTime</Label> 485 <ScriptBlock> 486 if ([System.DateTime]::Equals($_.InstallTime,[System.DateTime]::MinValue)) { return "" } else { return $_.InstallTime } 487 </ScriptBlock> 488 </ListItem> 489 <ListItem> 490 <Label>LastUpdateTime</Label> 491 <ScriptBlock> 492 if ([System.DateTime]::Equals($_.LastUpdateTime,[System.DateTime]::MinValue)) { return "" } else { return $_.LastUpdateTime } 493 </ScriptBlock> 494 </ListItem> 495 <ListItem> 496 <PropertyName>DisplayName</PropertyName> 497 </ListItem> 498 <ListItem> 499 <PropertyName>ProductName</PropertyName> 500 </ListItem> 501 <ListItem> 502 <PropertyName>ProductVersion</PropertyName> 503 </ListItem> 504 <ListItem> 505 <PropertyName>ReleaseType</PropertyName> 506 </ListItem> 507 <ListItem> 508 <PropertyName>RestartRequired</PropertyName> 509 </ListItem> 510 <ListItem> 511 <PropertyName>SupportInformation</PropertyName> 512 </ListItem> 513 <ListItem> 514 <PropertyName>PackageState</PropertyName> 515 </ListItem> 516 <ListItem> 517 <PropertyName>CompletelyOfflineCapable</PropertyName> 518 </ListItem> 519 <ListItem> 520 <PropertyName>CapabilityId</PropertyName> 521 </ListItem> 522 <ListItem> 523 <Label>Custom Properties</Label> 524 <ScriptBlock> 525 $a = "`r`n" 526 $_.CustomProperties | foreach { $a = $a + $_.Path + "\" + $_.Name + " : " + $_.Value + "`r`n" } 527 return $a 528 </ScriptBlock> 529 </ListItem> 530 <ListItem> 531 <PropertyName>Features</PropertyName> 532 </ListItem> 533 </ListItems> 534 </ListEntry> 535 </ListEntries> 536 </ListControl> 537 </View> 538 <View> 539 <Name>BasicCapabilityObjectList</Name> 540 <ViewSelectedBy> 541 <TypeName>Microsoft.Dism.Commands.BasicCapabilityObject</TypeName> 542 </ViewSelectedBy> 543 <ListControl> 544 <ListEntries> 545 <ListEntry> 546 <ListItems> 547 <ListItem> 548 <PropertyName>Name</PropertyName> 549 </ListItem> 550 <ListItem> 551 <PropertyName>State</PropertyName> 552 </ListItem> 553 </ListItems> 554 </ListEntry> 555 </ListEntries> 556 </ListControl> 557 </View> 558 <View> 559 <Name>AdvancedCapabilityObjectList</Name> 560 <ViewSelectedBy> 561 <TypeName>Microsoft.Dism.Commands.AdvancedCapabilityObject</TypeName> 562 </ViewSelectedBy> 563 <ListControl> 564 <ListEntries> 565 <ListEntry> 566 <ListItems> 567 <ListItem> 568 <PropertyName>Name</PropertyName> 569 </ListItem> 570 <ListItem> 571 <PropertyName>State</PropertyName> 572 </ListItem> 573 <ListItem> 574 <PropertyName>DisplayName</PropertyName> 575 </ListItem> 576 <ListItem> 577 <PropertyName>Description</PropertyName> 578 </ListItem> 579 <ListItem> 580 <PropertyName>DownloadSize</PropertyName> 581 </ListItem> 582 <ListItem> 583 <PropertyName>InstallSize</PropertyName> 584 </ListItem> 585 </ListItems> 586 </ListEntry> 587 </ListEntries> 588 </ListControl> 589 </View> 590 <View> 591 <Name>BasicDriverObjectList</Name> 592 <ViewSelectedBy> 593 <TypeName>Microsoft.Dism.Commands.BasicDriverObject</TypeName> 594 </ViewSelectedBy> 595 <ListControl> 596 <ListEntries> 597 <ListEntry> 598 <ListItems> 599 <ListItem> 600 <PropertyName>Driver</PropertyName> 601 </ListItem> 602 <ListItem> 603 <PropertyName>OriginalFileName</PropertyName> 604 </ListItem> 605 <ListItem> 606 <PropertyName>InBox</PropertyName> 607 </ListItem> 608 <ListItem> 609 <PropertyName>ClassName</PropertyName> 610 </ListItem> 611 <ListItem> 612 <PropertyName>BootCritical</PropertyName> 613 </ListItem> 614 <ListItem> 615 <PropertyName>ProviderName</PropertyName> 616 </ListItem> 617 <ListItem> 618 <Label>Date</Label> 619 <ScriptBlock> 620 if ([System.DateTime]::Equals($_.Date,[System.DateTime]::MinValue)) { return "" } else { return $_.Date } 621 </ScriptBlock> 622 </ListItem> 623 <ListItem> 624 <PropertyName>Version</PropertyName> 625 </ListItem> 626 </ListItems> 627 </ListEntry> 628 </ListEntries> 629 </ListControl> 630 </View> 631 <View> 632 <Name>AdvancedDriverObjectList</Name> 633 <ViewSelectedBy> 634 <TypeName>Microsoft.Dism.Commands.AdvancedDriverObject</TypeName> 635 </ViewSelectedBy> 636 <ListControl> 637 <ListEntries> 638 <ListEntry> 639 <ListItems> 640 <ListItem> 641 <PropertyName>Driver</PropertyName> 642 </ListItem> 643 <ListItem> 644 <PropertyName>OriginalFileName</PropertyName> 645 </ListItem> 646 <ListItem> 647 <PropertyName>InBox</PropertyName> 648 </ListItem> 649 <ListItem> 650 <PropertyName>ClassName</PropertyName> 651 </ListItem> 652 <ListItem> 653 <PropertyName>ClassDescription</PropertyName> 654 </ListItem> 655 <ListItem> 656 <PropertyName>ClassGuid</PropertyName> 657 </ListItem> 658 <ListItem> 659 <PropertyName>BootCritical</PropertyName> 660 </ListItem> 661 <ListItem> 662 <PropertyName>ProviderName</PropertyName> 663 </ListItem> 664 <ListItem> 665 <Label>Date</Label> 666 <ScriptBlock> 667 if ([System.DateTime]::Equals($_.Date,[System.DateTime]::MinValue)) { return "" } else { return $_.Date } 668 </ScriptBlock> 669 </ListItem> 670 <ListItem> 671 <PropertyName>Version</PropertyName> 672 </ListItem> 673 <ListItem> 674 <PropertyName>ManufacturerName</PropertyName> 675 </ListItem> 676 <ListItem> 677 <PropertyName>HardwareDescription</PropertyName> 678 </ListItem> 679 <ListItem> 680 <Label>Architecture</Label> 681 <ScriptBlock> 682 $a = "Unknown" 683 if($_.Architecture -eq 0){ $a="x86" } 684 elseif($_.Architecture -eq 5) {$a="arm"} 685 elseif($_.Architecture -eq 9) {$a="x64"} 686 elseif($_.Architecture -eq 6) {$a="ia64"} 687 return $a 688 </ScriptBlock> 689 </ListItem> 690 <ListItem> 691 <PropertyName>HardwareId</PropertyName> 692 </ListItem> 693 <ListItem> 694 <PropertyName>ServiceName</PropertyName> 695 </ListItem> 696 <ListItem> 697 <PropertyName>CompatibleIds</PropertyName> 698 </ListItem> 699 <ListItem> 700 <PropertyName>ExcludeIds</PropertyName> 701 </ListItem> 702 </ListItems> 703 </ListEntry> 704 </ListEntries> 705 </ListControl> 706 </View> 707 <View> 708 <Name>WimBootEntryObjectList</Name> 709 <ViewSelectedBy> 710 <TypeName>Microsoft.Dism.Commands.WimBootEntryObject</TypeName> 711 </ViewSelectedBy> 712 <ListControl> 713 <ListEntries> 714 <ListEntry> 715 <ListItems> 716 <ListItem> 717 <PropertyName>DataSourceID</PropertyName> 718 </ListItem> 719 <ListItem> 720 <PropertyName>ImageFile</PropertyName> 721 </ListItem> 722 </ListItems> 723 </ListEntry> 724 </ListEntries> 725 </ListControl> 726 </View> 727 </ViewDefinitions> 728 </Configuration>