0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Windows Server Coreを構築する上での最低限のコマンド

Last updated at Posted at 2020-05-02

概要

Windows Server Coreを設定する上で、最低限のコマンドについてメモを記載。

環境

・ハイパーバイザ:Hyper-V(Windows 10 1903)
・OS :Window Server 2016

コマンド

netsh advfirewall set allprofiles state off
Uninstall-WindowsFeature -Name Windows-Defender
Rename-Computer -NewName "<ホスト名>" -Force -Restart
setup64.exe /s /v /qn
※VMware Toolsを入れる場合
Get-NetAdapter | Remove-NetIPAddress -confirm:$false
Get-NetAdapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress <IPアドレス> -PrefixLength <Prefix> -DefaultGateway <ゲートウェイ>
Get-NetAdapter | Set-DnsClientServerAddress -ResetServerAddresses -confirm:$false
Get-NetAdapter | Set-DnsClientServerAddress -ServerAddresses <DNSサーバのIPアドレス>
Add-Computer -DomainName <ドメイン名> -Credential administrator
※ポップアップでユーザ、パスワードを入力する。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?