In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Hyper V server 2012 r2 common powershell commands
·Get network card information
Get-netadapter
Get-netipinterface
·Set DNS address
Set-DnsClientServerAddress -InterfaceAlias NIC NAME -ServerAddresses "1.1.1.1","2.2.2.2"
Note: NIC Name: NIC Name, 1.1.1.1, 2.2.2.2
·NIC aggregation NIC Teaming:
New-NetLbfoTeam -name AdminTeam -TeamMembers VM1,VM2,VM3 -TeamingMode SwitchIndependent -LoadBalancingAlgorithm HyperVPort
Comment: AdminTeam: Name the aggregated NIC, VM1/2/3: Name the aggregated NIC
·Disable IPv6
New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\services\TCPIP6\Parameters -Name DisabledComponents -PropertyType DWord -Value 0xffffffff
·Turn off the firewall
netsh advfirewall set allprofiles state off
·Renaming network cards
Rename-NetAdapter -name "old name" -NewName ""new_name""
·Obtain relevant IP commands
Get-command -module nettcpip
·View/install characters and features
Get-windowsfeature
Install-windowsfeature
·View disk information
Get-disk
·View Services
Get-service
·View system information
Systeminfo
Msinfo32
·Add SNMP components
Add SNMP - "Add-WindowsFeature -Name SNMP-Service -IncludeAllSubFeature -IncludeManagementTools"
·View patches
Get-hotfix
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.