From 9a2a8555e3942f37436490f2faea6c7bb80201a5 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 10 Feb 2016 12:38:00 -0800 Subject: [PATCH] Copy ps1xml files into tree to use `content` This allows us to remove the duplicated copying steps from our Windows and Linux build scripts. These files are already distributed to users of Windows, and so are not "source code." --- build.ps1 | 19 - build.sh | 20 - .../Certificate.format.ps1xml | 289 + .../Diagnostics.format.ps1xml | Bin 0 -> 5074 bytes .../DotNetTypes.format.ps1xml | 3453 +++++++++ .../Event.format.ps1xml | Bin 0 -> 10144 bytes .../FileSystem.format.ps1xml | Bin 0 -> 25526 bytes .../Help.format.ps1xml | 2235 ++++++ .../HelpV3.format.ps1xml | 2760 +++++++ .../PowerShellCore.format.ps1xml | Bin 0 -> 206468 bytes .../PowerShellTrace.format.ps1xml | 91 + .../Registry.format.ps1xml | Bin 0 -> 8458 bytes .../WSMan.format.ps1xml | Bin 0 -> 16598 bytes .../project.json | 17 + .../types.ps1xml | 6869 +++++++++++++++++ .../typesv3.ps1xml | 387 + src/System.Management.Automation/project.json | 2 +- 17 files changed, 16102 insertions(+), 40 deletions(-) create mode 100644 src/Microsoft.PowerShell.Linux.Host/Certificate.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/Diagnostics.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/DotNetTypes.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/Event.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/FileSystem.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/Help.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/HelpV3.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/PowerShellCore.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/PowerShellTrace.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/Registry.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/WSMan.format.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/types.ps1xml create mode 100644 src/Microsoft.PowerShell.Linux.Host/typesv3.ps1xml 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 0000000000000000000000000000000000000000..6c6fc81f1ba54d9c10c3239bd0cf1f8136169590 GIT binary patch literal 5074 zcmeHL+fExX5S`~r{fAV2F7%?lts?aTZKM_uLGZlI1tKLO+AKo+eA{zujO|^IS*lb; zp<1o>HZwkR=6LMn*Uv&e$)zl1Dl<8kE2*TE8uxtHm*?_KdgkDrdn)9Gyu#6wm-ie! zIhBFz$r)@vv1{#*Q4}?%H4&%7uwO$6MBGfujV%F|2pw3%=D2)bu9$DXgno>k;12+vhek zIj;kR&5_+B8^TX}DI4&UXyKL7*g z=h9%HGW&)->V!B_-?fOekNJNXH=AZwSLE8{)}7-N3!IUE!cx0xZ{#%&ve%_%n#qmNFYqKD%)3NC!d#0yVP!e^lt6%rjI+{aYfE%tLE3l-;x7?;RIDn!jPICioN4GqA5M+qs^<>C%59!GQCIf`;4|iwr}qe zuL=85BK!CNdgOk_^4Z)$HFXklnckzcJ>q`Cb(TA_$F?sC*PnL}Sd;9$-{dOUR<`R# z;R@AOtefLnFYD%Q^ZCz)W0O1U?O-F;Rj3B7pNC3{JGs`C9c#L$wg!05?b_`eqSNu0 z6@TM!4=_UStMG=^_`Bjbva;XXU=2imNTM~r>69uoTyrM73FrQg|ERXWv&-?aa;XiGaghW>BeZ@a&( AL;wH) literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1b8f45b06976f28223d21cc15786ebb6c3a7a247 GIT binary patch literal 10144 zcmeHNZEw>s5Wdey{D+F~Y!nGJq_7EA1d}#E+XSCW*L4$VHZ9#7KOXj+-NP?QT&HP= zN~5W`jqS&GkI(nw@aK0zJ9I~5N~uFPG^8ua>6|Voqqp>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.Host/FileSystem.format.ps1xml b/src/Microsoft.PowerShell.Linux.Host/FileSystem.format.ps1xml new file mode 100644 index 0000000000000000000000000000000000000000..9d2f16693f874314c69419a0756136f283b95fab GIT binary patch literal 25526 zcmeHPYi}dB73J3y=zmb1en^5{Z4$Iduuv7qkKHxul>}SaZIK3rYHJ-Mek?3)S|ixM z-sBuoH@qB?BhKh$X9dHW84h`Q@3{|NayawL|6Ar8^FMQCE=|MyWJc!JjLn6)G1umA zX2*PCn&xvH8@O|APEme_yVvI2-hF2#=8bu5zP2^KF>TcQqxpkrnLnZQF|Izl7k}hw zV19rMWBfPpJA}k2y&~Qxw$`Q908u`-wMRg{VfIn0fwCLWq7H~Y&&U3mh*|-Z0Z7iSIB>O$t8 zIYzAx?Dr7oU0cr9eU$giE0nSo>+hfz?~wWqj<0dX-g>}sV6Qu9b8P7k%s){=u6pRh z^~sXIqYZn1gw`)Wm+cSGrh(so*gg+H{bbrBd1HT0ibGra$d+^=&k_3FxAdN)Y-c|(t7G)}Vk%t+{ThK*Jo7?z634eLvDxxk#l$x?Jmv_ z(Ib&K#@PvUBhr3rd2rgJJgjwMxgFq0&S)p(r)#C$v$UM`h*kK$95ta`M;>xQ9%!fR zn>?iYIi7mM{TLZO1E(CR+S751zRu{u$nY-kcUOZx&%YLAWR!AI(?tZ9Fy4kW=eLO0 z_wBlfI*g%hSc)5|P7uAu=xc=X!8C@B!P669FLkLCp;0`xRIBpdrKNA-d(d1oq4yp% zyAKX!EMdI7L%EB_zy+&t7vxU{vYiU&amkWI5H3QN#O!N8kCx1lqiT#iwxz>xEbdH95AF zrHbCPJ&C1^!O?Tu^E-^dF8|VbK)%gO&vI-5HRfv*NOgsCm-jgt%Xt?H#bZeE0CrEz zF5smp%!(9J*Kx{siAa;8k}40WA5P;+Jq*%)JOdUvu_;AiUU>_aKe8Dc{r?Q-#J_F+ zV&h``p7y?Z^mFg81I;2YjLsv>;+U;=U~SAjuP_H;HZQT3vpMZyO^nu@I}GjYL2~pa z+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e{}r>!SD)^Ek%$_sb0~{>ZF$J9CQp zO?lb6a=>&<)#D2FnXXwiVra=jONnJdG7|S{|Xw-zxx0H literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ab726c2ab585b6419576cc455d33f82455d5361b GIT binary patch literal 206468 zcmeHw`F9=1m0tg9pOgOqra3WXThM0DOdOaF7g1t{i$YRTaumge2nggD1ZebwK=>waCg>h8C0ZU688?sb3ae(YX!$K6i%eRtTMc4yu5?qzq< z{js~!ebDW8@5^;ZemUu$%JT#H^`tv8zkb)9ci(pJcK>SL_)~Yi`%m4^yS?rg^6XtH z^XrZHpiNJ@XM(|*{O!p9eZlvYV2rzO1s{AnlkdRqL~zu&8FHMO9f%Su_1?~CF+=1GU&0EKY{-E)ZdHYc4zSG^7 zw|3;&OMwLrfcE%?R-v`eq-7`pJXjlX0IYLU-%G*6{{GzD6XPAjExR%a0b=z8{R*a68H}}usDE9JKYUwDfGs{f)t@0pxLR>rvsrV>b2BCfc(!|n@t zic)z0ioAti0R4(wzm#vN?V-@|iMhWaWgZ#$PrCmlPtdA|QirV*PyS8Hp!VNN=}!eN z%6}|ncI5y6Gz345p6?#7K^*)>2J-G2ZGN%srR;l_lZ2a`KA>Qq(-#no+*bG z+SWgj=Z-?4gAW(@==P&FU~AidU+x}Bou9tJ?uOKN*VJJ#wKRQC-bRb>$Zt;sPm2rg z?eiP*+h?X0Q2Um&_@21~oj#MhNAmxn!5-YdYbfXVIh2F<1s3Ro)_?|}oTWFY{Xo9o zl^Q{bNAm5l@P^oaZrWhE2Ym3>W7FCvaz)D^Cuq+DgXJv)%SsQW!qsJ=5%w5-&=Rx( za*DdqhEzR|-e|*Sc!pm~OW~=k-?H+zCzOMgf|WcH`=zy>@7XtD0rmu2*eh#4t!=;) zSYG#b{!RZq`|bm=HL#r5MUr7p_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F0x3yo*p6rMnY4+sjA|c~G ztFb4!aSE=bv%URv9(4UJ)$c zwmj>})Y0C#e&*2VC**tW{gnP*Otz-LW1IbKUd*prj$NFbUJS=MC<%(To_L=IEwlGj z`T=7+6m=By6#H@JRES~Rn)g-P)xVADc2MdC@Xb+Yi?5sb7~@gPjkpHX9Z~*6q_ag8j}~JVUs=FTt^ zJJeqI5XaiI9F*Ev-j54P>ugb@%l4D*yvF2zOgxWukoFWx%(vZ_Ii80dX3l*hGoOyc zhoKeQJKHvoo#kmbyEjHzQeE>TJx7&qhu6@ymLwooeoUl5cwsx{jN0|A#Je&^42tPz zIqI@~;WgZC6fkwnJ`QGVZ(4ZpBk|zlcCYQXd%OAqnordE`T2(#h|6&h8HTaD4__qy zVGJ9i1)#?gS~zA$E W;5}Ot-Z+v>#i_))+{MD?KmR{|*4sb; literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c6320f78119b9ac4dfc60238796d831fb1a07092 GIT binary patch literal 8458 zcmd6sYi}Dx6o%(B68~Yb`XMQe0~91wEv=kO8>^{f*=`F0giO3mBAg4c(~E$=4!qA9 zPj+^FiS5KtS@zD(<(&7tbLPyM@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Ao# zYgx`6a+Y~=jH18bhxzOlrOmsi#uD*r_MQuQ&9dtv$HTf0-WJY_^Rg79ip#ORljJXl zI@Ulroe{~2|J&DDP>9R;McHRV+wCwFJ?`#p{;wEa_1W;AWkv?&M&fF!-el*W}oDK6I8;H1bIJC9HeGm88{%jA1 z2iI@pT=7ZYw~YIyuip_r{sx8jfxcuoZ*3PN%UOkO@r|bEnfww>+)$HAZpboDNd5-Y zx3q8z_afrNeQs-}BG&m-)Z?!e zaefywNnBh-Oj%XDy;<&}dt*`Ja=ZU58S~^L#qslG`iuzYx#G?kx6Hc7pr6+?{ePW* E0lhB_`Tzg` literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..8e34497aa5b889b37ce0862a0ab62774556da940 GIT binary patch literal 16598 zcmeHOZEq7t5Z=#~`X8?FrA3gG(n?k3f=mct5p2sgg?@BnCq!}_WSge^`L@q9<6(F2 zZqMhS5M!(;zP-J9pV^t&J^R0Z8}5<&$DO;0%iP~?>}GE6&fJBYy5HR`ci-)~A92m_ zWa^GFKf=?gJC&#J-NK!?d+t|(c;p_sZ{0Vp;l9J%J>cBgh(F3SaBrc(9RC?UhtT&O zH0Iq2^x}9 z(C24zZyIOfEz+EU!ZDyHkehtFVv(WfLwk)Q4tagbb)mk;u*o@a)uyx{?Q8Nc!0nw- zrbV7%v_RB6$901F%)P?rNNhjG{8Q0deepzQhk#K(WZ*)Z&<^xc(K~yhEBPD%@*OzO z0C@@v(w^T#(jRbriMeAuxq!~J8lMq<1`K{O4pawPDRWIo%5~#uF^VV$Z8nqjG=fFR zSFJsOel7Ss!+#U}y6(sw;_kq8;BAhYu8mO!s5W%&xE`RIh~E~*ZJ8%_7xNwW2WE*y z_*;PD6H>p0>uZe2tphs_*2E_ z+SB_jv7Gnkx*mK9TC@+Pp$%v`wKuKZ#<&HJv_uc1K73=^z7iSKd(?+eeUWy6Du@}>+aKE35?*o?|>2a>WLM?QqzJ|J%_Fg}Ns-r#fc z@p_0c=QWq!mb|qN@|ehue2Sft$4_G`*U%c~`&IfIf2F_^gOPaSAv(-o#3$ig-g<^jF0qZ)lRt0a z^{|WD+seJV_78BHM(pd>KDJ!w?Nqdcw(22LF0rHII;ztFdLPA@sjTn)>oLRVtW#y` z(x{GZPbHlrEauJo9qg=%Sv`%Pif+$473F4!)jEXUE3@Qk3Y4Z%ktt1kM%K;g8pm~+ zrm6T={X$FEi`AH8j8oOA#F4ElskrYV_08#3Xiq(>c_&hdvpDm z+N(S#*SD5ZNo!#}2Uk%V>bm_Jui>(|NUh~!RK+VgwJu|hG0wL2o=0*bQMR)(?-y6@ zCU%@@J$8NO>B>%n5x+Y(W4_>SJUk`ZotrT>LW`vGeVjGJJRSC3#cZNhr`^lzSv_p^ zT-Z(bRa*Rt?66y|dVzhHukpxQ}#; zar*jd9qQ+L(_Pj1gxy{-j^nN;)Y97_t^grSReg_lZa?kb`OAJ*?HzX4>sB)J*eV*; zzV=ko6+MjqG*nd#kV{-e%d}lB>GkUx$N0@@yV_b+yPz0**X8h=ii|k>ErX61ID066 zw|`rp`MWs&s*msfd6LOr1WqK5ZABC#b`wuwKULdZ7xeX>)iQR%bzqTy^00?9J_qD5sq&RQ;-wa9Z8dztQ|3_A>zu literal 0 HcmV?d00001 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" ],