A continuación os mostramos todos los términos de glosario (wiki) de Comandos PowerShell.

Alfabético

 

Todos los términos

  • Add-WindowsFeature
    Permite instalar roles, características y servicios en Windows Server desde la línea de comandos. SINTAXIS Add-WindowsFeature [-Name] <string[]> [-IncludeAllSubFeature] [-logPath <string>] [-WhatIf] [-Restart] [-Concurrent] [<CommonParameters>] PARÁMETROS INTERESANTES Name: nombre de la característica o rol a instalar. Restart: si es necesario el reinicio del equipo tras la instalación del rol o característica, al añadir este parámetro […]
  • Compare-Object
    Compara dos objetos. Devuelve vacío si sin iguales y las líneas no coincidentes si son diferentes. SINTAXIS Compare-Object [-ReferenceObject] <PSObject[]> [-DifferenceObject] <PSObject[]> [-CaseSensitive] [-Culture <String> ] [-ExcludeDifferent] [-IncludeEqual] [-PassThru] [-Property <Object[]> ] [-SyncWindow <Int32> ] [ <CommonParameters>] PARÁMETROS INTERESANTES CaseSensitive: tiene en cuenta mayúsculas y minúsculas en la comparación. IncludeEqual: muestra las coincidencias. EJEMPLO DE […]
  • Get-EventLog
    Obtiene los eventos del visor de eventos de Windows. Permite obtener eventos de cualquier registro: aplicación, sistema, seguridad, instalación, etc. y de cualquier tipo: error, información, advertencia, etc. SINTAXIS Parameter Set: LogName Get-EventLog [-LogName] <String> [[-InstanceId] <Int64[]> ] [-After <DateTime> ] [-AsBaseObject] [-Before <DateTime> ] [-ComputerName <String[]> ] [-EntryType <String[]> ] [-Index <Int32[]> ] [-Message […]
  • Get-FileHash
    Obtiene el hash de un fichero, admite los algoritmos SHA1, SHA256, SHA384, SHA512, MACTripleDES, MD5 y RIPEMD160. SINTAXIS Parameter Set: Path Get-FileHash [-Path] <String[]> [-Algorithm <String> ] [ <CommonParameters>] Parameter Set: LiteralPath Get-FileHash -LiteralPath <String[]> [-Algorithm <String> ] [ <CommonParameters>] PARÁMETROS INTERESANTES -Algorithm<String>: algoritmo a utilizar para obtene el hash, los disponibles: SHA1, SHA256, SHA384, […]
  • Get-WindowsFeature
    Muestra un listado con todas las características instaladas y disponibles para instalación en un equipo Windows Server 2012, muestra también el nombre interno y si está instalada actualmente o no. SINTAXIS Get-WindowsFeature [[-Name] <String[]> ] [-ComputerName <String> ] [-Credential <PSCredential> ] [-LogPath <String> ] [-Vhd <String> ] [ <CommonParameters>] PARÁMETROS INTERESANTES LogPath: para guardar el […]
  • 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 […]
  • Out-File
    Guarda en un fichero la salida de un comando PowerShell. SINTAXIS Parameter Set: ByPath Out-File [-FilePath] <String> [[-Encoding] <String> ] [-Append] [-Force] [-InputObject <PSObject> ] [-NoClobber] [-Width <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] Parameter Set: ByLiteralPath Out-File [[-Encoding] <String> ] -LiteralPath <String> [-Append] [-Force] [-InputObject <PSObject> ] [-NoClobber] [-Width <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>] […]
  • Rename-Computer
    Cambiar el nombre (hostname, nombre DNS) de un PC. SINTAXIS Parameter Set: Default Rename-Computer [-NewName] <String> [-ComputerName <String> ] [-DomainCredential <PSCredential> ] [-Force] [-LocalCredential <PSCredential> ] [-PassThru] [-Restart] [-Confirm] [-WhatIf] [ <CommonParameters>] PARÁMETROS INTERESANTES -NewName<String>: nuevo nombre que se asignará al equipo. -ComputarName<String>: permite cambiar el nombre a un equipo de la red, con este […]
  • Write-EventLog
    Añade un nuevo registro al visor de sucesos de Windows. SINTAXIS Parameter Set: Default Write-EventLog [-LogName] [-Source] [-EventId] [[-EntryType] ] [-Message] [-Category ] [-ComputerName ] [-RawData ] [ ] Parameter Set: List Get-EventLog [-AsString] [-ComputerName ] [-List] [ ] PARÁMETROS INTERESANTES Category<Int16>: categoría del evento. ComputerName<String>: nombre (hostname o nombre dns o IP) del equipo […]