935893 netsh interface ip add dns nametnic

Info icon This preview shows pages 9–13. Sign up to view the full content.

View Full Document Right Arrow Icon
netsh interface ipv4 set dnsservers "Network Interface Name" static 10.93.58.93 netsh interface ip add dns name="tNIC-HYPAU001MEL0133-MGMT" addr=10.44.133.3 netsh interface ip add dns name="tNIC-HYPAU001MEL0133-MGMT" addr=10.45.133.3 index=2
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
netsh interface ip set address name="tNIC-HYPSG001SIN0024-CSV" source=dhcp set-netadapter –name “xxx” –vlanId 0 New-netIPaddress: Net-Newroute –interfaceindex 12 –nexthop”109.jfjj” –destinationprefix “0.0.0.0/0” To find servers processor details Get-WmiObject -Class win32_bios Get-WmiObject -Class win32_bios –computername x,y,z Get-WmiObject -Class win32_logicaldisk wmic computersystem where name="HYPSG001SIN0025” set AutomaticManagedPagefile=False How to Edit an $variable ?? To find the serial no of Disk : Get-Disk |select Isclusterted,allocatedsize,serialnumber |FT WWN numbers : To find Disk serial number Get-PhysicalDisk Get-PhysicalDisk -FriendlyName physicalDisk13 |FL (FL-Format_list) To find WWn num : Get-InitiatorPort|Format-List WWNN: World Wide Node number WWPN: World Wide port number.
Image of page 10
Get-WMIObject – does not support Pipe line Scripting : While declaring the variable if it is a String write in Quotes $hemu=”hello naz hei” in double quotes $hemu={hello ana hoe} with in parenthesis $hemu=helloanzheo - With out spaces Variable types: String , Integer , If u declare strongly variable [string]$myname=”hemanth” [int]$X =123 If u like to reuse the variable $X=[int]123 $X=”domywork” $computername=read-host “enter computer name”
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
14 nodes . DNSclient $hhost = (Get-WmiObject Win32_Computersystem).Name; Set-DnsClient -InterfaceAlias "tNIC-$hhost-LiveMig" -RegisterThisConnectionsAddress $false Set-DnsClient -InterfaceAlias "tNIC-$hhost-CSV" -RegisterThisConnectionsAddress $false Disable-NetAdapter "$hhost-BCK*" Get-DnsClient Get-NetAdapter Restart-Computer
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern