# encoding: utf-8 # api: xml # title: wmifx get-pingstatushelp # description: Content of the Get-PingStatus-Help.xml file uploaded for Kirk for troubleshooting reasons # version: 1.1.0.9 # type: script # author: Andreas # license: CC0 # x-poshcode-id: 3541 # x-archived: 2012-07-31T01:39:10 # x-published: 2012-07-26T03:26:00 # # See http://wmix.codeplex.com/discussions/388893 # Get-PingStatus Gets instances of Win32_PingStatus Windows Management Instrumentation (WMI) class. Die Klasse "Win32_PingStatus" enthält Werte, die vom Standardpingbefehl zurückgegeben werden. Get PingStatus The Get-PingStatus command gets instances of Win32_PingStatus WMI class. Die Klasse "Win32_PingStatus" enthält Werte, die vom Standardpingbefehl zurückgegeben werden. Weitere Informationen über Ping erhalten Sie unter RFC 791. The ComputerName parameter can always be used to specify a remote computer. The Get-PingStatus command does not use the Windows PowerShell remoting infrastructure to perform remote operations. You can use the ComputerName parameter of the Get-PingStatus command even if your computer does not meet the requirements for Windows PowerShell remoting and even if your computer is not configured for remoting in Windows PowerShell. Get-PingStatus Address Specifies Address as a filter. Die Eigenschaft "Address" enthält den Wert der angeforderten Adresse. Dies kann der Hostname ('wxyz1234') oder die IP-Adresse ('193.128.177.124') sein. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. String[] Property String[] BufferSize Specifies BufferSize as a filter. Die Eigenschaft "BufferSize" zeigt die mit dem Pingbefehl gesendete Puffergröße an. Der Standardwert beträgt 32. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] NoFragmentation Specifies NoFragmentation as a filter. Die Eigenschaft "NoFragmentation" bestimmt, ob gesendete Pakete fragmentiert werden. Der Standardwert ist False: nicht fragmentieren. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. Boolean[] RecordRoute Specifies RecordRoute as a filter. Die Eigenschaft "RecordRoute" bestimmt, wie viele Hops während der Paketweiterleitung aufgezeichnet werden. Der Standardwert ist 0. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] ResolveAddressNames Specifies ResolveAddressNames as a filter. Die Eigenschaft "ResolveAddressesNames" gibt an, ob der Befehl Adressnamen von Ausgabeadresswerten auflöst. Der Standardwert ist False - keine Auflösung. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. Boolean[] SourceRoute Specifies SourceRoute as a filter. Die Eigenschaft "SourceRoute" enthält eine durch Trennzeichen getrennte Liste gültiger Quellrouten. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. String[] SourceRouteType Specifies SourceRouteType as a filter. Die Eigenschaft "SourceRouteType" gibt den Typ der in der Hostliste zu verwendeten Quellrouteoption an, der in der Eigenschaft "SourceRoute" angegeben ist. Falls ein Wert außerhalb von "ValueMap" angegeben wird, wird der Wert 0 verwendet. Der Standardwert ist null. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] Timeout Specifies Timeout as a filter. Die Eigenschaft "Timeout" zeigt den Zeitüberschreitungswert in Millisekunden an. Falls keine Antwort in dieser Zeit empfangen wurde, wird davon ausgegangen, dass keine Antwort gesendet wurde. Der Standardwert beträgt 4000 Millisekunden. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] TimestampRoute Specifies TimestampRoute as a filter. Die Eigenschaft "TimestampRoute" gibt an, wie viele Hops mit den Zeitstempelinformationen aufgezeichnet werden, während das Paket unterwegs ist. Ein Zeitstempel ist die Anzahl der Millisekunden, die seit dem Mitternachts-UT verstrichen sind. Falls die Dauer nicht in Millisekunden oder nicht im Verhältnis zum Mitternachts-UT angezeigt werden kann, kann irgendeine Dauer in den Zeitstempel eingefügt werden, solange das hochwertige Bit des Zeitstempelfelds auf eins gesetzt ist, was auf einen nicht standardmäßigen Wert verweist. Der Standardwert ist null. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] TimeToLive Specifies TimeToLive as a filter. Die Eigenschaft "TimeToLive" zeigt die Gültigkeitsdauer des Pingpakets in Sekunden an. Dies ist der höhere und kein absoluter Grenzwert, da alle Router diesen Wert um eins herunterstufen MÜSSEN und Hops zwischen Routern selten soviel Zeit benötigen. Falls dieser Wert auf 0 gesetzt wird, wird das Paket vom Router verworfen. Der Standardwert beträgt 80 Sekunden. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] TypeofService Specifies TypeofService as a filter. Die Eigenschaft "TypeOfService" verweist auf abstrakte Parameter des gewünschten QoS (Quality of Service). Diese Parameter sollten die Auswahl der tatsächlichen Dienstparameter beim Übertragen eines Datagramms über ein bestimmtes Netzwerk erleichtern. Der Standardwert ist 0. Bits 0-2: Vorrang. Bit 3: 0 = Normale Verzögerung, 1 = Kurze Verzögerung. Bits 4: 0 = Normaler Durchsatz, 1 = Hoher Durchsatz. Bits 5: 0 = Normale Verlässlichkeit, 1 = Hohe Verlässlichkeit. Bit 6-7: Reserviert. Vorrang 111 - Netzwerksteuerung 110 - Interne Netzwerksteuerung 101 - CRITIC/ECP 100 - Flashaußerkraftsetzung 011 - Flash 010 - Sofort 001 - Priorität 000 - Routine Eine detaillierte Beschreibung der verschiedenen Diensttypen erhalten Sie in RFC 791, Seite 12. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] SearchProperty Specifies individual properties and specific values to use as a filter. Supports exact matches or wildcards. When multiple properties are provided, only objects matching all conditions will be returned. When multiple values are provided for a single property, any of those values will result in a match. Hashtable Credential PSCredential ThrottleLimit Int32 EnableAllPrivileges SwitchParameter Authority String ComputerName String[] Filter String Impersonation ImpersonationLevel JobName Specifies a friendly name for the background job. By default, jobs are named "Job<n>", where <n> is an ordinal number. If you use the JobName parameter in a command, the command is run as a job, and Get-PingStatus returns a job object, even if you do not include the AsJob parameter in the command. For more information about Windows PowerShell background jobs, see about_Jobs (http://go.microsoft.com/fwlink/?LinkID=113251). String AsJob SwitchParameter ResolveAddressNames Specifies ResolveAddressNames as a filter. Die Eigenschaft "ResolveAddressesNames" gibt an, ob der Befehl Adressnamen von Ausgabeadresswerten auflöst. Der Standardwert ist False - keine Auflösung. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. Boolean[] Boolean[] SourceRoute Specifies SourceRoute as a filter. Die Eigenschaft "SourceRoute" enthält eine durch Trennzeichen getrennte Liste gültiger Quellrouten. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. String[] String[] RecordRoute Specifies RecordRoute as a filter. Die Eigenschaft "RecordRoute" bestimmt, wie viele Hops während der Paketweiterleitung aufgezeichnet werden. Der Standardwert ist 0. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] BufferSize Specifies BufferSize as a filter. Die Eigenschaft "BufferSize" zeigt die mit dem Pingbefehl gesendete Puffergröße an. Der Standardwert beträgt 32. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] NoFragmentation Specifies NoFragmentation as a filter. Die Eigenschaft "NoFragmentation" bestimmt, ob gesendete Pakete fragmentiert werden. Der Standardwert ist False: nicht fragmentieren. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. Boolean[] Boolean[] SourceRouteType Specifies SourceRouteType as a filter. Die Eigenschaft "SourceRouteType" gibt den Typ der in der Hostliste zu verwendeten Quellrouteoption an, der in der Eigenschaft "SourceRoute" angegeben ist. Falls ein Wert außerhalb von "ValueMap" angegeben wird, wird der Wert 0 verwendet. Der Standardwert ist null. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] TypeofService Specifies TypeofService as a filter. Die Eigenschaft "TypeOfService" verweist auf abstrakte Parameter des gewünschten QoS (Quality of Service). Diese Parameter sollten die Auswahl der tatsächlichen Dienstparameter beim Übertragen eines Datagramms über ein bestimmtes Netzwerk erleichtern. Der Standardwert ist 0. Bits 0-2: Vorrang. Bit 3: 0 = Normale Verzögerung, 1 = Kurze Verzögerung. Bits 4: 0 = Normaler Durchsatz, 1 = Hoher Durchsatz. Bits 5: 0 = Normale Verlässlichkeit, 1 = Hohe Verlässlichkeit. Bit 6-7: Reserviert. Vorrang 111 - Netzwerksteuerung 110 - Interne Netzwerksteuerung 101 - CRITIC/ECP 100 - Flashaußerkraftsetzung 011 - Flash 010 - Sofort 001 - Priorität 000 - Routine Eine detaillierte Beschreibung der verschiedenen Diensttypen erhalten Sie in RFC 791, Seite 12. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] SearchProperty Specifies individual properties and specific values to use as a filter. Supports exact matches or wildcards. When multiple properties are provided, only objects matching all conditions will be returned. When multiple values are provided for a single property, any of those values will result in a match. Hashtable Hashtable TimeToLive Specifies TimeToLive as a filter. Die Eigenschaft "TimeToLive" zeigt die Gültigkeitsdauer des Pingpakets in Sekunden an. Dies ist der höhere und kein absoluter Grenzwert, da alle Router diesen Wert um eins herunterstufen MÜSSEN und Hops zwischen Routern selten soviel Zeit benötigen. Falls dieser Wert auf 0 gesetzt wird, wird das Paket vom Router verworfen. Der Standardwert beträgt 80 Sekunden. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] Timeout Specifies Timeout as a filter. Die Eigenschaft "Timeout" zeigt den Zeitüberschreitungswert in Millisekunden an. Falls keine Antwort in dieser Zeit empfangen wurde, wird davon ausgegangen, dass keine Antwort gesendet wurde. Der Standardwert beträgt 4000 Millisekunden. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] TimestampRoute Specifies TimestampRoute as a filter. Die Eigenschaft "TimestampRoute" gibt an, wie viele Hops mit den Zeitstempelinformationen aufgezeichnet werden, während das Paket unterwegs ist. Ein Zeitstempel ist die Anzahl der Millisekunden, die seit dem Mitternachts-UT verstrichen sind. Falls die Dauer nicht in Millisekunden oder nicht im Verhältnis zum Mitternachts-UT angezeigt werden kann, kann irgendeine Dauer in den Zeitstempel eingefügt werden, solange das hochwertige Bit des Zeitstempelfelds auf eins gesetzt ist, was auf einen nicht standardmäßigen Wert verweist. Der Standardwert ist null. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. UInt32[] UInt32[] Impersonation TODO: Add a parameter description ImpersonationLevel ImpersonationLevel EnableAllPrivileges TODO: Add a parameter description SwitchParameter SwitchParameter AsJob TODO: Add a parameter description SwitchParameter SwitchParameter Property Specifies the property or set of properties to retrieve from the Win32_PingStatus objects. String[] String[] Filter TODO: Add a parameter description String String Authority TODO: Add a parameter description String String JobName Specifies a friendly name for the background job. By default, jobs are named "Job<n>", where <n> is an ordinal number. If you use the JobName parameter in a command, the command is run as a job, and Get-PingStatus returns a job object, even if you do not include the AsJob parameter in the command. For more information about Windows PowerShell background jobs, see about_Jobs (http://go.microsoft.com/fwlink/?LinkID=113251). String String Address Specifies Address as a filter. Die Eigenschaft "Address" enthält den Wert der angeforderten Adresse. Dies kann der Hostname ('wxyz1234') oder die IP-Adresse ('193.128.177.124') sein. Supports exact matches or wildcards. When multiple values are provided, any of those values will result in a match. String[] String[] ComputerName TODO: Add a parameter description String[] String[] Credential TODO: Add a parameter description PSCredential PSCredential ThrottleLimit TODO: Add a parameter description Int32 Int32 None System.Management.ManagementObject#ROOT\cimv2\Win32_PingStatus -------------------------- EXAMPLE 1 -------------------------- PS C:\> Get-PingStatus Description ----------- This command displays information about Win32_PingStatus objects on a computer. -------------------------- EXAMPLE 2 -------------------------- PS C:\> Get-PingStatus -ComputerName 127.0.0.1 Description ----------- This command displays information about Win32_PingStatus objects on the remote computer. It identifies the computer to use by specifying the Internet Protocol (IP) address 127.0.0.1. You can change this IP address to any other valid IP address on your network so that you can display information about the services on that remote computer. By default, the account you are running under must be a member of the local administrators group on the remote computer that you specify. -------------------------- EXAMPLE 3 -------------------------- PS C:\> Get-PingStatus | Format-List * Description ----------- This command displays Win32_PingStatus object information. It displays all the properties of the Win32_PingStatus WMI class, not just the properties that are specified in the Types.ps1xml configuration file. -------------------------- EXAMPLE 4 -------------------------- PS C:\> Get-PingStatus -Credential FABRIKAM\Administrator -ComputerName Fabrikam Description ----------- This command displays Win32_PingStatus object information on a computer named Fabrikam. It specifies a user account name by using the Credential parameter, which causes a dialog box to be displayed in which you enter the corresponding password. -------------------------- EXAMPLE 5 -------------------------- PS C:\> Get-PingStatus -Address c* Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a Address that starts with 'C'. -------------------------- EXAMPLE 6 -------------------------- PS C:\> Get-PingStatus -BufferSize 23 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a BufferSize value of 23. -------------------------- EXAMPLE 7 -------------------------- PS C:\> Get-PingStatus -NoFragmentation e* Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a NoFragmentation that starts with 'E'. -------------------------- EXAMPLE 8 -------------------------- PS C:\> Get-PingStatus -RecordRoute 76 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a RecordRoute value of 76. -------------------------- EXAMPLE 9 -------------------------- PS C:\> Get-PingStatus -ResolveAddressNames e* Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a ResolveAddressNames that starts with 'E'. -------------------------- EXAMPLE 10 -------------------------- PS C:\> Get-PingStatus -SourceRoute h* Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a SourceRoute that starts with 'H'. -------------------------- EXAMPLE 11 -------------------------- PS C:\> Get-PingStatus -SourceRouteType 50 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a SourceRouteType value of 50. -------------------------- EXAMPLE 12 -------------------------- PS C:\> Get-PingStatus -Timeout 67 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a Timeout value of 67. -------------------------- EXAMPLE 13 -------------------------- PS C:\> Get-PingStatus -TimestampRoute 35 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a TimestampRoute value of 35. -------------------------- EXAMPLE 14 -------------------------- PS C:\> Get-PingStatus -TimeToLive 73 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a TimeToLive value of 73. -------------------------- EXAMPLE 15 -------------------------- PS C:\> Get-PingStatus -TypeofService 59 Description ----------- This command displays information about any Win32_PingStatus objects on a computer with a TypeofService value of 59. Get-WmiObject Invoke-WmiMethod Remove-WmiObject Set-WmiInstance