Change speed, duplex, auto negotioation of NIC using Powershell or command line

Hi
I created Hyper-V cluster using nodes with Microsoft Hyper-V server 2012R2. So these nodes don't have GUI. How to change for example NIC speed? I have 1GB NIC but in system autonegotiation use 100MBps? How to force 1gps speed.
This is one of example. Using Power Shell Get/Set-NedAdater commands don't have power to do it.
Thank you for help!
Kind Regards Tomasz

Is this the nic on a VM or on a VM Host?
A physical NIC can usually only be changed by the vendors utilities.  A VM can change NICs in the config file.
This might be helpfulk in deciding:
https://social.technet.microsoft.com/Forums/windowsserver/en-US/8746cfc4-df49-4b12-9e66-81d80605e717/configure-hyperv-vm-nic-speed?forum=winserverhyperv
¯\_(ツ)_/¯

Similar Messages

  • HT1428 How to change the account name in Mac OS X via a command line. I did a type-o on the account name. So instead of it saying "Company" it says "Comany"  for the account logon.

    How to change the account name in Mac OS X via a command line. When I created the account I mistyped the name. I have a management suite where I can execute remote scripts. I would like to run a script that changes the name from oldname to newname.
    None of these Macs have been used currently.
    Thank you,
    Brian

    If user account shortname, see Changing user account shortname

  • Change content of default.aspx for subsites using Powershell

    Hi.
    I need to update the content of the default.aspx of 60+ subsites in a site Collection. I am able to loop all subsites and get the corresponding default.aspx files using a PowerShell snippet like:
    $site = Get-SPSite -WebApplication https://mysite.domain.no/ -Limit All
    $wc = $site.allwebs | where {$_.url.StartsWith(https://mysite.domain.no/sites/blahblah/blahblahblah) }
    foreach ($web in $wc){
    $file = $web.GetFile("default.aspx")
    The problem is I don't know whether to use the Set-Content command-let or an XMLDocument approach.
    I have the file With the correct content on the local machine. I tried With $file.Parentfolder in order to use
    $f = $web.GetFolder($file.ParentFolder)
    $fc = $f.files
    Get-ChildItem "C:\temp\default.aspx" | foreach {
    $spFileCollection.add($($_.Name),$_.OpenRead(), $true)
    to replace the file but this gives an error on empty folder. Can I use this approach or is there a way to change the actual content of the file?

    Hi Jorgen,
    According to your description, my understanding is that you want to update the page content using PowerShell.
    I suggest you read the content data like below:
    $data = $file.OpenBinary()
    $encode = New-Object System.Text.ASCIIEncoding
    $test = $encode.GetString($data)
    Then you can change the string you want, and then you can save it using SaveBinary() method.
    Here are some detailed articles for your reference:
    Reading the contents of a SharePoint library file using PowerShell
    Using powershell to read/modify/rewrite sharepoint xml document
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Starting Managed Server using Node Manager Command Line

    Hi,
    I've configured the Node Manager and it is connected to the Admin Server without problem. Now I wanted to start the Managed Server through the console but it is failing and my guess is the command line used syntax is not correct.
    My question is, how do I change the command line that Node Manager uses to start the Managed Server? I've try using the Server Start tab configuration and it seems like not working. I've also try to update the .properties file for the Managed Server as well.
    Each time I look at the Managed Server logs, it is giving me this line...
    NodeManager> <Starting WebLogic server with command line: <....>
    The command line shown in the logs are not what I've put in the .properties file or the Server Start tab. It is taken from somewhere and I'm not sure where. I just want to configure the command line that Node Manager uses to start a Managed Server.
    Hopefully, I'm clear with my problem and someone might be able to assist. Thanks.

    Great stuff!!
    It actually solved my problem. Thanks.
    Am just wondering why it didn't work using option 1)? If anyone somehow knows the reason, if not at least it did work for me now.

  • Including files/resources using the ADT command line

    Hi all,
    I'm trying to get file support into my ADT helper tool before I release an update.  I am still having problems.
    According to the Adobe docs on the subject, the following commands can be used:
    -C "path/to/new/working/directory" [files and folders to include]
    -e [files and folders to include] [package directory to add these to]
    The following example works fine for me:
    // This changes the working directory to my audio resources folder, and then packages the file 'track.mp3' into the root folder of my application package.
    -C "C:\\resources\audio" "track.mp3"
    Hoiwever using -e option in any way generates an error:
    // This copies the file 'sfx.mp3' from the current working directory to the application package subdirectory 'lib'
    -e sfx.mp3 lib
    This also causes an error:
    // Change the working directory to resources/audio and then copy the file called 'sfx.mp3' to the 'lib' subfolder of the application package. Error.
    -C "C:\\resources\audio" -e sfx.mp3 lib
    The error in both cases is:
    File does not exist: sfx.mp3
    Any ideas how I can use the -e option?  Does the working directory not come in to it - do i always have to use an absolute path to my file?
    Thanks in advance,
    Peter

    Not sure if it will help in your situation, but I just include files by adding the filepath at the end of my adt command line (no -e or -c). Eg (included files or bolded):
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\Users\t.randall\Documents\AIRSDK\AIR_3.0\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore ..\..\Deployment\CareerBox.p12 -storepass pass -provisioning-profile ..\..\Deployment\CareerBox.mobileprovision ..\..\CareerBox.ipa CareerBox_iPhone-app.xml CareerBox_iPhone.swf AppIconsForPublish\Icon29x.png AppIconsForPublish\Icon57x.png AppIconsForPublish\[email protected] AppIconsForPublish\Icon512x.png AppIconsForPublish\Icon48x.png AppIconsForPublish\Icon72x.png Default.png [email protected] Default-Landscape~ipad.png Data\Cards.xml Data\CareerCards.xml

  • Can i print a file using thunderbird with command line switch

    Trying to automate printing task. I have a folder with 1000's and 1000's of eml files that need to be printed using thunderbird.
    I am able to get the command line switch to open the file in thunderbird.
    But what i really want is to print these files directly using thunderbird without opening the file in GUI.
    Thanks
    Dennison

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Inserting data in table using XSU's command line interface

    I have this XML document to store:
    <?xml version="1.0" ?>
    - <ROWSET>
    - <CustOrder>
    <OrderID>1</OrderID>
    - <Customer>
    <Name>Shirley Cohen</Name>
    <Address>2425 skylane, Dallas, TX</Address>
    <Phone>615-414-4112</Phone>
    </Customer>
    - <ItemList>
    - <Item num="1">
    <ProductID>111</ProductID>
    <ProductName>Computer</ProductName>
    <Quantity>2</Quantity>
    <Price>2000</Price>
    </Item>
    - <Item num="2">
    <ProductID>113</ProductID>
    <ProductName>Monitor</ProductName>
    <Price>865</Price>
    </Item>
    </ItemList>
    </CustOrder>
    </ROWSET>
    I have created the table custorder (below) to store the above XML document shown below:
    create or replace type CustObj as object
         Name varchar2(40),
         Address varchar2(70),
         Phone varchar2(20)
    create or replace type Item as object
         ProductID number,
         ProductName varchar2(50),
         Quantity number,
         Price number
    --create type Items as table of Item;
    create table CustOrder
         OrderID number,
         Customer CustObj,
         ItemList Items
    ) nested table ItemList store as nested_itemlist;
    However, using the following command in XSU; I get this error:
    --THE COMMAND
    C:\Documents and Settings\SKOS>java OracleXML putXML -user "samuel/samuel" -fil
    eName "\ProjectDocuments\myXMLStore\temp.xml" "custorder"
    --THE ERROR MESSAGE
    file:/C:/ProjectDocuments/myXMLStore/temp.xml<Line 1, Column 11>: XML-0109: (Fat
    al Error) PI names starting with 'xml' are reserved.
    oracle.xml.sql.OracleXMLSQLException: PI names starting with 'xml' are reserved.
    at oracle.xml.sql.dml.OracleXMLSave.saveXML(OracleXMLSave.java:2173)
    at oracle.xml.sql.dml.OracleXMLSave.insertXML(OracleXMLSave.java:1264)
    at OracleXML.Put_XML(OracleXML.java:467)
    at OracleXML.ExecutePutXML(OracleXML.java:389)
    at OracleXML.main(OracleXML.java:177)
    Can anyone please let me know what I am doing wrong? Thanks

    Please remove the xml declaration,
    <?xml version="1.0" ?>, from the xml document.

  • How to use the telnet command line in Labview

    Hi, someone can help me, I need to use a Telnet session in Labview but without using the http protocol, in this application I can only access the Telnet session using command line, here is an example of how I can access:
    From my computer, click on Start, then Run and then type in CMD.
    In the command line enter “telnet 192.168.0.1 5454” (without the quote marks) to bring up a blank DOS screen with a blinking cursor.
    Type “AT” and press the ENTER key, you should receive an “OK” response.
    Type in capital letters “AT+CMAR=1234” (without the quote marks)

    I had a similar situation and here is what I did...
    In MAX (Measurement and Automation eXplorer)
    Select Devices and Interfaces
    Select VISA TCP/IP Resources
    Create a new resource
    Select Manual Entry of Raw Socket
    Enter the IP address and port (23 is the standard telnet port)
    Give it a name. (VISA Ailas)
    Now this "Device" will show up in the VISA drop down just like any other VISA device.
    Use the VISA read and write just like you were communicating through a com port.
    Since Telnet does not have a stop bit like serial, make sure you enable the termination character.
    On your VISA reads set the number of characters to a big number, then VISA will read until it gets the termination character.
    See my attached snippet of my Telnet read vi
    Message Edited by RTSLVU on 06-16-2010 01:49 PM
    Message Edited by RTSLVU on 06-16-2010 01:50 PM
    Attachments:
    telnet.png ‏40 KB
    max1.png ‏33 KB
    max2.png ‏31 KB

  • Can apple mail be used from the command line?

    Can the Mac Mail application be used from the OSX command line?  Has anyone installed
    a command-line, Linux-like mail application to run on OSX?

    I don't know about the Mail app, but have you tried installing and configuring postfix? Here is a link to a blog with some details for a postfix solution.

  • Use ASC2 in command line

    Hi guys,
    I have one maybe stupid question ? Basically I use intellij idea which doesn't implement yet the new ASC 2 compiler, I usually use it to devellop and test, and then use bash file to package apps for mobile testing (release / iphone simulator etc).
    To make all of this working I merge flex sdk with the new air sdk as adviced in adobe website. but it still use the old compiler.
    Is there any way to compile an app in command line or with ant using the new ASC2.
    Because My IDE for some reason still use old compiler.
    Thanks

    The command line tools, compc, and mxmlc, are in the “bin” directory of the 3.6 AIR SDK and Compiler download. Ant task support is provided by flexTasks.jar which is in the “ant/lib” directory.
    -Darrell

  • REP-0713 error when using r25run32 and command line

    Help,
    I have what seems to be a very strange problem. I have the following
    command line saved as a batch file called Test.bat. If I double-click on it
    or run it from the command prompt, it works fine - it runs a report and
    prints it.
    d:\orant\bin\r25run32.exe report=test1.rep userid=user1/user1@testdb
    paramform=no destype=printer desname="HP" desformat=dflt printjob=no
    However, if I use a program scheduler, it crashes with the error:
    "REP-0713: Invalid printer name 'HP' specified by parameter name DESNAME"
    I have tried Norton Scheduler, NT AT command, as well as a couple other
    shareware programs. All crash with this error. If I use background=yes,
    again it works if I run it, but when a scheduler starts it, the Report
    Server crashes. Instead, if I use batch=yes, it just crashes after a few
    seconds.
    If I use printjob=yes, the printer dialog pops up, I press OK, and it works
    fine. I have tried outputting to a PDF file, but again, it works if I run
    the batch file, but not when a scheduler does.
    I am using Reports 2.5, Oracle 7.1, NT4 SP6. I have also tried the Reports
    3.0 runtime (r30run32) with the same results. I just need to run/print a
    report automatically every day.
    Any ideas are greatly appreciated, Thanks.
    Jason
    null

    I just concatenate them , for example if my key fields of the table are document number and item number , i concatenate them and put it in the key_column.
    How do i read them in my oninputprocessing.
    data: tv type ref to cl_htmlb_tableview.
      tv ?= cl_htmlb_manager=>get_data(
                              request      = runtime->server->request
                              name         = 'tableView'
                              id           = 'test' ).
      if tv is not initial.
        data: tv_data type ref to cl_htmlb_event_tableview.
        tv_data = tv->data.
    <document no.> = tv_data->selectedrowkey+0(10) .
    <item no.>   = tv_data->selectedrowkey+10(5) .
    if i need more info then i read the itab with key document number = <document no.> and
    item number     = <item no.>
    Hope this is clear.
    Regards
    Raja

  • ACS 4.2 HW appliance Change speed + duplex

    On The ACS Hw appliance how do you configure the speed and duplex ? Currently my sw is set to 100 full and my ACS keeps on negotiating to 100 half. Any suggestions ?

    Hi
    Each NIC is configured to automatically detect the speed and duplex mode of the network.
    Please observe the following cabling restrictions for 10BASE-T, 100BASE-TX, and 1000BASE-TX networks:
    •For 10BASE-T networks, use Category 3 or greater wiring and connectors.
    •For 100BASE-TX and 1000BASE-TX networks, use Category 5 or greater wiring and connectors.
    •The maximum cable run length is 328 feet (ft) or 100 meters (m).
    Regards

  • How to change users short name in 10.7 Server version?  Command line possible?

    I just migrated from Snow Leo 10.6 Server to Lion 10.7 server.  All seems ok except for one user (me!).  It seems my short name is different.  It was Goerge Smith but now it is just George.   And All users can login and get mail etc, but not me.
    I try to reset password using Updated Workgroup utiliity and new Server App, but the app refuses to allow rest of password or chnage of short user name.
    All other users seem ok and their names, atributes, passwords can be easily reset.   So both Open Directoty and NDS ( all the normal cast of troublemakes) do not seem to be at issue.
    Clearly something odd or unexpected happened in migration of Open Directory users and attributes.
    How can I change my User Shortname Back to the correct one?  Or Any ideas why my Password is locked, and cannot be reset?
    I have rebooted sveral times, all other functions seem normal and working?  Mystified!!   Help?

    Someone in the Lion Server Forum might know?
    Regards,
    Colin R.

  • Using -pingbackAllowed in command line silent install fails

    I've got a script to install an Air based app, the crucial part of which is:
    sudo /Applications/Utilities/Adobe\ AIR\ Application\ Installer.app/Contents/MacOS/Adobe\ AIR\ Application\ Installer -silent -eulaAccepted -location /Applications /private/tmp/Traffic14.1.0\ Update/TrafficApplication-Installer.air
    This works fine but I now want to change this so that it checks for AIR updates using -pingbackAllowed option, so when i add it to the above line like so:
    sudo /Applications/Utilities/Adobe\ AIR\ Application\ Installer.app/Contents/MacOS/Adobe\ AIR\ Application\ Installer -silent -eulaAccepted -pingbackAllowed -location /Applications /private/tmp/Traffic14.1.0\ Update/TrafficApplication-Installer.air
    it fails with a "too many arguments" error.
    So i remove the -eulaAccepted argument but still get the same error
    Am I doing something wrong?
    I'm running this OS X 10.9.5
    Thanks in advance

    Though following installation procedure may not be supported but it worked for me.
    create Inventory Location
    mkdir /var/SP/weloadm/home/oraInventory
    Create an file oraInst.loc with contents in the
    software directory:
    inventory_loc=/var/SP/weloadm/home/oraInventory
    inst_group=welo
    ./runInstaller -jreLoc $JAVA_HOME -silent -
    invPtrLoc /var/SP/weloadm/home/software/oraInst.loc
    “ORACLE_HOME=/opt/SP/weloadm/Middleware/Oracle_ECM1
    ” “MIDDLEWARE_HOME=/opt/SP/weloadm/Middleware”
    Hope it helps

  • How do i install new commands to use at the command line

    i want to use macports but get the message command not found

    Information on installin MacPorts can be found here.
    There appear to be a package specific to Mountain Lion

Maybe you are looking for

  • What to look for in an external monitor

    I am in the process of changing my editing system to handle hd. I am using a 24" imac 2.4 Intel Core 2 Duo. With my sd set up I used a Sony dv/dvcam deck and a JVC professional 13" Monitor. I am purchasing the new JVC gy-hm100u camcorder when it is r

  • Installing Oracle 9i R2 on SuSE 8.2 Pro

    I am trying to install Oracle 9i Release 2 on SuSE 8.2 Pro. I receive the following error message in the Universal Installer after selecting General Purpose as the Database Configuration: "Thrown when the IP address of a host cannot be determined" Se

  • Unable to start SSIS Projects : SQL Server 2008R2 Dev edition installed on top on SQL Express 2008 with Advanced Services

    Hello, I first installed SQL Serrver Express Edition 2008 with Advanced Services (As a part of some client's software) Now I have isntalled SQL Server Developer Edition 2008, by selecting ALL features and client tools. Now, with BIDS, I can start SSR

  • Codes appearing on the Body of my Outlook e-mails

    Can someone make this stop?  I keep getting these codes when I send an email.  Actually I'm not sure if it's the mail I'm sending or receiving.  It started the day i started to get my emails on both my outlook and Blackberry. /* Font Definitions */ /

  • Creating a directory booklet in Pages

    I'm trying to create a simple directory booklet in Pages using information from Numbers.  How can you have multiple records of information from one merge field type (say email) on one page?