This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-Type -AssemblyName System.Security; | |
[Text.Encoding]::ASCII.GetString([Security.Cryptography.ProtectedData]::Unprotect([Convert]::FromBase64String((type -raw (Join-Path $env:USERPROFILE foobar))), $null, 'CurrentUser')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTA: Ejecutar comandos sobre POWERSHELL con permisos de Administrador. | |
OpenSSH está incluido con Windows 10, Actualización 1803. | |
#Verificando las caracteristicas | |
$> Get-WindowsCapability -Online | Where-Object -Property Name -Like "OpenSSH*" | |
Name : OpenSSH.Client~~~~0.0.1.0 | |
State : Installed | |
Name : OpenSSH.Server~~~~0.0.1.0 | |
State : NotPresent |