BaseDismObjectList Microsoft.Dism.Commands.BaseDismObject LogPath ImageObjectList Microsoft.Dism.Commands.ImageObject Path Online RestartNeeded ImageObjectWithStateList Microsoft.Dism.Commands.ImageObjectWithState Path Online ImageHealthState RestartNeeded EditionObjectList Microsoft.Dism.Commands.EditionObject Edition MountedImageInfoObjectList Microsoft.Dism.Commands.MountedImageInfoObject Path ImagePath ImageIndex MountMode MountStatus AppxPackageObjectList Microsoft.Dism.Commands.AppxPackageObject DisplayName Version $a = "Unknown" if($_.Architecture -eq 0){ $a="x86" } elseif($_.Architecture -eq 5) {$a="arm"} elseif($_.Architecture -eq 9) {$a="x64"} elseif($_.Architecture -eq 6) {$a="ia64"} elseif($_.Architecture -eq 11) {$a="neutral"} return $a ResourceId PackageName $r = "" if($_.Regions){ $r=$_.Regions } return $r BasicImageInfoObjectList Microsoft.Dism.Commands.BasicImageInfoObject ImageIndex ImageName ImageDescription return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" ImageInfoObjectList Microsoft.Dism.Commands.ImageInfoObject ImageIndex ImageName ImageDescription return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" $a = "Unknown" if($_.Architecture -eq 0){ $a="x86" } elseif($_.Architecture -eq 5) {$a="arm"} elseif($_.Architecture -eq 9) {$a="x64"} elseif($_.Architecture -eq 6) {$a="ia64"} return $a Hal Version SPBuild SPLevel EditionId InstallationType ProductType ProductSuite SystemRoot $out = "" $i=0 foreach($a in $_.Languages) { $out = $out + $a if($i -eq $_.DefaultLanguageIndex) { $out=$out+" (Default)"} if($i -lt ($_.Languages.count-1)) {$out=$out+"`r`n"} $i=$i+1 } return $out; WimImageInfoObjectList Microsoft.Dism.Commands.WimImageInfoObject ImageIndex ImageName ImageDescription return $_.ImageSize.ToString("N0", [System.Threading.Thread]::CurrentThread.CurrentCulture) + " bytes" WIMBoot $a = "Unknown" if($_.Architecture -eq 0){ $a="x86" } elseif($_.Architecture -eq 5) {$a="arm"} elseif($_.Architecture -eq 9) {$a="x64"} elseif($_.Architecture -eq 6) {$a="ia64"} return $a Hal Version SPBuild SPLevel EditionId InstallationType ProductType ProductSuite SystemRoot DirectoryCount FileCount CreatedTime ModifiedTime $out = "" $i=0 foreach($a in $_.Languages) { $out = $out + $a if($i -eq $_.DefaultLanguageIndex) { $out=$out+" (Default)"} if($i -lt ($_.Languages.count-1)) {$out=$out+"`r`n"} $i=$i+1 } return $out; BasicFeatureObjectList Microsoft.Dism.Commands.BasicFeatureObject FeatureName State AdvancedFeatureObjectList Microsoft.Dism.Commands.AdvancedFeatureObject FeatureName DisplayName Description RestartRequired State $a = "`r`n" $_.CustomProperties | foreach { $a = $a + $_.Path + "\" + $_.Name + " : " + $_.Value + "`r`n" } return $a BasicPackageObjectList Microsoft.Dism.Commands.BasicPackageObject PackageName PackageState ReleaseType if ([System.DateTime]::Equals($_.InstallTime,[System.DateTime]::MinValue)) { return "" } else { return $_.InstallTime } AdvancedPackageObjectList Microsoft.Dism.Commands.AdvancedPackageObject PackageName Applicable Copyright Company if ([System.DateTime]::Equals($_.CreationTime,[System.DateTime]::MinValue)) { return "" } else { return $_.CreationTime } Description InstallClient InstallPackageName if ([System.DateTime]::Equals($_.InstallTime,[System.DateTime]::MinValue)) { return "" } else { return $_.InstallTime } if ([System.DateTime]::Equals($_.LastUpdateTime,[System.DateTime]::MinValue)) { return "" } else { return $_.LastUpdateTime } DisplayName ProductName ProductVersion ReleaseType RestartRequired SupportInformation PackageState CompletelyOfflineCapable SelfServicingPackage CapabilityId $a = "`r`n" $_.CustomProperties | foreach { $a = $a + $_.Path + "\" + $_.Name + " : " + $_.Value + "`r`n" } return $a Features BasicCapabilityObjectList Microsoft.Dism.Commands.BasicCapabilityObject Name State AdvancedCapabilityObjectList Microsoft.Dism.Commands.AdvancedCapabilityObject Name State DisplayName Description DownloadSize InstallSize BasicDriverObjectList Microsoft.Dism.Commands.BasicDriverObject Driver OriginalFileName InBox ClassName BootCritical ProviderName if ([System.DateTime]::Equals($_.Date,[System.DateTime]::MinValue)) { return "" } else { return $_.Date } Version AdvancedDriverObjectList Microsoft.Dism.Commands.AdvancedDriverObject Driver OriginalFileName InBox ClassName ClassDescription ClassGuid BootCritical ProviderName if ([System.DateTime]::Equals($_.Date,[System.DateTime]::MinValue)) { return "" } else { return $_.Date } Version ManufacturerName HardwareDescription $a = "Unknown" if($_.Architecture -eq 0){ $a="x86" } elseif($_.Architecture -eq 5) {$a="arm"} elseif($_.Architecture -eq 9) {$a="x64"} elseif($_.Architecture -eq 6) {$a="ia64"} return $a HardwareId ServiceName CompatibleIds ExcludeIds WimBootEntryObjectList Microsoft.Dism.Commands.WimBootEntryObject DataSourceID ImageFile ReservedStorageStateObjectList Microsoft.Dism.Commands.ReservedStorageStateObject ReservedStorageState