diff --git a/build.ps1 b/build.ps1 index 4eeffb1534..61ee9ea019 100644 --- a/build.ps1 +++ b/build.ps1 @@ -18,22 +18,3 @@ dotnet publish --framework dnxcore50 --output $BIN # Copy files that dotnet-publish does not currently deploy cp *_profile.ps1 $BIN cd ../.. - -# Symlink types and format files to correct names -cd $BIN - -cp ../src/monad/monad/miscfiles/types/CoreClr/types.ps1xml . -cp ../src/monad/monad/miscfiles/types/CoreClr/typesv3.ps1xml . - -cp ../src/monad/monad/miscfiles/display/Certificate.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/Diagnostics.Format.ps1xml Diagnostics.format.ps1xml -cp ../src/monad/monad/miscfiles/display/DotNetTypes.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/Event.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/FileSystem.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/Help.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/HelpV3.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/PowerShellCore.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/PowerShellTrace.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/Registry.format.ps1xml . -cp ../src/monad/monad/miscfiles/display/WSMan.format.ps1xml . -cd .. diff --git a/build.sh b/build.sh index 6654565e8e..916ba949ed 100755 --- a/build.sh +++ b/build.sh @@ -34,23 +34,3 @@ mkdir -p $BIN/Modules # Copy files that dotnet-publish does not currently deploy cp *_profile.ps1 $BIN ) - -# Symlink types and format files to correct names -( - cd $BIN - - ln -sf ../src/monad/monad/miscfiles/types/CoreClr/types.ps1xml . - ln -sf ../src/monad/monad/miscfiles/types/CoreClr/typesv3.ps1xml . - - ln -sf ../src/monad/monad/miscfiles/display/Certificate.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/Diagnostics.Format.ps1xml Diagnostics.format.ps1xml - ln -sf ../src/monad/monad/miscfiles/display/DotNetTypes.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/Event.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/FileSystem.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/Help.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/HelpV3.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/PowerShellCore.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/PowerShellTrace.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/Registry.format.ps1xml . - ln -sf ../src/monad/monad/miscfiles/display/WSMan.format.ps1xml . -) diff --git a/src/Microsoft.PowerShell.Linux.Host/Certificate.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/Certificate.format.ps1xml new file mode 100644 index 0000000000..676682dc52 --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/Certificate.format.ps1xml @@ -0,0 +1,289 @@ + + + + + + + + CertificateProviderTypes + + System.Security.Cryptography.X509Certificates.X509Certificate2 + System.Security.Cryptography.X509Certificates.X509Store + Microsoft.PowerShell.Commands.X509StoreLocation + + + + + + + SignatureTypes-GroupingFormat + + + + + + 4 + + + + split-path $_.Path + + + + + + + + + + + + + + ThumbprintTable + + System.Security.Cryptography.X509Certificates.X509Certificate2 + + + PSParentPath + FileSystemTypes-GroupingFormat + + + + + 41 + + + + + + + + Thumbprint + + + Subject + + + + + + + + ThumbprintList + + CertificateProviderTypes + + + + + + Microsoft.PowerShell.Commands.X509StoreLocation + + + + Location + + + StoreNames + + + + + + System.Security.Cryptography.X509Certificates.X509Store + + + + Name + + + + + + + $_.SubjectName.Name + + + + $_.IssuerName.Name + + + + Thumbprint + + + FriendlyName + + + NotBefore + + + NotAfter + + + Extensions + + + + + + + + ThumbprintWide + + CertificateProviderTypes + + + PSParentPath + FileSystemTypes-GroupingFormat + + + + + + ThumbPrint + + + + + + + PSThumbprintTable + + System.Management.Automation.Signature + + + split-path $_.Path + SignatureTypes-GroupingFormat + + + + + + 41 + + + + + + + + + + + $_.SignerCertificate.Thumbprint + + + Status + + + split-path $_.Path -leaf + + + + + + + + PSThumbprintWide + + System.Management.Automation.Signature + + + split-path $_.Path + SignatureTypes-GroupingFormat + + + + + + "$(split-path $_.Path -leaf): $($_.Status)" + + + + + + + PathOnly + + CertificateProviderTypes + + + + + + + PSPathPath + + + + + + Microsoft.PowerShell.Commands.X509StoreLocation + + + + PSPathPath + + + + + + System.Security.Cryptography.X509Certificates.X509Store + + + + PSPath + + + + + + + + System.Security.Cryptography.X509Certificates.X509CertificateEx + + System.Security.Cryptography.X509Certificates.X509CertificateEx + + + PSParentPath + FileSystemTypes-GroupingFormat + + + + + 41 + + + + + + + + Thumbprint + + + Subject + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/Diagnostics.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/Diagnostics.format.ps1xml new file mode 100644 index 0000000000..6c6fc81f1b Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/Diagnostics.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/DotNetTypes.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/DotNetTypes.format.ps1xml new file mode 100644 index 0000000000..be23ac111d --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/DotNetTypes.format.ps1xml @@ -0,0 +1,3453 @@ + + + + + + + System.CodeDom.Compiler.CompilerError + + System.CodeDom.Compiler.CompilerError + + + + + + + ErrorText + + + Line + + + Column + + + ErrorNumber + + + LineSource + + + + + + + + + System.Reflection.Assembly + + System.Reflection.Assembly + + + + + + + 6 + + + + 14 + + + + + + + + GlobalAssemblyCache + + + ImageRuntimeVersion + + + Location + + + + + + + + System.Reflection.AssemblyName + + System.Reflection.AssemblyName + + + + + + 14 + + + + + + + + Version + + + Name + + + + + + + + System.Globalization.CultureInfo + + System.Globalization.CultureInfo + + + + + + 16 + + + 16 + + + + + + + + LCID + + + Name + + + DisplayName + + + + + + + + System.Diagnostics.FileVersionInfo + + System.Diagnostics.FileVersionInfo + + + + + + 16 + + + 16 + + + + + + + + ProductVersion + + + FileVersion + + + FileName + + + + + + + + + System.Diagnostics.EventLogEntry + + System.Diagnostics.EventLogEntry + + + + + + + Right + 8 + + + + 13 + + + + 11 + + + + 20 + + + + Right + 12 + + + + + + + + + + Index + + + TimeGenerated + {0:MMM} {0:dd} {0:HH}:{0:mm} + + + $_.EntryType + + + Source + + + InstanceID + + + Message + + + + + + + + + System.Diagnostics.EventLog + + System.Diagnostics.EventLog + + + + + + + Right + 8 + + + + Right + 6 + + + + 18 + + + + Right + 10 + + + + + + + + + + + $_.MaximumKilobytes.ToString('N0') + + + MinimumRetentionDays + + + OverflowAction + + + $_.Entries.Count.ToString('N0') + + + Log + + + + + + + + + System.Version + + System.Version + + + + + 6 + + + 6 + + + 6 + + + 8 + + + + + + + Major + + + Minor + + + Build + + + Revision + + + + + + + + System.Drawing.Printing.PrintDocument + + System.Drawing.Printing.PrintDocument + + + + + + 10 + + + 10 + + + + + + + + Color + + + Duplex + + + Name + + + + + + + + + Dictionary + + System.Collections.DictionaryEntry + + + + + 30 + + + + + + + + Name + + + Value + + + + + + + + ProcessModule + + System.Diagnostics.ProcessModule + + + + + + 10 + right + + + 50 + + + + + + + + $_.Size + + + ModuleName + + + FileName + + + + + + + + process + + System.Diagnostics.Process + + + + + + 7 + right + + + + 7 + right + + + + 8 + right + + + + 10 + right + + + + 5 + right + + + + 8 + right + + + 6 + right + + + 3 + right + + + + + + + + HandleCount + + + [long]($_.NPM / 1024) + + + [long]($_.PM / 1024) + + + [long]($_.WS / 1024) + + + [long]($_.VM / 1048576) + + + +if ($_.CPU -ne $()) +{ + $_.CPU.ToString("N") +} + + + + Id + + + SI + + + ProcessName + + + + + + + + ProcessWithUserName + + System.Diagnostics.Process#IncludeUserName + + + + + + 7 + right + + + + 10 + right + + + + 5 + right + + + + 8 + right + + + 6 + right + + + 17 + + + + + + + + HandleCount + + + [long]($_.WS / 1024) + + + [long]($_.VM / 1048576) + + + + if ($_.CPU -ne $()) + { + $_.CPU.ToString("N") + } + + + + Id + + + UserName + + + ProcessName + + + + + + + + DirectoryEntry + + System.DirectoryServices.DirectoryEntry + + + + + + + + distinguishedName + + + + path + + + + + + + + PSSnapInInfo + + System.Management.Automation.PSSnapInInfo + + + + + + + + Name + + + + PSVersion + + + + Description + + + + + + + + PSSnapInInfo + + System.Management.Automation.PSSnapInInfo + + + + + + 30 + Left + + + + 20 + Left + + + + 30 + Left + + + + + + + Name + + + PSVersion + + + Description + + + + + + + + Priority + + System.Diagnostics.Process + + + PriorityClass + + + + + + 20 + + + 10 + right + + + 13 + right + + + 12 + right + + + + + + + ProcessName + + + Id + + + HandleCount + + + WorkingSet64 + + + + + + + + StartTime + + System.Diagnostics.Process + + + $_.StartTime.ToShortDateString() + + + + + + 20 + + + 10 + right + + + 13 + right + + + 12 + right + + + + + + + ProcessName + + + Id + + + HandleCount + + + WorkingSet64 + + + + + + + + service + + System.ServiceProcess.ServiceController + + + + + 8 + + + 18 + + + 38 + + + + + + + Status + + + Name + + + DisplayName + + + + + + + + System.Diagnostics.FileVersionInfo + + System.Diagnostics.FileVersionInfo + + + + + + + + + OriginalFileName + + + FileDescription + + + ProductName + + + Comments + + + CompanyName + + + FileName + + + FileVersion + + + ProductVersion + + + IsDebug + + + IsPatched + + + IsPreRelease + + + IsPrivateBuild + + + IsSpecialBuild + + + Language + + + LegalCopyright + + + LegalTrademarks + + + PrivateBuild + + + SpecialBuild + + + FileVersionRaw + + + ProductVersionRaw + + + + + + + + + + + System.Diagnostics.EventLogEntry + + System.Diagnostics.EventLogEntry + + + + + + + + + Index + + + EntryType + + + InstanceID + + + Message + + + Category + + + CategoryNumber + + + ReplacementStrings + + + Source + + + TimeGenerated + + + TimeWritten + + + UserName + + + + + + + + + + System.Diagnostics.EventLog + + System.Diagnostics.EventLog + + + + + + + + Log + + + EnableRaisingEvents + + + MaximumKilobytes + + + MinimumRetentionDays + + + OverflowAction + + + + + + + + System.TimeSpan + + System.TimeSpan + + + + + + + + + Days + + + Hours + + + Minutes + + + Seconds + + + Milliseconds + + + Ticks + + + TotalDays + + + TotalHours + + + TotalMinutes + + + TotalSeconds + + + TotalMilliseconds + + + + + + + + + System.TimeSpan + + System.TimeSpan + + + + + + + + + Days + + + Hours + + + Minutes + + + Seconds + + + Milliseconds + + + + + + + + + System.TimeSpan + + System.TimeSpan + + + + + + TotalMilliseconds + + + + + + + + System.AppDomain + + System.AppDomain + + + + + + + + + FriendlyName + + + Id + + + ApplicationDescription + + + BaseDirectory + + + DynamicDirectory + + + RelativeSearchPath + + + SetupInformation + + + ShadowCopyFiles + + + + + + + + + System.ServiceProcess.ServiceController + + System.ServiceProcess.ServiceController + + + + + + + + + Name + + + DisplayName + + + Status + + + DependentServices + + + ServicesDependedOn + + + CanPauseAndContinue + + + CanShutdown + + + CanStop + + + ServiceType + + + + + + + + + System.Reflection.Assembly + + System.Reflection.Assembly + + + + + + + CodeBase + + + EntryPoint + + + EscapedCodeBase + + + FullName + + + GlobalAssemblyCache + + + HostContext + + + ImageFileMachine + + + ImageRuntimeVersion + + + Location + + + ManifestModule + + + MetadataToken + + + PortableExecutableKind + + + ReflectionOnly + + + + + + + + System.Collections.DictionaryEntry + + System.Collections.DictionaryEntry + + + + + + + Name + + + Value + + + + + + + + process + + System.Diagnostics.Process + + + + + + ProcessName + + + + + + + DateTime + + System.DateTime + + + + + DateTime + + + + + + System.Security.AccessControl.ObjectSecurity + + System.Security.AccessControl.ObjectSecurity + + + + + + + + + + + + + + + + + Path + + + Owner + + + AccessToString + + + + + + + + System.Security.AccessControl.ObjectSecurity + + System.Security.AccessControl.ObjectSecurity + + + + + + + Path + + + Owner + + + Group + + + + AccessToString + + + + AuditToString + + + Sddl + + + + + + + + System.Management.ManagementClass + + System.Management.ManagementClass + + + __Namespace + + + + + + 35 + + + 20 + + + + + + + + + Name + + + Methods + + + Properties + + + + + + + + Microsoft.Management.Infrastructure.CimClass + + Microsoft.Management.Infrastructure.CimClass + + + $_.CimSystemProperties.Namespace + + + + + + + 35 + + + 20 + + + + + + + + + CimClassName + + + CimClassMethods + + + CimClassProperties + + + + + + + + System.Guid + + System.Guid + + + + + + + Guid + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PingStatus + + System.Management.ManagementObject#root\cimv2\Win32_PingStatus + + + + + + 13 + + + + 15 + + + + 16 + + + + 40 + + + + 8 + + + + 9 + + + + + + + __Server + + + Address + + + IPV4Address + + + IPV6Address + + + BufferSize + + + ResponseTime + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PingStatus + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PingStatus + + + + + + 13 + + + + 15 + + + + 16 + + + + 40 + + + + 8 + + + + 9 + + + + + + + ComputerName + + + Address + + + IPV4Address + + + IPV6Address + + + BufferSize + + + ResponseTime + + + + + + + + System.Management.ManagementObject#root\default\SystemRestore + + System.Management.ManagementObject#root\default\SystemRestore + + + + + + 22 + + + + 30 + + + + 17 + + + + 17 + + + + 22 + + + + + + + + return $_.ConvertToDateTime($_.CreationTime) + + + + Description + + + SequenceNumber + + + + $eventType = $_.EventType; + if($_.EventType -eq 100) + {$eventType = "BEGIN_SYSTEM_CHANGE";} + if($_.EventType -eq 101) + {$eventType = "END_SYSTEM_CHANGE";} + if($_.EventType -eq 102) + {$eventType = "BEGIN_NESTED_SYSTEM_CHANGE";} + if($_.EventType -eq 103) + {$eventType = "END_NESTED_SYSTEM_CHANGE";} + return $eventType; + + + + + $RestorePointType = $_.RestorePointType; + if($_.RestorePointType -eq 0) + { $RestorePointType = "APPLICATION_INSTALL";} + if($_.RestorePointType -eq 1) + { $RestorePointType = "APPLICATION_UNINSTALL";} + if($_.RestorePointType -eq 10) + { $RestorePointType = "DEVICE_DRIVER_INSTALL";} + if($_.RestorePointType -eq 12) + { $RestorePointType = "MODIFY_SETTINGS";} + if($_.RestorePointType -eq 13) + { $RestorePointType = "CANCELLED_OPERATION";} + return $RestorePointType; + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/default/SystemRestore + + Microsoft.Management.Infrastructure.CimInstance#root/default/SystemRestore + + + + + + 22 + + + + 30 + + + + 17 + + + + 17 + + + + 22 + + + + + + + + return $_.ConvertToDateTime($_.CreationTime) + + + + Description + + + SequenceNumber + + + + $eventType = $_.EventType; + if($_.EventType -eq 100) + {$eventType = "BEGIN_SYSTEM_CHANGE";} + if($_.EventType -eq 101) + {$eventType = "END_SYSTEM_CHANGE";} + if($_.EventType -eq 102) + {$eventType = "BEGIN_NESTED_SYSTEM_CHANGE";} + if($_.EventType -eq 103) + {$eventType = "END_NESTED_SYSTEM_CHANGE";} + return $eventType; + + + + + $RestorePointType = $_.RestorePointType; + if($_.RestorePointType -eq 0) + { $RestorePointType = "APPLICATION_INSTALL";} + if($_.RestorePointType -eq 1) + { $RestorePointType = "APPLICATION_UNINSTALL";} + if($_.RestorePointType -eq 10) + { $RestorePointType = "DEVICE_DRIVER_INSTALL";} + if($_.RestorePointType -eq 12) + { $RestorePointType = "MODIFY_SETTINGS";} + if($_.RestorePointType -eq 13) + { $RestorePointType = "CANCELLED_OPERATION";} + return $RestorePointType; + + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_QuickFixEngineering + + System.Management.ManagementObject#root\cimv2\Win32_QuickFixEngineering + + + + + + 13 + + + + 16 + + + + 13 + + + + 20 + + + + 25 + + + + + + + __SERVER + + + Description + + + HotFixID + + + InstalledBy + + + InstalledOn + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuickFixEngineering + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuickFixEngineering + + + + + + 13 + + + + 16 + + + + 13 + + + + 20 + + + + 25 + + + + + + + ComputerName + + + Description + + + HotFixID + + + InstalledBy + + + InstalledOn + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Process + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Process + + + + + + + + + 16 + + + + + + + + + + + + + + + + ProcessId + + + Name + + + HandleCount + + + WorkingSetSize + + + VirtualSize + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ComputerSystem + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ComputerSystem + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + Name + + + PrimaryOwnerName + + + Domain + + + TotalPhysicalMemory + + + Model + + + Manufacturer + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_PROCESSOR + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_PROCESSOR + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + DeviceID + + + Name + + + Caption + + + MaxClockSpeed + + + SocketDesignation + + + Manufacturer + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DCOMApplication + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DCOMApplication + + + + + + + + + 16 + + + + + + + + + + AppID + + + Name + + + InstallDate + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOP + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOP + + + + + + + + + 16 + + + + + + + + + + + + + + + + SettingID + + + Name + + + ScreenSaverActive + + + ScreenSaverSecure + + + ScreenSaverTimeout + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOPMONITOR + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOPMONITOR + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + DeviceID + + + Name + + + DisplayType + + + MonitorManufacturer + + + ScreenHeight + + + ScreenWidth + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DeviceMemoryAddress + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DeviceMemoryAddress + + + + + + 16 + + + + + + + + + + + + + Name + + + MemoryType + + + Status + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskDrive + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskDrive + + + + + + + + + + + + + + + + + + + + + + + + DeviceID + + + Caption + + + Partitions + + + Size + + + Model + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskQuota + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskQuota + + + + + + + + + + + + + + + + + + + + + DiskSpaceUsed + + + Limit + + + QuotaVolume + + + User + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Environment + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Environment + + + + + + 16 + + + + + + + + + + + + + Name + + + UserName + + + VariableValue + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Directory + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Directory + + + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + Hidden + + + Archive + + + Writeable + + + LastModified + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Group + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Group + + + + + + + + + 16 + + + + + + + + + + + + + SID + + + Name + + + Caption + + + Domain + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IDEController + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IDEController + + + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + Status + + + StatusInfo + + + ProtocolSupported + + + Manufacturer + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IRQResource + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IRQResource + + + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + IRQNumber + + + Hardware + + + TriggerLevel + + + TriggerType + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ScheduledJob + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ScheduledJob + + + + + + + + + 16 + + + + + + + + + + + + + + + + JobId + + + Name + + + Owner + + + Priority + + + Command + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LoadOrderGroup + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LoadOrderGroup + + + + + + 16 + + + + + + + + + + Name + + + GroupOrder + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogicalDisk + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogicalDisk + + + + + + + + + + + + 16 + + + + 16 + + + + + + + + + + + + + DeviceID + + + DriveType + + + ProviderName + + + VolumeName + + + Size + + + FreeSpace + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogonSession + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogonSession + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + LogonId + + + Name + + + LogonType + + + StartTime + + + Status + + + AuthenticationPackage + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PhysicalMemoryArray + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PhysicalMemoryArray + + + + + + 16 + + + + + + + + + + + + + + + + Name + + + MemoryDevices + + + MaxCapacity + + + Model + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OnBoardDevice + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OnBoardDevice + + + + + + + + + + + + + + + + + + + + + DeviceType + + + SerialNumber + + + Enabled + + + Description + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OperatingSystem + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OperatingSystem + + + + + + + + + + + + + + + + + + + + + + + + + + + SystemDirectory + + + Organization + + + BuildNumber + + + RegisteredUser + + + SerialNumber + + + Version + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskPartition + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskPartition + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + Name + + + NumberOfBlocks + + + BootPartition + + + PrimaryPartition + + + Size + + + Index + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PortConnector + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PortConnector + + + + + + + + + + + + + + + + + + + + + + + + Tag + + + PortType + + + ConnectorType + + + SerialNumber + + + ExternalReferenceDesignator + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuotaSetting + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuotaSetting + + + + + + + + + + + + + + + + + + + + + + + + + + + SettingID + + + Caption + + + State + + + VolumePath + + + DefaultLimit + + + DefaultWarningLimit + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SCSIController + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SCSIController + + + + + + 16 + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + DriverName + + + Status + + + StatusInfo + + + ProtocolSupported + + + Manufacturer + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Service + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Service + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + ProcessId + + + Name + + + StartMode + + + State + + + Status + + + ExitCode + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_UserAccount + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_UserAccount + + + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + Caption + + + AccountType + + + SID + + + Domain + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkProtocol + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkProtocol + + + + + + 16 + + + + + + + + + + + + + Name + + + Caption + + + Status + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapter + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapter + + + + + + + + + 16 + + + + + + + + + + + + + DeviceID + + + Name + + + AdapterType + + + ServiceName + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapterConfiguration + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapterConfiguration + + + + + + 16 + + + + + + + + + + + + + + + + ServiceName + + + DHCPEnabled + + + Index + + + Description + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NTDomain + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NTDomain + + + + + + 16 + + + + + + + + + + + + + DomainName + + + DnsForestName + + + DomainControllerName + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Printer + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Printer + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + Name + + + ShareName + + + SystemName + + + PrinterState + + + PrinterStatus + + + Location + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PrintJob + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PrintJob + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + JobId + + + Name + + + JobStatus + + + Owner + + + Priority + + + Size + + + Document + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Product + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Product + + + + + + 16 + + + + + + + + + + + + + + + + + + + Name + + + Caption + + + Vendor + + + Version + + + IdentifyingNumber + + + + + + + + System.Net.NetworkCredential + + System.Net.NetworkCredential + + + + + + + 50 + + + + 50 + + + + + + + UserName + + + Domain + + + + + + + + System.Management.Automation.PSMethod + + System.Management.Automation.PSMethod + + + + + + + + + + + + + + $_.OverloadDefinitions | Out-String + + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#__PartialCIMInstance + + Microsoft.Management.Infrastructure.CimInstance#__PartialCIMInstance + + + + + + + + + + $str = $_ | Microsoft.PowerShell.Utility\Format-List -Property * | Microsoft.PowerShell.Utility\Out-String + $str + + + + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/Event.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/Event.format.ps1xml new file mode 100644 index 0000000000..1b8f45b069 Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/Event.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/FileSystem.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/FileSystem.format.ps1xml new file mode 100644 index 0000000000..9d2f16693f Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/FileSystem.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/Help.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/Help.format.ps1xml new file mode 100644 index 0000000000..fb4e21a9a0 --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/Help.format.ps1xml @@ -0,0 +1,2235 @@ + + + + + + TextPropertyControl + + + + + + Text + + + + + + + + MamlShortDescriptionControl + + + + + MamlParaTextItem + + + + Text + + + + + + + + + + + + + + MamlDetailsControl + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Description + + MamlShortDescriptionControl + + + + + + + + + + + + MamlIndentedDescriptionControl + + + + + + + + 4 + + + description + + MamlDescriptionControl + + + + + + + + + + + + MamlDescriptionControl + + + + + MamlParaTextItem + + + + Text + + + + + + + MamlOrderedListTextItem + + + + 4 + + + Tag + + + Text + + + + + + + + + MamlUnorderedListTextItem + + + + 2 + + + Tag + + + Text + + + + + + + + + MamlDefinitionTextItem + + + + Term + + + + 4 + + + Definition + + + + + + + + + + + + + + + + MamlParameterControl + + + + + + +$optional = $_.required -ne "true" +$positional = (($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $())) +$parameterValue = if ($null -ne $_.psobject.Members['ParameterValue']) { + " <$($_.ParameterValue)>" +} elseif ($null -ne $_.psobject.Members['ParameterValueGroup']) { + " {$($_.ParameterValueGroup.ParameterValue -join ' | ')}" +} else { + "" +} +$(if ($optional -and $positional) { "[[-{0}]{1}] " } +elseif ($optional) { "[-{0}{1}] " } +elseif ($positional) { "[-{0}]{1} " } +else { "-{0}{1} " }) -f $_.Name, $parameterValue + + + + + + + + + MamlParameterValueControl + + + + + + if ($_.required -ne "true") { " [<$_>]" } else { " <$_>" } + + + + + + + + ExamplesControl + + + + + + Example + + MamlExampleControl + + + + + + + + MamlExampleControl + + + + + + Title + + + + + Introduction + + TextPropertyControl + + + Code + + + + + results + + + + remarks + + MamlShortDescriptionControl + + + + + + + + MamlTypeControl + + + + + + name + + + + + $_.uri + + + + + + + + 4 + + + uri + + + + + + + + + + + + $_.description + + + + + + + 4 + + + description + + MamlShortDescriptionControl + + + + + + + + + + + + + + + MamlTextItem + + + + + MamlParaTextItem + + + + Text + + + + + + + MamlOrderedListTextItem + + + + Tag + + + Text + + + + + + + MamlUnorderedListTextItem + + + + Tag + + + Text + + + + + + + MamlDefinitionTextItem + + + + Term + + + + 4 + + + Definition + + + + + + + + + MamlPreformattedTextItem + + + + Text + + + + + + + + + + + + + MamlAlertControl + + + + + + Text + + + + + + + + + MamlPossibleValuesControl + + + + + + possibleValues + MamlPossibleValueControl + + + + + + + + MamlPossibleValueControl + + + + + + possibleValue + + + + + + + Value + + + + 4 + + + Description + + MamlShortDescriptionControl + + + + + + + + + + + + + + + + MamlTrueFalseShortControl + + + + + + + $_.Equals("true", [System.StringComparison]::OrdinalIgnoreCase) + + ; + + + + + + + + + + + + + $_.Equals("false", [System.StringComparison]::OrdinalIgnoreCase) + + ; + + + + + + + + + + + + + + + + + MamlIndentedSyntaxControl + + + + + + + + 4 + + + Syntax + MamlSyntaxControl + + + + + + + + + + + CommonWorkflowParametersControl + + + + + + +$wfp = $_.psobject.Properties['WorkflowCommonParameters'] +if ($null -ne $wfp -and $wfp.Value) +{ + if ($psversiontable.psversion.Major -gt 2) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + "[{0}]" -f $resourceManager.GetString("CommonWorkflowParameters") + } + else + { + "[<WorkflowCommonParameters>]" + } +} + + + + + + + + + MamlSyntaxControl + + + + + + SyntaxItem + + + + + + + name + + + + Parameter + + MamlParameterControl + + + CommonWorkflowParametersControl + + [ + + ] + + + + + + + + + + + + + + MamlTypeWithDescriptionControl + + + + + + type + MamlTypeControl + + + + 4 + + + description + + MamlShortDescriptionControl + + + + + + + + + + + RelatedLinksHelpInfoControl + + + + + + 4 + + + + Set-StrictMode -Off + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + MamlRelatedLinksControl + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + ErrorControl + + + + + + errorId + + + + category + + ) + + + 4 + + + description + + MamlShortDescriptionControl + + + + + + + type + MamlTypeControl + + + + + targetObjectType + MamlTypeControl + + + + + recommendedAction + + MamlShortDescriptionControl + + + + + + + + + + MamlFullParameterControl + + + + + - + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + Description + + MamlDescriptionControl + + + + + $_.possibleValues -ne $() + + + MamlPossibleValuesControl + + + + required + MamlTrueFalseShortControl + + + + + + ($_.position -eq $()) -or ($_.position -eq "") + + + + + + + + + + + + + + + $_.position -ne $() + + $_.position + + + + + defaultValue + + + + + pipelineInput + + + + + globbing + MamlTrueFalseShortControl + + + + + + + + + + + + zzz + + + + + + + + + + + Parameter + + MamlFullParameterControl + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + help + + HelpInfoShort + + + + + + 33 + left + + + + 9 + left + + + + 25 + left + + + + + + + + Name + + + Category + + + if ($_.ModuleName -ne $null) { $_.ModuleName } else {$_.PSSnapIn} + + + Synopsis + + + + + + + + + CmdletHelp + + CmdletHelpInfo + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Syntax + + + + + + + + + + + + DefaultCommandHelp + + MamlCommandHelpInfo + + + + + + + Details + MamlDetailsControl + + + $_ + MamlIndentedSyntaxControl + + + $_ + MamlIndentedDescriptionControl + + + + + 4 + + + relatedLinks + MamlRelatedLinksControl + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + RelatedLinksHelpInfoControl + + + + + + + + + + + VerboseCommandHelp + + MamlCommandHelpInfo#DetailedView + + + + + + + Details + MamlDetailsControl + + + $_ + MamlIndentedSyntaxControl + + + $_ + MamlIndentedDescriptionControl + + + + + 4 + + + Parameters + + + + + + Parameter + + + + + + - + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + Description + + MamlDescriptionControl + + + + + + + + + + + + + + + + CommonWorkflowParametersControl + + + + + 4 + + + + + + + + + + + 4 + + + Examples + ExamplesControl + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + RelatedLinksHelpInfoControl + + + + + + + + + + + ExampleCommandHelp + + MamlCommandHelpInfo#ExamplesView + + + + + + + Details + MamlDetailsControl + + + + 4 + + + Examples + ExamplesControl + + + + + + + + + + + FullCommandHelp + + MamlCommandHelpInfo#FullView + + + + + + + Details + MamlDetailsControl + + + $_ + MamlIndentedSyntaxControl + + + $_ + MamlIndentedDescriptionControl + + + + + 4 + + + Parameters + zzz + + + + + + + 4 + + + InputTypes + + + + + + InputType + + MamlTypeWithDescriptionControl + + + + + + + + + + + + + 4 + + + ReturnValues + + + + + + ReturnValue + + MamlTypeWithDescriptionControl + + + + + + + + + + + + + + (($_.terminatingErrors -ne $null) -and + ($_.terminatingErrors.terminatingError -ne $null)) + + + terminatingErrors + + + + + + + + 4 + + + terminatingError + + ErrorControl + + + + + + + + + + + + + (($_.nonTerminatingErrors -ne $null) -and + ($_.nonTerminatingErrors.nonTerminatingError -ne $null)) + + + nonTerminatingErrors + + + + + + + + 4 + + + nonTerminatingError + + ErrorControl + + + + + + + + + + + + $_.alertSet -ne $null + + alertSet + + + + + + + + + + + + + + $_.alertSet -ne $null + + alertSet + + + + + + + 4 + + + title + + + + + 4 + + + alert + + MamlAlertControl + + + + + + + + + + + + + + 4 + + + Examples + ExamplesControl + + + + + + + + 4 + + + relatedLinks + MamlRelatedLinksControl + + + + + + + + + + ProviderHelpInfo + + ProviderHelpInfo + + + + ProviderTasks + + + + + + + Task + Task + + + + + + + + + TaskExamplesControl + + + + + + + Example + TaskExampleControl + + + + + + + + TaskExampleControl + + + + + + Title + + + + + Introduction + + TextPropertyControl + + + + + Code + + + + + results + + + + + remarks + + MamlTextItem + + + + + + + + Task + + + + + + + + + Title + + + + + + + 4 + + + + Description + MamlTextItem + + + + + + Examples + TaskExamplesControl + + + + + + + + + + + + DynamicPossibleValues + + + + + + 4 + + + Value + + + + + + 8 + + + + Description + MamlTextItem + + + + + + + + + + + DynamicParameterControl + + + + + + + - + + Name + + + + Type + + + + + + + "<" + $_.Name + ">" + + + + + + + + + + + 4 + + + Description + + + + + PossibleValues + + + + + + PossibleValue + + DynamicPossibleValues + + + + + + + + + + CmdletSupported + + + + + + + + + + + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + + Drives + MamlTextItem + + + + + + + + 4 + + + + Synopsis + + + + + + + + + 4 + + + DetailedDescription + + MamlTextItem + + + + + + + + 4 + + + Capabilities + + MamlTextItem + + + + + + + + 4 + + + + Tasks + ProviderTasks + + + + + + + + 4 + + + DynamicParameters + + + + + + DynamicParameter + + DynamicParameterControl + + + + + + + + + + + + + 4 + + + Notes + + + + + + + + + 4 + + + relatedLinks + MamlRelatedLinksControl + + + + + + + + + + FaqHelpInfo + + FaqHelpInfo + + + + + + + + Title + + + + + Question + + + + + + 4 + + + Answer + + MamlTextItem + + + + + + + + + + + GeneralHelpInfo + + GeneralHelpInfo + + + + + + + + Title + + + + + + + 4 + + + Content + + MamlTextItem + + + + + + + + + + + GlossaryHelpInfo + + GlossaryHelpInfo + + + + + + + + Name + + + + + + 4 + + + Definition + + MamlTextItem + + + + + + + + + + + ScriptHelpInfo + + ScriptHelpInfo + + + + + + + + Title + + + + + + 4 + + + Content + + MamlTextItem + + + + + + + + + + + MamlCommandExamples + + MamlCommandHelpInfo#Examples + + + + + + + $_ + ExamplesControl + + + + + + + + MamlCommandExample + + MamlCommandHelpInfo#Example + + + + + + + Title + + + + + Introduction + + TextPropertyControl + + + Code + + + + + + results + + + + + remarks + + MamlShortDescriptionControl + + + + + + + + MamlCommandDetails + + MamlCommandHelpInfo#commandDetails + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + commandDescription + + MamlShortDescriptionControl + + + + + + + + + + MamlCommandParameters + + MamlCommandHelpInfo#Parameters + + + + + + + 4 + + + zzz + + + + + + + + + + MamlCommandParameterView + + MamlCommandHelpInfo#Parameter + + + + + + + $_ + MamlFullParameterControl + + + + + + + + MamlCommandSyntax + + MamlCommandHelpInfo#Syntax + + + + + + + $_ + MamlSyntaxControl + + + + + + + + MamlText + + MamlParaTextItem + MamlOrderedListTextItem + MamlUnorderedListTextItem + MamlDefinitionTextItem + + + + + + + $_ + MamlDescriptionControl + + + + + + + + MamlInputTypes + + MamlCommandHelpInfo#inputTypes + + + + + + + InputType + + MamlTypeWithDescriptionControl + + + + + + + + MamlNonTerminatingErrors + + MamlCommandHelpInfo#nonTerminatingErrors + + + + + + + nonTerminatingError + + ErrorControl + + + + + + + + MamlTerminatingErrors + + MamlCommandHelpInfo#terminatingErrors + + + + + + + terminatingError + + ErrorControl + + + + + + + + MamlRelatedLinks + + MamlCommandHelpInfo#relatedLinks + + + + + + + $_ + MamlRelatedLinksControl + + + + + + + + MamlReturnTypes + + MamlCommandHelpInfo#returnValues + + + + + + + ReturnValue + + MamlTypeWithDescriptionControl + + + + + + + + MamlAlertSet + + MamlCommandHelpInfo#alertSet + + + + + + + title + + + + + 4 + + + alert + + MamlAlertControl + + + + + + + + + + MamlDetails + + MamlCommandHelpInfo#details + + + + + + + $_ + MamlDetailsControl + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/HelpV3.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/HelpV3.format.ps1xml new file mode 100644 index 0000000000..7f1f1d2587 --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/HelpV3.format.ps1xml @@ -0,0 +1,2760 @@ + + + + + + MamlParameterValueGroupControl + + + + + + + $_.ParameterValue.Length -ne $() + + " {$($_.ParameterValue -join ' | ')}" + + + + + + + + MamlParameterControl + + + + + + + $_.required -ne "true" + + "[" + + + + + (($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $())) + + "[" + + + Name + + + + + - + + $_ + + + + + + + + + + (($_.position -ne $()) -and ($_.position -ne "") -and ($_.position -notmatch "named") -and ([int]$_.position -ne $())) + + "]" + + + ParameterValue + MamlParameterValueControl + + + ParameterValueGroup + MamlParameterValueGroupControl + + + + $_.required -ne "true" + + "]" + + + + + + + + + MamlTypeControl + + + + + + name + + + + + + + + + MamlParameterValueControl + + + + + + + + $_.required -ne "true" + + "[" + + + "<" + $_ + ">" + + + + $_.required -ne "true" + + "]" + + + + + + + + MamlPossibleValueControl + + + + + + possibleValue + + + + + + + Value + + + + + + + + + + + + + + MamlShortDescriptionControl + + + + + MamlParaTextItem + + + + Text + + + + + + + + + + + + + + MamlDescriptionControl + + + + + MamlParaTextItem + + + + Text + + + + + + + MamlOrderedListTextItem + + + + 4 + + + Tag + + + Text + + + + + + + + + MamlUnorderedListTextItem + + + + 2 + + + Tag + + + Text + + + + + + + + + MamlDefinitionTextItem + + + + Term + + + + 4 + + + Definition + + + + + + + + + + + + + + + + MamlExampleControl + + + + + + Title + + + Introduction + + + + + + + Text + + + + + + + + Code + + + + + results + + + + remarks + + MamlShortDescriptionControl + + + + + + + + MamlFieldCustomControl + + + + + MamlPSClassHelpInfo#field + + + + "[" + $_.fieldData.type.name + "] $" + $_.fieldData.name + + + + $_.introduction.text + + + + + + + + + + + + + + + MamlMethodCustomControl + + + + + MamlPSClassHelpInfo#method + + + + + + + + function GetParam + { + if(-not $_.Parameters) + { + return $null + } + $_.Parameters.Parameter | + %{ + + if($_.type) + { + $param = "[$($_.type.name)] `$$($_.name), " + } + else + { + $param = "[object] `$$($_.name), " + } + + $params += $param + } + + $params = $params.Remove($params.Length - 2) + return $params + } + + $paramOutput = GetParam + + "[" + $_.returnValue.type.name + "] " + $_.title + "(" + $($paramOutput) + ")" + + + + + $_.introduction.text + + + + + + + + + + + + + + + + RelatedLinksHelpInfoControl + + + + + + 4 + + + + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + + + + ReducedDefaultCommandHelp + + ExtendedCmdletHelpInfo + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + + + + + + 4 + + + Syntax + + + + + + SyntaxItem + + + + + + + name + + + + Parameter + + MamlParameterControl + + + + $_.WorkflowCommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + $_.CommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + Aliases + + + + + + + + + 4 + + + Remarks + + + + + + + + + + + ReducedVerboseCommandHelp + + ExtendedCmdletHelpInfo#DetailedView + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + + + + + + 4 + + + Syntax + + + + + + SyntaxItem + + + + + + + name + + + + Parameter + + MamlParameterControl + + + + $_.WorkflowCommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + $_.CommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + Parameters + + + + + + Parameter + + + + + + - + + name + + + ParameterValue + MamlParameterValueControl + + + + + + + + + + + + + + + + $_.WorkflowCommonParameters -eq $true + + + + + + + + + + 4 + + + + + + + + + + + + + + $_.CommonParameters -eq $true + + + + + + + + + + 4 + + + + + + + + + + + + + + ($_.CommonParameters -eq $false) -and ($_.parameters.parameter.count -eq 0) + + + + + + + + + + + + + + + + + + + + + 4 + + + Aliases + + + + + + + + + 4 + + + Remarks + + + + + + + + + + + ReducedFullCommandHelp + + ExtendedCmdletHelpInfo#FullView + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + + + + + + 4 + + + Syntax + + + + + + SyntaxItem + + + + + + + name + + + + Parameter + + MamlParameterControl + + + + $_.WorkflowCommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + $_.CommonParameters -eq $true + + + + + + + [ + + ] + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + Parameters + + + + + + Parameter + + + + + + - + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + + $_.description -ne $() + + description + + + + $_.possibleValues -ne $() + + + + + + + + possibleValues + MamlPossibleValueControl + + + + + + + + + + + $_.required.ToLower().Equals("true") + + + + + + + + + + + + + + + $_.required.ToLower().Equals("false") + + + + + + + + + + + + + + + + + ($_.position -eq $()) -or ($_.position -eq "") + + + + + + + + + + + + + + + $_.position -ne $() + + $_.position + + + + + pipelineInput + + + + + parameterSetName + + + + + aliases + + + + + isDynamic + + + + + + + + + + + + + + + + + + $_.WorkflowCommonParameters -eq $true + + + + + + + + + + 4 + + + + + + + + + + + + + + $_.CommonParameters -eq $true + + + + + + + + + + 4 + + + + + + + + + + + + + + ($_.CommonParameters -eq $false) -and ($_.parameters.parameter.count -eq 0) + + + + + + + + + + + + + + + + + + + + + 4 + + + InputTypes + + + + + + InputType + + + + + + + type + MamlTypeControl + + + + + + + + + + + + + + + + + + + 4 + + + ReturnValues + + + + + + ReturnValue + + + + + + + type + MamlTypeControl + + + + + + + + + + + + + + + + + + + 4 + + + Aliases + + + + + + + + + 4 + + + Remarks + + + + + + + + + + + ReducedExamplesCommandHelp + + ExtendedCmdletHelpInfo#ExamplesView + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + + + + + + 4 + + + Aliases + + + + + + + + + 4 + + + Remarks + + + + + + + + + + + ReducedCommandHelpParameterView + + ExtendedCmdletHelpInfo#parameter + + + + + + + + + + + + - + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + + $_.description -ne $() + + description + + + + $_.possibleValues -ne $() + + + + + + + + possibleValues + MamlPossibleValueControl + + + + + + + + + + + $_.required.ToLower().Equals("true") + + + + + + + + + + + + + + + $_.required.ToLower().Equals("false") + + + + + + + + + + + + + + + + + ($_.position -eq $()) -or ($_.position -eq "") + + + + + + + + + + + + + + + $_.position -ne $() + + $_.position + + + + + pipelineInput + + + + + parameterSetName + + + + + aliases + + + + + isDynamic + + + + + + + + + + + + + + + + + VerboseRecord + + + System.Management.Automation.VerboseRecord + + + + + + + Message + + + + + + + + DeserializedVerboseRecord + + + Deserialized.System.Management.Automation.VerboseRecord + + + + + + + InformationalRecord_Message + + + + + + + + DebugRecord + + + System.Management.Automation.DebugRecord + + + + + + + Message + + + + + + + + DeserializedDebugRecord + + + Deserialized.System.Management.Automation.DebugRecord + + + + + + + InformationalRecord_Message + + + + + + + + DscResourceHelp + + DscResourceHelpInfo#FullView + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Description + + MamlShortDescriptionControl + + + + + + + + + + + + + 4 + + + description + + MamlDescriptionControl + + + + + + + + 4 + + + Properties + + + + + + Parameter + + + + + + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + Description + + MamlDescriptionControl + + + + $_.possibleValues -ne $() + + + + + + + + possibleValues + MamlPossibleValueControl + + + + + + + + + + + $_.required.ToLower().Equals("true") + + + + + + + + + + + + + + + $_.required.ToLower().Equals("false") + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + Examples + + + + + + Example + + MamlExampleControl + + + + + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + RelatedLinksHelpInfoControl + + + + + + + + + + DscResourceHelp + + DscResourceHelpInfo#DetailedView + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Description + + MamlShortDescriptionControl + + + + + + + + + + + + + 4 + + + description + + MamlDescriptionControl + + + + + + + + 4 + + + Properties + + + + + + Parameter + + + + + + + name + + + ParameterValue + MamlParameterValueControl + + + + 4 + + + Description + + MamlDescriptionControl + + + + + + + + + + + + + + + + + + + + + 4 + + + Examples + + + + + + Example + + MamlExampleControl + + + + + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + RelatedLinksHelpInfoControl + + + + + + + + + + DscResourceHelp + + DscResourceHelpInfo + + + + + + + Details + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Description + + MamlShortDescriptionControl + + + + + + + + + + + + + 4 + + + description + + MamlDescriptionControl + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + + + + + + 4 + + + + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + + + + + + + + PSClassHelp + + PSClassHelpInfo#FullView + + + + + + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Introduction + + MamlShortDescriptionControl + + + + + + + + 4 + + + members + + + + + + member + + + + + + + MamlFieldCustomControl + + + + + + + + + + + + + + + + + + 4 + + + members + + + + + + member + + + + + + + MamlMethodCustomControl + + + + + + + + + + + + + + + + + + + 4 + + + Examples + + + + + + Example + + MamlExampleControl + + + + + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + + + + + + 4 + + + + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + + + + + + + + + + + + + + PSClassHelp + + PSClassHelpInfo#DetailedView + + + + + + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Introduction + + MamlShortDescriptionControl + + + + + + + + 4 + + + members + + + + + + member + + + + + + + MamlFieldCustomControl + + + + + + + + + + + + + + + + + + 4 + + + members + + + + + + member + + + + + + + MamlMethodCustomControl + + + + + + + + + + + + + + + + + + + 4 + + + Examples + + + + + + Example + + MamlExampleControl + + + + + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Details.Name + " -examples" + + ". + + + " + + "get-help " + $_.Details.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Details.Name + " -full" + + ". + + + + + + + + 4 + + + + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + + + + + + + + + + + + + PSClassHelp + + PSClassHelpInfo + + + + + + + + + + + + + + 4 + + + Name + + + + + + + + + 4 + + + Introduction + + MamlShortDescriptionControl + + + + + + + + + + + + + + 4 + + + relatedLinks + + + + + + navigationLink + + + + + + + linkText + + + + $_.linkText.Length -ne 0 + + " " + + + uri + + + + + + + + + + + + + + + + + + + 4 + + + " + + "get-help " + $_.Name + " -examples" + + ". + + + " + + "get-help " + $_.Name + " -detailed" + + ". + + + " + + "get-help " + $_.Name + " -full" + + ". + + + + + + + + 4 + + + + if(($psversiontable.psversion.Major -gt 2) -and ($_.relatedLinks -ne $()) -and ($_.relatedLinks.navigationLink -ne $()) -and ($_.relatedLinks.navigationLink.Length -ne 0)) + { + $assembly = [System.Reflection.Assembly]::Load("System.Management.Automation") + $resourceManager = New-Object System.Resources.ResourceManager -ArgumentList "HelpDisplayStrings", $assembly + [String]::Format(" {0}{1}", $resourceManager.GetString("RelatedLinksHelpInfo"), "`"get-help " + $_.Details.Name + " -online`"`n") + } + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/PowerShellCore.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/PowerShellCore.format.ps1xml new file mode 100644 index 0000000000..ab726c2ab5 Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/PowerShellCore.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/PowerShellTrace.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/PowerShellTrace.format.ps1xml new file mode 100644 index 0000000000..4e654a1289 --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/PowerShellTrace.format.ps1xml @@ -0,0 +1,91 @@ + + + + + + + System.Management.Automation.PSTraceSource + + System.Management.Automation.PSTraceSource + + + + + 8 + + + 20 + + + 20 + + + + + + + + Options + + + Name + + + Listeners + + + Description + + + + + + + + System.Management.Automation.PSTraceSource + + System.Management.Automation.PSTraceSource + + + + + + + Name + + + Description + + + Options + + + Listeners + + + Attributes + + + Switch + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/Registry.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/Registry.format.ps1xml new file mode 100644 index 0000000000..c6320f7811 Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/Registry.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/WSMan.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/WSMan.format.ps1xml new file mode 100644 index 0000000000..8e34497aa5 Binary files /dev/null and b/src/Microsoft.PowerShell.Linux.Host/WSMan.format.ps1xml differ diff --git a/src/Microsoft.PowerShell.Linux.Host/project.json b/src/Microsoft.PowerShell.Linux.Host/project.json index 660915fee7..c025d4a68b 100644 --- a/src/Microsoft.PowerShell.Linux.Host/project.json +++ b/src/Microsoft.PowerShell.Linux.Host/project.json @@ -24,6 +24,23 @@ } }, + "content": [ + "types.ps1xml", + "typesv3.ps1xml", + "Certificate.format.ps1xml", + "Diagnostics.Format.ps1xml", + "DotNetTypes.format.ps1xml", + "Event.format.ps1xml", + "FileSystem.format.ps1xml", + "Help.format.ps1xml", + "HelpV3.format.ps1xml", + "PowerShellCore.format.ps1xml", + "PowerShellTrace.format.ps1xml", + "Registry.format.ps1xml", + "WSMan.format.ps1xml" + ], + + "frameworks": { "dnxcore50": { "imports": "portable-net45+win8" diff --git a/src/Microsoft.PowerShell.Linux.Host/types.ps1xml b/src/Microsoft.PowerShell.Linux.Host/types.ps1xml new file mode 100644 index 0000000000..1df0e898f9 --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/types.ps1xml @@ -0,0 +1,6869 @@ + + + + + + System.Array + + + Count + Length + + + + + + System.Management.Automation.PSDriveInfo + + + Used + + ## Ensure that this is a FileSystem drive + if($this.Provider.ImplementingType -eq + [Microsoft.PowerShell.Commands.FileSystemProvider]) + { + $driveRoot = ([System.IO.DirectoryInfo] $this.Root).Name.Replace('\','') + $drive = Get-WmiObject Win32_LogicalDisk -Filter "DeviceId='$driveRoot'" + $drive.Size - $drive.FreeSpace + } + + + + Free + + ## Ensure that this is a FileSystem drive + if($this.Provider.ImplementingType -eq + [Microsoft.PowerShell.Commands.FileSystemProvider]) + { + $driveRoot = ([System.IO.DirectoryInfo] $this.Root).Root.Name.Replace('\','') + $drive = Get-WmiObject Win32_LogicalDisk -Filter "DeviceId='$driveRoot'" + $drive.FreeSpace + } + + + + + + + System.Drawing.Printing.PrintDocument + + + Name + $this.PrinterSettings.PrinterName + + + Color + $this.PrinterSettings.SupportsColor + + + Duplex + $this.PrinterSettings.Duplex + + + + + System.Management.Automation.ApplicationInfo + + + FileVersionInfo + [System.Diagnostics.FileVersionInfo]::getversioninfo( $this.Path ) + + + + + System.DateTime + + + DateTime + + if ((& { Set-StrictMode -Version 1; $this.DisplayHint }) -ieq "Date") + { + "{0}" -f $this.ToLongDateString() + } + elseif ((& { Set-StrictMode -Version 1; $this.DisplayHint }) -ieq "Time") + { + "{0}" -f $this.ToLongTimeString() + } + else + { + "{0} {1}" -f $this.ToLongDateString(), $this.ToLongTimeString() + } + + + + + + System.Net.IPAddress + + + IPAddressToString + + $this.Tostring() + + + + PSStandardMembers + + + SerializationDepth + 1 + + + DefaultDisplayProperty + IPAddressToString + + + + + + + Deserialized.System.Net.IPAddress + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Diagnostics.ProcessModule + + + Size + $this.ModuleMemorySize / 1024 + + + Company + $this.FileVersionInfo.CompanyName + + + FileVersion + $this.FileVersionInfo.FileVersion + + + ProductVersion + $this.FileVersionInfo.ProductVersion + + + Description + $this.FileVersionInfo.FileDescription + + + Product + $this.FileVersionInfo.ProductName + + + + + System.Collections.DictionaryEntry + + + Name + Key + + + + + System.Management.Automation.PSModuleInfo + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + Path + Description + Guid + Version + ModuleBase + ModuleType + PrivateData + AccessMode + ExportedAliases + ExportedCmdlets + ExportedFunctions + ExportedVariables + NestedModules + + + + + + + + System.ServiceProcess.ServiceController + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Status + Name + DisplayName + + + + + + Name + ServiceName + + + RequiredServices + ServicesDependedOn + + + ToString + + + + + + Deserialized.System.ServiceProcess.ServiceController + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Status + Name + DisplayName + + + + + + + + + System.Management.Automation.CmdletInfo + + + DLL + $this.ImplementingType.Assembly.Location + + + + + System.Management.Automation.AliasInfo + + + ResolvedCommandName + $this.ResolvedCommand.Name + + + DisplayName + + if ($this.Name.IndexOf('-') -lt 0) + { + if ($this.ResolvedCommand -ne $null) + { + $this.Name + " -> " + $this.ResolvedCommand.Name + } + else + { + $this.Name + " -> " + $this.Definition + } + } + else + { + $this.Name + } + + + + + + System.DirectoryServices.DirectoryEntry + + + PSStandardMembers + + + DefaultDisplayPropertySet + + distinguishedName + Path + + + + + + + + + System.IO.DirectoryInfo + + + Mode + + Microsoft.PowerShell.Commands.FileSystemProvider + Mode + + + + BaseName + + $this.Name + + + + Target + + Microsoft.PowerShell.Commands.InternalSymbolicLinkLinkCodeMethods + GetTarget + + + + LinkType + + Microsoft.PowerShell.Commands.InternalSymbolicLinkLinkCodeMethods + GetLinkType + + + + PSStandardMembers + + + DefaultDisplayProperty + Name + + + + + + + System.IO.FileInfo + + + Mode + + Microsoft.PowerShell.Commands.FileSystemProvider + Mode + + + + VersionInfo + + [System.Diagnostics.FileVersionInfo]::GetVersionInfo($this.FullName) + + + + BaseName + + if ($this.Extension.Length -gt 0){$this.Name.Remove($this.Name.Length - $this.Extension.Length)}else{$this.Name} + + + + Target + + Microsoft.PowerShell.Commands.InternalSymbolicLinkLinkCodeMethods + GetTarget + + + + LinkType + + Microsoft.PowerShell.Commands.InternalSymbolicLinkLinkCodeMethods + GetLinkType + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + LastWriteTime + Length + Name + + + + + + + + System.Diagnostics.FileVersionInfo + + + FileVersionRaw + + New-Object System.Version -ArgumentList @( + $this.FileMajorPart + $this.FileMinorPart + $this.FileBuildPart + $this.FilePrivatePart) + + + + ProductVersionRaw + + New-Object System.Version -ArgumentList @( + $this.ProductMajorPart + $this.ProductMinorPart + $this.ProductBuildPart + $this.ProductPrivatePart) + + + + + + System.Diagnostics.EventLogEntry + + + EventID + + $this.get_EventID() -band 0xFFFF + + + + + + System.Management.ManagementBaseObject + + + PSComputerName + __SERVER + + + + + System.Management.ManagementObject#root\cimv2\Win32_PingStatus + + + IPV4Address + + $iphost = [System.Net.Dns]::GetHostEntry($this.address) + $iphost.AddressList | ?{ $_.AddressFamily -eq [System.Net.Sockets.AddressFamily]::InterNetwork } | select -first 1 + + + + IPV6Address + + $iphost = [System.Net.Dns]::GetHostEntry($this.address) + $iphost.AddressList | ?{ $_.AddressFamily -eq [System.Net.Sockets.AddressFamily]::InterNetworkV6 } | select -first 1 + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Process + + + ProcessName + Name + + + Handles + Handlecount + + + VM + VirtualSize + + + WS + WorkingSetSize + + + Path + $this.ExecutablePath + + + + + System.Diagnostics.Process + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Id + Handles + CPU + SI + Name + + + + + + PSConfiguration + + Name + Id + PriorityClass + FileVersion + + + + PSResources + + Name + Id + Handlecount + WorkingSet + NonPagedMemorySize + PagedMemorySize + PrivateMemorySize + VirtualMemorySize + Threads.Count + TotalProcessorTime + + + + Name + ProcessName + + + SI + SessionId + + + Handles + Handlecount + + + VM + VirtualMemorySize64 + + + WS + WorkingSet64 + + + PM + PagedMemorySize64 + + + NPM + NonpagedSystemMemorySize64 + + + Path + $this.Mainmodule.FileName + + + Company + $this.Mainmodule.FileVersionInfo.CompanyName + + + CPU + $this.TotalProcessorTime.TotalSeconds + + + FileVersion + $this.Mainmodule.FileVersionInfo.FileVersion + + + ProductVersion + $this.Mainmodule.FileVersionInfo.ProductVersion + + + Description + $this.Mainmodule.FileVersionInfo.FileDescription + + + Product + $this.Mainmodule.FileVersionInfo.ProductName + + + __NounName + Process + + + + + Deserialized.System.Diagnostics.Process + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Id + Handles + CPU + Name + + + + + + PSConfiguration + + Name + Id + PriorityClass + FileVersion + + + + PSResources + + Name + Id + Handlecount + WorkingSet + NonPagedMemorySize + PagedMemorySize + PrivateMemorySize + VirtualMemorySize + Threads.Count + TotalProcessorTime + + + + + + System.Management.ManagementObject#root\cli\Msft_CliAlias + + + PSStandardMembers + + + DefaultDisplayPropertySet + + FriendlyName + PWhere + Target + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_BaseBoard + + + PSStatus + + Status + Name + PoweredOn + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Model + Name + SerialNumber + SKU + Product + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_BIOS + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SMBIOSBIOSVersion + Manufacturer + Name + SerialNumber + Version + + + + + + PSStatus + + Status + Name + Caption + SMBIOSPresent + + + + + + System.Management.ManagementObject#root\cimv2\Win32_BootConfiguration + + + PSStatus + + Name + SettingID + ConfigurationPath + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BootDirectory + Name + SettingID + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_CDROMDrive + + + PSStatus + + Availability + Drive + ErrorCleared + MediaLoaded + NeedsCleaning + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Drive + Manufacturer + VolumeName + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_ComputerSystem + + + PSStatus + + AdminPasswordStatus + BootupState + ChassisBootupState + KeyboardPasswordStatus + PowerOnPasswordStatus + PowerSupplyState + PowerState + FrontPanelResetStatus + ThermalState + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Domain + Manufacturer + Model + Name + PrimaryOwnerName + TotalPhysicalMemory + + + + + + POWER + + Name + PowerManagementCapabilities + PowerManagementSupported + PowerOnPasswordStatus + PowerState + PowerSupplyState + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_PROCESSOR + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + DeviceID + Manufacturer + MaxClockSpeed + Name + SocketDesignation + + + + + + PSStatus + + Availability + CpuStatus + CurrentVoltage + DeviceID + ErrorCleared + ErrorDescription + LastErrorCode + LoadPercentage + Status + StatusInfo + + + + PSConfiguration + + AddressWidth + DataWidth + DeviceID + ExtClock + L2CacheSize + L2CacheSpeed + MaxClockSpeed + PowerManagementSupported + ProcessorType + Revision + SocketDesignation + Version + VoltageCaps + + + + + + System.Management.ManagementObject#root\cimv2\Win32_ComputerSystemProduct + + + PSStatus + + Name + Version + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + IdentifyingNumber + Name + Vendor + Version + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\CIM_DataFile + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Compressed + Encrypted + Size + Hidden + Name + Readable + System + Version + Writeable + + + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_DCOMApplication + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AppID + InstallDate + Name + + + + + + PSStatus + + Name + Status + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_DESKTOP + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + ScreenSaverActive + ScreenSaverSecure + ScreenSaverTimeout + SettingID + + + + + + PSStatus + + Name + ScreenSaverActive + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_DESKTOPMONITOR + + + PSConfiguration + + DeviceID + Name + PixelsPerXLogicalInch + PixelsPerYLogicalInch + ScreenHeight + ScreenWidth + + + + PSStatus + + DeviceID + IsLocked + LastErrorCode + Name + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + DisplayType + MonitorManufacturer + Name + ScreenHeight + ScreenWidth + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_DeviceMemoryAddress + + + PSStatus + + Status + Name + MemoryType + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + MemoryType + Name + Status + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_DiskDrive + + + PSStatus + + ConfigManagerErrorCode + LastErrorCode + NeedsCleaning + Status + DeviceID + StatusInfo + Partitions + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Partitions + DeviceID + Model + Size + Caption + + + + + + PSConfiguration + + BytesPerSector + ConfigManagerUserConfig + DefaultBlockSize + DeviceID + Index + InstallDate + InterfaceType + MaxBlockSize + MaxMediaSize + MinBlockSize + NumberOfMediaSupported + Partitions + SectorsPerTrack + Size + TotalCylinders + TotalHeads + TotalSectors + TotalTracks + TracksPerCylinder + + + + + + System.Management.ManagementObject#root\cimv2\Win32_DiskQuota + + + PSStatus + + __PATH + Status + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DiskSpaceUsed + Limit + QuotaVolume + User + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_DMAChannel + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AddressSize + DMAChannel + MaxTransferSize + Name + Port + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Environment + + + PSStatus + + Status + Name + SystemVariable + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + VariableValue + Name + UserName + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Directory + + + PSStatus + + Status + Compressed + Encrypted + Name + Readable + Writeable + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Hidden + Archive + EightDotThreeFileName + FileSize + Name + Compressed + Encrypted + Readable + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Group + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Domain + Name + SID + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_IDEController + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Name + ProtocolSupported + Status + StatusInfo + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_IRQResource + + + PSStatus + + Status + Caption + Availability + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Hardware + IRQNumber + Name + Shareable + TriggerLevel + TriggerType + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_ScheduledJob + + + PSStatus + + Status + JobId + JobStatus + ElapsedTime + StartTime + Owner + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + JobId + Name + Owner + Priority + Command + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_LoadOrderGroup + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + GroupOrder + Name + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_LogicalDisk + + + PSStatus + + Status + Availability + DeviceID + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + DriveType + ProviderName + FreeSpace + Size + VolumeName + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_LogonSession + + + PSStatus + + __PATH + Status + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AuthenticationPackage + LogonId + LogonType + Name + StartTime + Status + + + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_CACHEMEMORY + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BlockSize + CacheSpeed + CacheType + DeviceID + InstalledSize + Level + MaxCacheSize + NumberOfBlocks + Status + + + + + + ERROR + + DeviceID + ErrorCorrectType + + + + PSStatus + + Availability + DeviceID + Status + StatusInfo + + + + PSConfiguration + + BlockSize + CacheSpeed + CacheType + DeviceID + InstalledSize + Level + MaxCacheSize + NumberOfBlocks + Status + WritePolicy + + + + + + System.Management.ManagementObject#root\cimv2\Win32_LogicalMemoryConfiguration + + + PSStatus + + AvailableVirtualMemory + Name + TotalVirtualMemory + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + TotalVirtualMemory + TotalPhysicalMemory + TotalPageFileSpace + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PhysicalMemoryArray + + + PSStatus + + Status + Name + Replaceable + Location + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Model + Name + MaxCapacity + MemoryDevices + + + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_NetworkClient + + + PSStatus + + Name + Status + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + InstallDate + Manufacturer + Name + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NetworkLoginProfile + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Privileges + Profile + UserId + UserType + Workstations + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NetworkProtocol + + + FULLXXX + + ConnectionlessService + Description + GuaranteesDelivery + GuaranteesSequencing + InstallDate + MaximumAddressSize + MaximumMessageSize + MessageOriented + MinimumAddressSize + Name + PseudoStreamOriented + Status + SupportsBroadcasting + SupportsConnectData + SupportsDisconnectData + SupportsEncryption + SupportsExpeditedData + SupportsFragmentation + SupportsGracefulClosing + SupportsGuaranteedBandwidth + SupportsMulticasting + SupportsQualityofService + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + GuaranteesDelivery + GuaranteesSequencing + ConnectionlessService + Status + Name + + + + + + PSStatus + + Name + Status + SupportsBroadcasting + SupportsConnectData + SupportsDisconnectData + SupportsEncryption + SupportsExpeditedData + SupportsFragmentation + SupportsGracefulClosing + SupportsGuaranteedBandwidth + SupportsMulticasting + SupportsQualityofService + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NetworkConnection + + + PSStatus + + Status + ConnectionState + Persistent + LocalName + RemoteName + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + LocalName + RemoteName + ConnectionState + Status + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NetworkAdapter + + + PSStatus + + Availability + Name + Status + StatusInfo + DeviceID + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ServiceName + MACAddress + AdapterType + DeviceID + Name + NetworkAddresses + Speed + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NetworkAdapterConfiguration + + + PSStatus + + DHCPLeaseExpires + Index + Description + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DHCPEnabled + IPAddress + DefaultIPGateway + DNSDomain + ServiceName + Description + Index + + + + + + DHCP + + Description + DHCPEnabled + DHCPLeaseExpires + DHCPLeaseObtained + DHCPServer + Index + + + + DNS + + Description + DNSDomain + DNSDomainSuffixSearchOrder + DNSEnabledForWINSResolution + DNSHostName + DNSServerSearchOrder + DomainDNSRegistrationEnabled + FullDNSRegistrationEnabled + Index + + + + IP + + Description + Index + IPAddress + IPConnectionMetric + IPEnabled + IPFilterSecurityEnabled + + + + WINS + + Description + Index + WINSEnableLMHostsLookup + WINSHostLookupFile + WINSPrimaryServer + WINSScopeID + WINSSecondaryServer + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NTDomain + + + PSStatus + + Status + DomainName + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ClientSiteName + DcSiteName + Description + DnsForestName + DomainControllerAddress + DomainControllerName + DomainName + Roles + Status + + + + + + GUID + + DomainName + DomainGuid + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NTLogEvent + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Category + CategoryString + EventCode + EventIdentifier + TypeEvent + InsertionStrings + LogFile + Message + RecordNumber + SourceName + TimeGenerated + TimeWritten + Type + UserName + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_NTEventlogFile + + + PSStatus + + Status + LogfileName + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + FileSize + LogfileName + Name + NumberOfRecords + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_OnBoardDevice + + + PSStatus + + Status + Description + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceType + SerialNumber + Enabled + Description + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_OperatingSystem + + + PSStatus + + Status + Name + + + + FREE + + FreePhysicalMemory + FreeSpaceInPagingFiles + FreeVirtualMemory + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SystemDirectory + Organization + BuildNumber + RegisteredUser + SerialNumber + Version + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PageFileUsage + + + PSStatus + + Status + Name + CurrentUsage + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + PeakUsage + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PageFileSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + MaximumSize + Name + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_DiskPartition + + + PSStatus + + Index + Status + StatusInfo + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + NumberOfBlocks + BootPartition + Name + PrimaryPartition + Size + Index + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PortResource + + + PSStatus + + NetConnectionStatus + Status + Name + StartingAddress + EndingAddress + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + Alias + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PortConnector + + + PSStatus + + Status + Name + ExternalReferenceDesignator + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Tag + ConnectorType + SerialNumber + ExternalReferenceDesignator + PortType + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Printer + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Location + Name + PrinterState + PrinterStatus + ShareName + SystemName + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PrinterConfiguration + + + PSStatus + + DriverVersion + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + PrintQuality + DriverVersion + Name + PaperSize + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PrintJob + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Document + JobId + JobStatus + Owner + Priority + Size + Name + + + + + + PSStatus + + Document + JobId + JobStatus + Name + PagesPrinted + Status + JobIdCopy + Name + + + + + + System.Management.ManagementObject#root\cimv2\Win32_ProcessXXX + + + PSStatus + + Status + Name + ProcessId + + + + MEMORY + + Handle + MaximumWorkingSetSize + MinimumWorkingSetSize + Name + PageFaults + PageFileUsage + PeakPageFileUsage + PeakVirtualSize + PeakWorkingSetSize + PrivatePageCount + QuotaNonPagedPoolUsage + QuotaPagedPoolUsage + QuotaPeakNonPagedPoolUsage + QuotaPeakPagedPoolUsage + VirtualSize + WorkingSetSize + + + + IO + + Name + ProcessId + ReadOperationCount + ReadTransferCount + WriteOperationCount + WriteTransferCount + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ThreadCount + HandleCount + Name + Priority + ProcessId + WorkingSetSize + + + + + + STATISTICS + + HandleCount + Name + KernelModeTime + MaximumWorkingSetSize + MinimumWorkingSetSize + OtherOperationCount + OtherTransferCount + PageFaults + PageFileUsage + PeakPageFileUsage + PeakVirtualSize + PeakWorkingSetSize + PrivatePageCount + ProcessId + QuotaNonPagedPoolUsage + QuotaPagedPoolUsage + QuotaPeakNonPagedPoolUsage + QuotaPeakPagedPoolUsage + ReadOperationCount + ReadTransferCount + ThreadCount + UserModeTime + VirtualSize + WorkingSetSize + WriteOperationCount + WriteTransferCount + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Product + + + PSStatus + + Name + Version + InstallState + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + IdentifyingNumber + Name + Vendor + Version + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_QuickFixEngineering + + + InstalledOn + + if ([environment]::osversion.version.build -ge 7000) + { + # WMI team fixed the formatting issue related to InstalledOn + # property in Windows7 (to return string)..so returning the WMI's + # version directly + [DateTime]::Parse($this.psBase.properties["InstalledOn"].Value) + } + else + { + $orig = $this.psBase.properties["InstalledOn"].Value + $date = [datetime]::FromFileTimeUTC($("0x" + $orig)) + if ($date -lt "1/1/1980") + { + if ($orig -match "([0-9]{4})([01][0-9])([012][0-9])") + { + new-object datetime @([int]$matches[1], [int]$matches[2], [int]$matches[3]) + } + } + else + { + $date + } + } + + + + PSStatus + + __PATH + Status + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Description + FixComments + HotFixID + InstallDate + InstalledBy + InstalledOn + Name + ServicePackInEffect + Status + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_QuotaSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + DefaultLimit + SettingID + State + VolumePath + DefaultWarningLimit + + + + + + PSStatus + + State + VolumePath + Caption + + + + + + System.Management.ManagementObject#root\cimv2\Win32_OSRecoveryConfiguration + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DebugFilePath + Name + SettingID + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Registry + + + PSStatus + + Status + CurrentSize + MaximumSize + ProposedSize + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + CurrentSize + MaximumSize + Name + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SCSIController + + + PSStatus + + Status + Name + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DriverName + Manufacturer + Name + ProtocolSupported + Status + StatusInfo + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_PerfRawData_PerfNet_Server + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + LogonPerSec + LogonTotal + Name + ServerSessions + WorkItemShortages + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Service + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ExitCode + Name + ProcessId + StartMode + State + Status + + + + + + PSStatus + + Name + Status + ExitCode + + + + PSConfiguration + + DesktopInteract + ErrorControl + Name + PathName + ServiceType + StartMode + + + + + + System.Management.ManagementObject#root\cimv2\Win32_Share + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + Path + Description + + + + + + PSStatus + + Status + Type + Name + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SoftwareElement + + + PSStatus + + Status + SoftwareElementState + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + Path + SerialNumber + SoftwareElementID + Version + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SoftwareFeature + + + PSStatus + + Status + Name + InstallState + LastUse + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + IdentifyingNumber + ProductName + Vendor + Version + + + + + + + + System.Management.ManagementObject#root\cimv2\WIN32_SoundDevice + + + PSStatus + + ConfigManagerUserConfig + Name + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Name + Status + StatusInfo + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_StartupCommand + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Command + User + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SystemAccount + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Domain + Name + SID + + + + + + PSStatus + + Status + SIDType + Name + Domain + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SystemDriver + + + PSStatus + + Status + Name + State + ExitCode + Started + ServiceSpecificExitCode + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DisplayName + Name + State + Status + Started + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SystemEnclosure + + + PSStatus + + Tag + Status + Name + SecurityStatus + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Model + LockPresent + SerialNumber + SMBIOSAssetTag + SecurityStatus + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_SystemSlot + + + PSStatus + + Status + SlotDesignation + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SlotDesignation + Tag + SupportsHotPlug + Status + Shared + PMESignal + MaxDataWidth + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_TapeDrive + + + PSStatus + + Status + Availability + DeviceID + NeedsCleaning + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + Id + Manufacturer + Name + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_TemperatureProbe + + + PSStatus + + Status + CurrentReading + DeviceID + Name + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + CurrentReading + Name + Description + MinReadable + MaxReadable + Status + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_TimeZone + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Bias + SettingID + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_UninterruptiblePowerSupply + + + PSStatus + + Status + DeviceID + EstimatedChargeRemaining + EstimatedRunTime + Name + StatusInfo + TimeOnBackup + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + EstimatedRunTime + Name + TimeOnBackup + UPSPort + Caption + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_UserAccount + + + PSStatus + + Status + Caption + PasswordExpires + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AccountType + Caption + Domain + SID + FullName + Name + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_VoltageProbe + + + PSStatus + + Status + DeviceID + Name + NominalReading + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Status + Description + CurrentReading + MaxReadable + MinReadable + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_VolumeQuotaSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Element + Setting + + + + + + + + System.Management.ManagementObject#root\cimv2\Win32_WMISetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BuildVersion + Caption + DatabaseDirectory + EnableEvents + LoggingLevel + SettingID + + + + + + + + System.Management.ManagementObject + + + ConvertToDateTime + + + + ConvertFromDateTime + + + + + + System.Security.AccessControl.ObjectSecurity + + + Path + + Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase + GetPath + + + + Owner + + Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase + GetOwner + + + + Group + + Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase + GetGroup + + + + Access + + Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase + GetAccess + + + + Sddl + + Microsoft.PowerShell.Commands.SecurityDescriptorCommandsBase + GetSddl + + + + AccessToString + + $toString = ""; + $first = $true; + if ( ! $this.Access ) { return "" } + foreach($ace in $this.Access) + { + if($first) + { + $first = $false; + } + else + { + $tostring += "`n"; + } + $toString += $ace.IdentityReference.ToString(); + $toString += " "; + $toString += $ace.AccessControlType.ToString(); + $toString += " "; + if($ace -is [System.Security.AccessControl.FileSystemAccessRule]) + { + $toString += $ace.FileSystemRights.ToString(); + } + elseif($ace -is [System.Security.AccessControl.RegistryAccessRule]) + { + $toString += $ace.RegistryRights.ToString(); + } + } + return $toString; + + + + AuditToString + + $toString = ""; + $first = $true; + if ( ! (& { Set-StrictMode -Version 1; $this.audit }) ) { return "" } + foreach($ace in (& { Set-StrictMode -Version 1; $this.audit })) + { + if($first) + { + $first = $false; + } + else + { + $tostring += "`n"; + } + $toString += $ace.IdentityReference.ToString(); + $toString += " "; + $toString += $ace.AuditFlags.ToString(); + $toString += " "; + if($ace -is [System.Security.AccessControl.FileSystemAuditRule]) + { + $toString += $ace.FileSystemRights.ToString(); + } + elseif($ace -is [System.Security.AccessControl.RegistryAuditRule]) + { + $toString += $ace.RegistryRights.ToString(); + } + } + return $toString; + + + + + + Microsoft.PowerShell.Commands.HistoryInfo + + + PSStandardMembers + + + DefaultKeyPropertySet + + Id + + + + + + + + System.Management.ManagementClass + + + Name + __Class + + + + + System.Management.Automation.Runspaces.PSSession + + + State + $this.Runspace.RunspaceStateInfo.State + + + IdleTimeout + $this.Runspace.ConnectionInfo.IdleTimeout + + + OutputBufferingMode + $this.Runspace.ConnectionInfo.OutputBufferingMode + + + DisconnectedOn + $this.Runspace.DisconnectedOn + + + ExpiresOn + $this.Runspace.ExpiresOn + + + + + System.Guid + + + Guid + $this.ToString() + + + + + System.Management.Automation.Signature + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + System.Management.Automation.Job + + + PSStandardMembers + + + SerializationDepth + 2 + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + HasMoreData + StatusMessage + Location + Command + JobStateInfo + InstanceId + Id + Name + State + ChildJobs + PSJobTypeName + PSBeginTime + PSEndTime + + + + + + State + $this.JobStateInfo.State.ToString() + + + + + System.Management.Automation.JobStateInfo + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.JobStateInfo + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + Microsoft.PowerShell.DeserializingTypeConverter + + Microsoft.PowerShell.DeserializingTypeConverter + + + + System.Net.Mail.MailAddress + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Net.Mail.MailAddress + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Globalization.CultureInfo + + + PSStandardMembers + + + SerializationDepth + 1 + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + LCID + Name + DisplayName + IetfLanguageTag + ThreeLetterISOLanguageName + ThreeLetterWindowsLanguageName + TwoLetterISOLanguageName + + + + + + + + Deserialized.System.Globalization.CultureInfo + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.PSCredential + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.PSCredential + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.PSPrimitiveDictionary + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.PSPrimitiveDictionary + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.SwitchParameter + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.SwitchParameter + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.PSListModifier + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + Deserialized.System.Management.Automation.PSListModifier + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Security.Cryptography.X509Certificates.X509Certificate2 + + + PSStandardMembers + + + SerializationDepth + 1 + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + RawData + + + + + + + + Deserialized.System.Security.Cryptography.X509Certificates.X509Certificate2 + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Security.Cryptography.X509Certificates.X500DistinguishedName + + + PSStandardMembers + + + SerializationDepth + 1 + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + RawData + + + + + + + + Deserialized.System.Security.Cryptography.X509Certificates.X500DistinguishedName + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Security.AccessControl.RegistrySecurity + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Security.AccessControl.RegistrySecurity + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Security.AccessControl.FileSystemSecurity + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Security.AccessControl.FileSystemSecurity + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + HelpInfo + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + System.Management.Automation.PSTypeName + + + PSStandardMembers + + + SerializationMethod + String + + + StringSerializationSource + Name + + + + + + + System.Management.Automation.ParameterMetadata + + + PSStandardMembers + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + Name + ParameterType + Aliases + IsDynamic + SwitchParameter + + + + + + + + System.Management.Automation.CommandInfo + + + Namespace + ModuleName + + + HelpUri + + $oldProgressPreference = $ProgressPreference + $ProgressPreference = 'SilentlyContinue' + try + { + if ($psversiontable.psversion.Major -lt 3) + { + # ok to cast CommandTypes enum to HelpCategory because string/indentifier for + # cmdlet,function,filter,alias,externalscript is identical. + # it is ok to fail for other enum values (i.e. for Application) + $commandName = $this.Name + if ($this.ModuleName) + { + $commandName = "{0}\{1}" -f $this.ModuleName,$commandName + } + + $helpObject = get-help -Name $commandName -Category ([string]($this.CommandType)) -ErrorAction SilentlyContinue + + # return first non-null uri (and try not to hit any strict mode things) + if ($helpObject -eq $null) { return $null } + if ($helpObject.psobject.properties['relatedLinks'] -eq $null) { return $null } + if ($helpObject.relatedLinks.psobject.properties['navigationLink'] -eq $null) { return $null } + $helpUri = [string]$( $helpObject.relatedLinks.navigationLink | %{ if ($_.psobject.properties['uri'] -ne $null) { $_.uri } } | ?{ $_ } | select -first 1 ) + return $helpUri + } + else + { + [Microsoft.PowerShell.Commands.GetHelpCodeMethods]::GetHelpUri($this) + } + } + catch {} + finally + { + $ProgressPreference = $oldProgressPreference + } + + + + + + System.Management.Automation.ParameterSetMetadata + + + Flags + + Microsoft.PowerShell.DeserializingTypeConverter + GetParameterSetMetadataFlags + + + + PSStandardMembers + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + Position + Flags + HelpMessage + + + + + + + + Deserialized.System.Management.Automation.ParameterSetMetadata + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + Deserialized.System.Management.Automation.ExtendedTypeDefinition + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.ExtendedTypeDefinition + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.FormatViewDefinition + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.FormatViewDefinition + + + InstanceId + + Microsoft.PowerShell.DeserializingTypeConverter + GetFormatViewDefinitionInstanceId + + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.PSControl + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.PSControl + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.DisplayEntry + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.DisplayEntry + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.TableControlColumnHeader + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.TableControlColumnHeader + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.TableControlRow + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.TableControlRow + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.TableControlColumn + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.TableControlColumn + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.ListControlEntry + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.ListControlEntry + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.ListControlEntryItem + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.ListControlEntryItem + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.WideControlEntryItem + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.WideControlEntryItem + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + System.Web.Services.Protocols.SoapException + + + PSMessageDetails + $this.Detail."#text" + + + + + System.Management.Automation.ErrorRecord + + + PSMessageDetails + & { Set-StrictMode -Version 1; $this.Exception.InnerException.PSMessageDetails } + + + + + Deserialized.System.Enum + + + Value + $this.ToString() + + + + + Microsoft.PowerShell.Commands.Internal.Format.FormatInfoData + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.Microsoft.PowerShell.Commands.Internal.Format.FormatInfoData + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + System.Management.ManagementEventArgs + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + Deserialized.System.Management.ManagementEventArgs + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + System.Management.Automation.CallStackFrame + + + Command + + if ($this.InvocationInfo -eq $null) { return $this.FunctionName } + $commandInfo = $this.InvocationInfo.MyCommand + if ($commandInfo -eq $null) { return $this.InvocationInfo.InvocationName } + if ($commandInfo.Name -ne "") { return $commandInfo.Name } + return $this.FunctionName + + + + Location + + $this.GetScriptLocation() + + + + Arguments + + $argumentsBuilder = new-object System.Text.StringBuilder + + $null = $( + $argumentsBuilder.Append("{") + foreach ($entry in $this.InvocationInfo.BoundParameters.GetEnumerator()) + { + if ($argumentsBuilder.Length -gt 1) + { + $argumentsBuilder.Append(", "); + } + + $argumentsBuilder.Append($entry.Key).Append("=") + + if ($entry.Value) + { + $argumentsBuilder.Append([string]$entry.Value) + } + } + + foreach ($arg in $this.InvocationInfo.UnboundArguments.GetEnumerator()) + { + if ($argumentsBuilder.Length -gt 1) + { + $argumentsBuilder.Append(", ") + } + if ($arg) + { + $argumentsBuilder.Append([string]$arg) + } + else + { + $argumentsBuilder.Append('$null') + } + } + + $argumentsBuilder.Append('}'); + ) + + return $argumentsBuilder.ToString(); + + + + + + Microsoft.PowerShell.Commands.PSSessionConfigurationCommands#PSSessionConfiguration + + + Permission + + trap { continue; } + $private:sd = $null + $private:sd = new-object System.Security.AccessControl.CommonSecurityDescriptor $false,$false,$this.SecurityDescriptorSddl + if ($private:sd) + { + # reset trap + trap { } + $private:dacls = ""; + $private:first = $true + $private:sd.DiscretionaryAcl | % { + trap { } + if ($private:first) + { + $private:first = $false; + } + else + { + $private:dacls += ", " + } + $private:dacls += $_.SecurityIdentifier.Translate([System.Security.Principal.NTAccount]).ToString() + " " + $_.AceType + } # end of foreach + + return $private:dacls + } + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PingStatus + + + IPV4Address + + $iphost = [System.Net.Dns]::GetHostEntry($this.address) + $iphost.AddressList | ?{ $_.AddressFamily -eq [System.Net.Sockets.AddressFamily]::InterNetwork } | select -first 1 + + + + IPV6Address + + $iphost = [System.Net.Dns]::GetHostEntry($this.address) + $iphost.AddressList | ?{ $_.AddressFamily -eq [System.Net.Sockets.AddressFamily]::InterNetworkV6 } | select -first 1 + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Process + + + ProcessName + Name + + + Handles + Handlecount + + + VM + VirtualSize + + + WS + WorkingSetSize + + + Path + $this.ExecutablePath + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ProcessId + Name + HandleCount + WorkingSetSize + VirtualSize + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Msft_CliAlias + + + PSStandardMembers + + + DefaultDisplayPropertySet + + FriendlyName + PWhere + Target + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_BaseBoard + + + PSStatus + + Status + Name + PoweredOn + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Model + Name + SerialNumber + SKU + Product + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_BIOS + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SMBIOSBIOSVersion + Manufacturer + Name + SerialNumber + Version + + + + + + PSStatus + + Status + Name + Caption + SMBIOSPresent + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_BootConfiguration + + + PSStatus + + Name + SettingID + ConfigurationPath + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BootDirectory + Name + SettingID + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_CDROMDrive + + + PSStatus + + Availability + Drive + ErrorCleared + MediaLoaded + NeedsCleaning + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Drive + Manufacturer + VolumeName + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ComputerSystem + + + PSStatus + + AdminPasswordStatus + BootupState + ChassisBootupState + KeyboardPasswordStatus + PowerOnPasswordStatus + PowerSupplyState + PowerState + FrontPanelResetStatus + ThermalState + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Domain + Manufacturer + Model + Name + PrimaryOwnerName + TotalPhysicalMemory + + + + + + POWER + + Name + PowerManagementCapabilities + PowerManagementSupported + PowerOnPasswordStatus + PowerState + PowerSupplyState + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_PROCESSOR + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + DeviceID + Manufacturer + MaxClockSpeed + Name + SocketDesignation + + + + + + PSStatus + + Availability + CpuStatus + CurrentVoltage + DeviceID + ErrorCleared + ErrorDescription + LastErrorCode + LoadPercentage + Status + StatusInfo + + + + PSConfiguration + + AddressWidth + DataWidth + DeviceID + ExtClock + L2CacheSize + L2CacheSpeed + MaxClockSpeed + PowerManagementSupported + ProcessorType + Revision + SocketDesignation + Version + VoltageCaps + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ComputerSystemProduct + + + PSStatus + + Name + Version + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + IdentifyingNumber + Name + Vendor + Version + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/CIM_DataFile + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Compressed + Encrypted + Size + Hidden + Name + Readable + System + Version + Writeable + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DCOMApplication + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AppID + InstallDate + Name + + + + + + PSStatus + + Name + Status + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOP + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + ScreenSaverActive + ScreenSaverSecure + ScreenSaverTimeout + SettingID + + + + + + PSStatus + + Name + ScreenSaverActive + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_DESKTOPMONITOR + + + PSConfiguration + + DeviceID + Name + PixelsPerXLogicalInch + PixelsPerYLogicalInch + ScreenHeight + ScreenWidth + + + + PSStatus + + DeviceID + IsLocked + LastErrorCode + Name + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + DisplayType + MonitorManufacturer + Name + ScreenHeight + ScreenWidth + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DeviceMemoryAddress + + + PSStatus + + Status + Name + MemoryType + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + MemoryType + Name + Status + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskDrive + + + PSStatus + + ConfigManagerErrorCode + LastErrorCode + NeedsCleaning + Status + DeviceID + StatusInfo + Partitions + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Partitions + DeviceID + Model + Size + Caption + + + + + + PSConfiguration + + BytesPerSector + ConfigManagerUserConfig + DefaultBlockSize + DeviceID + Index + InstallDate + InterfaceType + MaxBlockSize + MaxMediaSize + MinBlockSize + NumberOfMediaSupported + Partitions + SectorsPerTrack + Size + TotalCylinders + TotalHeads + TotalSectors + TotalTracks + TracksPerCylinder + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskQuota + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DiskSpaceUsed + Limit + QuotaVolume + User + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DMAChannel + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AddressSize + DMAChannel + MaxTransferSize + Name + Port + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Environment + + + PSStatus + + Status + Name + SystemVariable + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + VariableValue + Name + UserName + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Directory + + + PSStatus + + Status + Compressed + Encrypted + Name + Readable + Writeable + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Hidden + Archive + EightDotThreeFileName + FileSize + Name + Compressed + Encrypted + Readable + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Group + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Domain + Name + SID + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IDEController + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Name + ProtocolSupported + Status + StatusInfo + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_IRQResource + + + PSStatus + + Status + Caption + Availability + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Hardware + IRQNumber + Name + Shareable + TriggerLevel + TriggerType + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ScheduledJob + + + PSStatus + + Status + JobId + JobStatus + ElapsedTime + StartTime + Owner + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + JobId + Name + Owner + Priority + Command + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LoadOrderGroup + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + GroupOrder + Name + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogicalDisk + + + PSStatus + + Status + Availability + DeviceID + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + DriveType + ProviderName + FreeSpace + Size + VolumeName + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogonSession + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AuthenticationPackage + LogonId + LogonType + Name + StartTime + Status + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_CACHEMEMORY + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BlockSize + CacheSpeed + CacheType + DeviceID + InstalledSize + Level + MaxCacheSize + NumberOfBlocks + Status + + + + + + ERROR + + DeviceID + ErrorCorrectType + + + + PSStatus + + Availability + DeviceID + Status + StatusInfo + + + + PSConfiguration + + BlockSize + CacheSpeed + CacheType + DeviceID + InstalledSize + Level + MaxCacheSize + NumberOfBlocks + Status + WritePolicy + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_LogicalMemoryConfiguration + + + PSStatus + + AvailableVirtualMemory + Name + TotalVirtualMemory + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + TotalVirtualMemory + TotalPhysicalMemory + TotalPageFileSpace + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PhysicalMemoryArray + + + PSStatus + + Status + Name + Replaceable + Location + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Model + Name + MaxCapacity + MemoryDevices + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_NetworkClient + + + PSStatus + + Name + Status + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + InstallDate + Manufacturer + Name + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkLoginProfile + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Privileges + Profile + UserId + UserType + Workstations + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkProtocol + + + FULLXXX + + ConnectionlessService + Description + GuaranteesDelivery + GuaranteesSequencing + InstallDate + MaximumAddressSize + MaximumMessageSize + MessageOriented + MinimumAddressSize + Name + PseudoStreamOriented + Status + SupportsBroadcasting + SupportsConnectData + SupportsDisconnectData + SupportsEncryption + SupportsExpeditedData + SupportsFragmentation + SupportsGracefulClosing + SupportsGuaranteedBandwidth + SupportsMulticasting + SupportsQualityofService + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + GuaranteesDelivery + GuaranteesSequencing + ConnectionlessService + Status + Name + + + + + + PSStatus + + Name + Status + SupportsBroadcasting + SupportsConnectData + SupportsDisconnectData + SupportsEncryption + SupportsExpeditedData + SupportsFragmentation + SupportsGracefulClosing + SupportsGuaranteedBandwidth + SupportsMulticasting + SupportsQualityofService + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkConnection + + + PSStatus + + Status + ConnectionState + Persistent + LocalName + RemoteName + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + LocalName + RemoteName + ConnectionState + Status + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapter + + + PSStatus + + Availability + Name + Status + StatusInfo + DeviceID + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ServiceName + MACAddress + AdapterType + DeviceID + Name + NetworkAddresses + Speed + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NetworkAdapterConfiguration + + + PSStatus + + DHCPLeaseExpires + Index + Description + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DHCPEnabled + IPAddress + DefaultIPGateway + DNSDomain + ServiceName + Description + Index + + + + + + DHCP + + Description + DHCPEnabled + DHCPLeaseExpires + DHCPLeaseObtained + DHCPServer + Index + + + + DNS + + Description + DNSDomain + DNSDomainSuffixSearchOrder + DNSEnabledForWINSResolution + DNSHostName + DNSServerSearchOrder + DomainDNSRegistrationEnabled + FullDNSRegistrationEnabled + Index + + + + IP + + Description + Index + IPAddress + IPConnectionMetric + IPEnabled + IPFilterSecurityEnabled + + + + WINS + + Description + Index + WINSEnableLMHostsLookup + WINSHostLookupFile + WINSPrimaryServer + WINSScopeID + WINSSecondaryServer + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NTDomain + + + PSStatus + + Status + DomainName + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ClientSiteName + DcSiteName + Description + DnsForestName + DomainControllerAddress + DomainControllerName + DomainName + Roles + Status + + + + + + GUID + + DomainName + DomainGuid + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NTLogEvent + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Category + CategoryString + EventCode + EventIdentifier + TypeEvent + InsertionStrings + LogFile + Message + RecordNumber + SourceName + TimeGenerated + TimeWritten + Type + UserName + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_NTEventlogFile + + + PSStatus + + Status + LogfileName + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + FileSize + LogfileName + Name + NumberOfRecords + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OnBoardDevice + + + PSStatus + + Status + Description + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceType + SerialNumber + Enabled + Description + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OperatingSystem + + + PSStatus + + Status + Name + + + + FREE + + FreePhysicalMemory + FreeSpaceInPagingFiles + FreeVirtualMemory + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SystemDirectory + Organization + BuildNumber + RegisteredUser + SerialNumber + Version + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PageFileUsage + + + PSStatus + + Status + Name + CurrentUsage + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + PeakUsage + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PageFileSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + MaximumSize + Name + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_DiskPartition + + + PSStatus + + Index + Status + StatusInfo + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + NumberOfBlocks + BootPartition + Name + PrimaryPartition + Size + Index + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PortResource + + + PSStatus + + NetConnectionStatus + Status + Name + StartingAddress + EndingAddress + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + Alias + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PortConnector + + + PSStatus + + Status + Name + ExternalReferenceDesignator + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Tag + ConnectorType + SerialNumber + ExternalReferenceDesignator + PortType + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Printer + + + PSStatus + + Status + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Location + Name + PrinterState + PrinterStatus + ShareName + SystemName + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PrinterConfiguration + + + PSStatus + + DriverVersion + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + PrintQuality + DriverVersion + Name + PaperSize + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PrintJob + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Document + JobId + JobStatus + Owner + Priority + Size + Name + + + + + + PSStatus + + Document + JobId + JobStatus + Name + PagesPrinted + Status + JobIdCopy + Name + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_ProcessXXX + + + PSStatus + + Status + Name + ProcessId + + + + MEMORY + + Handle + MaximumWorkingSetSize + MinimumWorkingSetSize + Name + PageFaults + PageFileUsage + PeakPageFileUsage + PeakVirtualSize + PeakWorkingSetSize + PrivatePageCount + QuotaNonPagedPoolUsage + QuotaPagedPoolUsage + QuotaPeakNonPagedPoolUsage + QuotaPeakPagedPoolUsage + VirtualSize + WorkingSetSize + + + + IO + + Name + ProcessId + ReadOperationCount + ReadTransferCount + WriteOperationCount + WriteTransferCount + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ThreadCount + HandleCount + Name + Priority + ProcessId + WorkingSetSize + + + + + + STATISTICS + + HandleCount + Name + KernelModeTime + MaximumWorkingSetSize + MinimumWorkingSetSize + OtherOperationCount + OtherTransferCount + PageFaults + PageFileUsage + PeakPageFileUsage + PeakVirtualSize + PeakWorkingSetSize + PrivatePageCount + ProcessId + QuotaNonPagedPoolUsage + QuotaPagedPoolUsage + QuotaPeakNonPagedPoolUsage + QuotaPeakPagedPoolUsage + ReadOperationCount + ReadTransferCount + ThreadCount + UserModeTime + VirtualSize + WorkingSetSize + WriteOperationCount + WriteTransferCount + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Product + + + PSStatus + + Name + Version + InstallState + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + IdentifyingNumber + Name + Vendor + Version + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuickFixEngineering + + + InstalledOn + + if ([environment]::osversion.version.build -ge 7000) + { + # WMI team fixed the formatting issue related to InstalledOn + # property in Windows7 (to return string)..so returning the WMI's + # version directly + [DateTime]::Parse($this.psBase.CimInstanceProperties["InstalledOn"].Value) + } + else + { + $orig = $this.psBase.CimInstanceProperties["InstalledOn"].Value + $date = [datetime]::FromFileTimeUTC($("0x" + $orig)) + if ($date -lt "1/1/1980") + { + if ($orig -match "([0-9]{4})([01][0-9])([012][0-9])") + { + new-object datetime @([int]$matches[1], [int]$matches[2], [int]$matches[3]) + } + } + else + { + $date + } + } + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Description + FixComments + HotFixID + InstallDate + InstalledBy + InstalledOn + Name + ServicePackInEffect + Status + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_QuotaSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + DefaultLimit + SettingID + State + VolumePath + DefaultWarningLimit + + + + + + PSStatus + + State + VolumePath + Caption + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_OSRecoveryConfiguration + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DebugFilePath + Name + SettingID + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Registry + + + PSStatus + + Status + CurrentSize + MaximumSize + ProposedSize + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + CurrentSize + MaximumSize + Name + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SCSIController + + + PSStatus + + Status + Name + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DriverName + Manufacturer + Name + ProtocolSupported + Status + StatusInfo + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_PerfRawData_PerfNet_Server + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + LogonPerSec + LogonTotal + Name + ServerSessions + WorkItemShortages + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Service + + + PSStandardMembers + + + DefaultDisplayPropertySet + + ExitCode + Name + ProcessId + StartMode + State + Status + + + + + + PSStatus + + Name + Status + ExitCode + + + + PSConfiguration + + DesktopInteract + ErrorControl + Name + PathName + ServiceType + StartMode + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_Share + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Name + Path + Description + + + + + + PSStatus + + Status + Type + Name + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SoftwareElement + + + PSStatus + + Status + SoftwareElementState + Name + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Name + Path + SerialNumber + SoftwareElementID + Version + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SoftwareFeature + + + PSStatus + + Status + Name + InstallState + LastUse + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + IdentifyingNumber + ProductName + Vendor + Version + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/WIN32_SoundDevice + + + PSStatus + + ConfigManagerUserConfig + Name + Status + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Name + Status + StatusInfo + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_StartupCommand + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Command + User + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SystemAccount + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Caption + Domain + Name + SID + + + + + + PSStatus + + Status + SIDType + Name + Domain + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SystemDriver + + + PSStatus + + Status + Name + State + ExitCode + Started + ServiceSpecificExitCode + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DisplayName + Name + State + Status + Started + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SystemEnclosure + + + PSStatus + + Tag + Status + Name + SecurityStatus + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Manufacturer + Model + LockPresent + SerialNumber + SMBIOSAssetTag + SecurityStatus + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_SystemSlot + + + PSStatus + + Status + SlotDesignation + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + SlotDesignation + Tag + SupportsHotPlug + Status + Shared + PMESignal + MaxDataWidth + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_TapeDrive + + + PSStatus + + Status + Availability + DeviceID + NeedsCleaning + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + Id + Manufacturer + Name + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_TemperatureProbe + + + PSStatus + + Status + CurrentReading + DeviceID + Name + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + CurrentReading + Name + Description + MinReadable + MaxReadable + Status + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_TimeZone + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Bias + SettingID + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_UninterruptiblePowerSupply + + + PSStatus + + Status + DeviceID + EstimatedChargeRemaining + EstimatedRunTime + Name + StatusInfo + TimeOnBackup + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + DeviceID + EstimatedRunTime + Name + TimeOnBackup + UPSPort + Caption + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_UserAccount + + + PSStatus + + Status + Caption + PasswordExpires + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + AccountType + Caption + Domain + SID + FullName + Name + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_VoltageProbe + + + PSStatus + + Status + DeviceID + Name + NominalReading + StatusInfo + + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Status + Description + CurrentReading + MaxReadable + MinReadable + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_VolumeQuotaSetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + Element + Setting + + + + + + + + Microsoft.Management.Infrastructure.CimInstance#root/cimv2/Win32_WMISetting + + + PSStandardMembers + + + DefaultDisplayPropertySet + + BuildVersion + Caption + DatabaseDirectory + EnableEvents + LoggingLevel + SettingID + + + + + + + + + Microsoft.Management.Infrastructure.CimClass + + + CimClassName + + [OutputType([string])] + param() + $this.PSBase.CimSystemProperties.ClassName + + + + + + + Microsoft.Management.Infrastructure.CimCmdlets.CimIndicationEventInstanceEventArgs + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + + System.Management.Automation.Breakpoint + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.Breakpoint + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + + System.Management.Automation.BreakpointUpdatedEventArgs + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + Deserialized.System.Management.Automation.BreakpointUpdatedEventArgs + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + + System.Management.Automation.DebuggerCommand + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.DebuggerCommand + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + + System.Management.Automation.DebuggerCommandResults + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.DebuggerCommandResults + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.PowerShell.Linux.Host/typesv3.ps1xml b/src/Microsoft.PowerShell.Linux.Host/typesv3.ps1xml new file mode 100644 index 0000000000..affb4a8dcc --- /dev/null +++ b/src/Microsoft.PowerShell.Linux.Host/typesv3.ps1xml @@ -0,0 +1,387 @@ + + + + System.Security.Cryptography.X509Certificates.X509Certificate2 + + + EnhancedKeyUsageList + + ,(new-object Microsoft.Powershell.Commands.EnhancedKeyUsageProperty -argumentlist $this).EnhancedKeyUsageList; + + + + DnsNameList + + ,(new-object Microsoft.Powershell.Commands.DnsNameProperty -argumentlist $this).DnsNameList; + + + + SendAsTrustedIssuer + + [Microsoft.Powershell.Commands.SendAsTrustedIssuerProperty]::ReadSendAsTrustedIssuerProperty($this) + + + $sendAsTrustedIssuer = $args[0] + [Microsoft.Powershell.Commands.SendAsTrustedIssuerProperty]::WriteSendAsTrustedIssuerProperty($this,$this.PsPath,$sendAsTrustedIssuer) + + + + + + System.Management.Automation.Remoting.PSSenderInfo + + + ConnectedUser + + $this.UserInfo.Identity.Name + + + + RunAsUser + + if($this.UserInfo.WindowsIdentity -ne $null) + { + $this.UserInfo.WindowsIdentity.Name + } + + + + + + System.Management.Automation.CompletionResult + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.CompletionResult + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.CommandCompletion + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.CommandCompletion + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + Microsoft.PowerShell.Commands.ModuleSpecification + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.Microsoft.PowerShell.Commands.ModuleSpecification + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.JobStateEventArgs + + + PSStandardMembers + + + SerializationDepth + 2 + + + + + + + Deserialized.System.Management.Automation.JobStateEventArgs + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Exception + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + System.Management.Automation.Remoting.PSSessionOption + + + PSStandardMembers + + + SerializationDepth + 1 + + + + + + + Deserialized.System.Management.Automation.Remoting.PSSessionOption + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + System.Management.Automation.DebuggerStopEventArgs + + + SerializedInvocationInfo + + Microsoft.PowerShell.DeserializingTypeConverter + GetInvocationInfo + + + + PSStandardMembers + + + SerializationDepth + 2 + + + SerializationMethod + SpecificProperties + + + PropertySerializationSet + + Breakpoints + ResumeAction + SerializedInvocationInfo + + + + + + + + Deserialized.System.Management.Automation.DebuggerStopEventArgs + + + PSStandardMembers + + + TargetTypeForDeserialization + Microsoft.PowerShell.DeserializingTypeConverter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/System.Management.Automation/project.json b/src/System.Management.Automation/project.json index 67aec56bbd..e3c88b374c 100644 --- a/src/System.Management.Automation/project.json +++ b/src/System.Management.Automation/project.json @@ -80,7 +80,7 @@ } }, - "compile" : [ + "compile": [ "../windows-build/gen/SYS_AUTO/*.cs", "../monad/monad/src/CoreCLR/CorePsPlatform.cs" ],