qshinoの日記

Powershell関係と徒然なこと

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

zynq and.petalinux

boot.scr https://tuxengineering.com/blog/2021/09/22/Patching-U-Boot-boot-script-in-Petalinux-2021.1.html 2021.1 changes https://tuxengineering.com/blog/2021/07/17/Upgrading-Petalinux-2021.html mac address https://support.xilinx.com/s/artic…

Servercore commands, hostname etc.

Commands hostname Rename-Computer -ComputerName NAME ライセンス認証 slmgr.vbs -ipk PRODUCTKEY slmgr.vbs -ato proxy netsh winhttp set proxy=PROXY bypass-list="LIST" network get-netipconfiguration get-netipaddress get-netipinterface new-neti…

SSL証明書作成

By powershell Short New-SelfSignedCertificate -DnsName "a.jp" -KeyAlgorithm RSA -KeyLength 2048 -CertStoreLocation "Cert:\LocalMachine\My" -NotAfter (Get-Date).AddYears(10) 上記実行後、下記を実行。 certmgr 中間証明機関→証明書にストアされて…

windows admin center

windows admin center install msiexec /i .msi /qn /L*v log.txt SME_PORT= SSL_CERTIFICATE_OPTION=generate portの標準は6516 自動的に作成された証明書は60日で期限が切れる。 既存証明書を使用する場合 msiexec /i .msi /qn /L*v log.txt SME_PORT= SME…

Enable RDP on ServerCore

ServerCore by RDP Server config SConfig Enable RDP by menu Open port netsh advfirewall firewall set rule group="remote desktop" new enable=Yes connect by rdp