diff options
author | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-03 04:14:45 -0700 |
---|---|---|
committer | Boris Verkhovskiy <boris.verk@gmail.com> | 2024-04-03 04:14:45 -0700 |
commit | ae7197c6a692f9b67e98a721ed5debb582bfa599 (patch) | |
tree | d0dae32f072fa0395754b1b16cdf96a57614231d | |
parent | f5516715c094a7f4ed78f5cfd4099edf112350bd (diff) |
[powershell/*] fix syntax highlighting
-rw-r--r-- | es-es/powershell-es.html.markdown | 6 | ||||
-rw-r--r-- | powershell.html.markdown | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/es-es/powershell-es.html.markdown b/es-es/powershell-es.html.markdown index 9eb35967..5b12b961 100644 --- a/es-es/powershell-es.html.markdown +++ b/es-es/powershell-es.html.markdown @@ -34,7 +34,7 @@ $PSVersionTable Para obtener ayuda: -``` +```powershell # Si necesita encontrar algún comando Get-Command about_* # tiene por abreviación (o alias): gcm Get-Command -Verb Add # lista todos los comandos que tienen por verbo 'Add' @@ -51,7 +51,7 @@ Update-Help # Actualiza la ayuda (debe ser ejecutado en una consola elevada como Acá inicia el tutorial: -``` +```powershell # Como ya lo notó, los comentarios empiezan con # # Ejemplo de un simple hola mundo: @@ -299,7 +299,7 @@ $Shortcut.Save() Configurando el shell -``` +```powershell # $Profile es la ruta completa para su `Microsoft.PowerShell_profile.ps1` # Todo el código alojado allí será ejecutado cuando se ejecuta una nueva sesión de PS if (-not (Test-Path $Profile)) { diff --git a/powershell.html.markdown b/powershell.html.markdown index 2e7539a5..50e1e27e 100644 --- a/powershell.html.markdown +++ b/powershell.html.markdown @@ -677,7 +677,7 @@ Powershell as a Tool: Getting Help: -```Powershell +```powershell # Find commands Get-Command about_* # alias: gcm Get-Command -Verb Add @@ -694,7 +694,7 @@ Update-Help # Run as admin If you are uncertain about your environment: -```Powershell +```powershell Get-ExecutionPolicy -List Set-ExecutionPolicy AllSigned # Execution policies include: @@ -708,7 +708,7 @@ help about_Execution_Policies # for more info $PSVersionTable ``` -```Powershell +```powershell # Calling external commands, executables, # and functions with the call operator. # Exe paths with arguments passed or containing spaces can create issues. |