您好,登錄后才能下訂單哦!
? 獲取網(wǎng)卡信息 Get-netadapter
Get-netipinterface
? 設(shè)置DNS地址Set-DnsClientServerAddress -InterfaceAlias NIC NAME -ServerAddresses "1.1.1.1","2.2.2.2"
注釋:NIC Name: 網(wǎng)卡名稱, 1.1.1.1,2.2.2.2
? 網(wǎng)卡聚合NIC Teaming: New-NetLbfoTeam –name AdminTeam –TeamMembers VM1,VM2,VM3 –TeamingMode SwitchIndependent –LoadBalancingAlgorithm HyperVPort
注釋:AdminTeam: 給聚合的網(wǎng)卡取名, VM1/2/3:被聚合的網(wǎng)卡名稱
? 禁用IPv6New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff
? 關(guān)閉防火墻netsh advfirewall set allprofiles state off
? 重命名網(wǎng)卡Rename-NetAdapter –name “old name” –NewName “”new_name“”
? 獲取相關(guān)IP命令Get-command –module nettcpip
? 查看/安裝角色和特性Get-windowsfeature
Install-windowsfeature
? 查看磁盤信息Get-disk
? 查看服務(wù)Get-service
? 查看系統(tǒng)信息Systeminfo
Msinfo32
? 添加SNMP組件Add SNMP - "Add-WindowsFeature -Name SNMP-Service -IncludeAllSubFeature -IncludeManagementTools"
? 查看補(bǔ)丁Get-hotfix
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。