Utilizamos cookies propias y de terceros. Al navegar entendemos que aceptas el uso de cookies. +Info.
Política de cookies
Proyecto AjpdSoft

· Inicio
· Buscar
· Contactar
· Cookies
· Descargas
· Foros
· Historia
· Nosotros
· Temas
· Top 10
· Trucos
· Tutoriales
· Usuario
· Wiki

Get-WmiObject





Obtiene datos de WMI (Windows Management Intrumental). Con WMI podremos obtener datos del equipo: procesador, memoria, BIOS, datos usuario, servicios, discos duros, procesos, eventos, etc.

SINTAXIS

Parameter Set: query
Get-WmiObject [-Class] <String> [[-Property] <String[]> ] [-Amended] [-AsJob] [-Authentication <AuthenticationLevel> ] [-Authority <String> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-DirectRead] [-EnableAllPrivileges] [-Filter <String> ] [-Impersonation <ImpersonationLevel> ] [-Locale <String> ] [-Namespace <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: class
Get-WmiObject [-Amended] [-AsJob] [-Authentication <AuthenticationLevel> ] [-Authority <String> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel> ] [-Locale <String> ] [-Namespace <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: list
Get-WmiObject [[-Class] <String> ] [-Amended] [-AsJob] [-Authentication <AuthenticationLevel> ] [-Authority <String> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel> ] [-List] [-Locale <String> ] [-Namespace <String> ] [-Recurse] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: path
Get-WmiObject [-Amended] [-AsJob] [-Authentication <AuthenticationLevel> ] [-Authority <String> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel> ] [-Locale <String> ] [-Namespace <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: WQLQuery
Get-WmiObject -Query <String> [-Amended] [-AsJob] [-Authentication <AuthenticationLevel> ] [-Authority <String> ] [-ComputerName <String[]> ] [-Credential <PSCredential> ] [-DirectRead] [-EnableAllPrivileges] [-Impersonation <ImpersonationLevel> ] [-Locale <String> ] [-Namespace <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]


PARÁMETROS INTERESANTES

-ComputerName<String>: permite obtener valores WMI de un equipo remoto de la red.
-Filter<String>: permite aplicar filtros WMI con lenguaje WQL.

EJEMPLO DE USO

Get-WmiObject -Class Win32_Processor -Property Description



Comandos PowerShell

Este sitio web NO CONTIENE malware, todos los programas con código fuente aquí. Autor: Alonso Javier Pérez Díaz Google+ Síguenos en Google+