qshinoの日記

Powershell関係と徒然なこと

2021-11-18から1日間の記事一覧

powershell remote on ssh

option for ssh session New-PSSession, Enter-PSSession, and Invoke-Command [-HostName <string>] [-UserName <string>] [-KeyFilePath <string>] sample code Linux to windows Enter-PSSession -HostName WinVM1 -UserName PTestName win to win $session = New-PSSession -Host</string></string></string>…

Enter-PSSession no password

do this $sv="10.0.0.1" $user="poi" $pw = "pass" $pass = ConvertTo-SecureString -AsPlainText $pw -Force $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $user, $pass Enter-PSSession -ComputerName $sv -Cre…

Linux 3D benchmark

memo https://www.howtoforge.com/tutorial/linux-gpu-benchmark/amp/

Windows serial console

windows server bcdedit /store /ems {current} on bcdedit /emssettings EMSPORT:1 EMSBAUDRATE:115200