VM-Type Computer Name

I am trying to deploy VMs with MDT but Sysprep breaks because VMWare machine names are generated automatically with very long strings with spaces (it is due to the customization file as i use the service tag to generate computer names).
I use the same naming convention for Desktop and laptops (WK-ServiceTag and LT-ServiceTag), VMs have very long strings for service tags so it makes the computer name faulty.
I am trying to make an exception and have MDT ask for a computer name if the deployed machine is a VM but it does not work, the VM name is still automatically generated.
Can someone see what am i missing in my customization file:
[Settings]
Priority=DefaultGateway,ByLaptopType, ByDesktopType, ByVMType, ByServerType, HardwareInfo,Default
Properties=Type,MakeAlias,ModelAlias,MyCustomProperty
[DefaultGateway]
10.8.255.254=Paris
10.2.255.238=WTC
[WTC]
DeployRoot=\\REMCORPMIG01\MDTProduction$
WSUSServer=http://NLWUSSV02:8530
SLSHARE=\\REMCORPMIG01\Logs$\%ComputerName%
UDShare=\\REMCORPMIG01\MigData$
BackupShare=\\REMCORPMIG01\MigData$
EventService=http://REMCORPMIG01:9800
[Paris]
DeployRoot=\\FRPARSV11\MDTProduction$
WSUSServer=http://FRPARSV11:8530
SLSHARE=\\FRPARSV11\Logs$\%ComputerName%
UDShare=\\FRPARSV11\MigData$
BackupShare=\\FRPARSV11\MigData$
EventService=http://FRPARSV11:9800
[HardwareInfo]
UserExit=ModelAliasExit.vbs
MakeAlias=#SetMakeAlias()#
ModelAlias=#SetModelAlias()#
[Default]
_SMSTSOrgName=IT TEAM - Production
UDDIR=%ComputerName%
BackupDir=%ComputerName%
ScanStateArgs=/ue:*\* /ui:Corp\* /uel:30
USMTMigFiles001=MigApp.xml
USMTMigFiles002=MigUser.xml
USMTMigFiles003=MigDocs.xml
USMTMigFiles004=WNB.xml
HideShell=YES
ApplyGPOPack=NO
SkipUserData=NO
UserDataLocation=AUTO
SkipApplications=YES
SkipAppsOnUpgrade=NO
SkipPackageDisplay=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerName=YES
SkipDomainMembership=YES
SkipLocaleSelection=YES
SkipTaskSequence=NO
SkipTimeZone=YES
SkipBitLocker=YES
SkipSummary=YES
SkipBDDWelcome=YES
SkipCapture=YES
SkipFinalSummary=YES
TimeZoneName=W. Europe Standard Time
JoinDomain=corp.rem.local
DomainAdmin=JoinAccount
DomainAdminDomain=corp.rem.local
DomainAdminPassword=ABC-123
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1
[ByLaptopType]
SkipComputerName=YES
OSDComputerName=%Type%-%SerialNumber%
Subsection=Laptop-%IsLaptop%
MandatoryApplications001={1aa3bdbb-5f84-4256-aafb-e237abbf6f39}
[ByDesktopType]
SkipComputerName=YES
OSDComputerName=%Type%-%SerialNumber%
Subsection=Desktop-%IsDesktop%
[ByVMType]
Subsection=VM-%IsVM%
[ByServerType]
Subsection=Server-%IsServer%
[Laptop-True]
Type=LT
[Desktop-True]
Type=WK
[VM-True]
Type=VM
SkipComputerName=NO
[Server-True]
Type=Server
SkipBDDWelcome=NO
SkipComputerName=NO

I got some bdd.log bizarely it processes the BYLAPTOPTYPE section
<![LOG[------ Processing the [BYLAPTOPTYPE] section ------]LOG]!><time="15:59:56.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [Laptop-False] section ------]LOG]!><time="15:59:56.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[Property OSDCOMPUTERNAME is now = %Type%-VMware-42 2e b7 df df 0c 07 78-c1 73 b7 3e e1 9e 93 87]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1"
thread="" file="ZTIGather">
<![LOG[Using from [BYLAPTOPTYPE]: OSDCOMPUTERNAME = %Type%-VMware-42 2e b7 df df 0c 07 78-c1 73 b7 3e e1 9e 93 87]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1"
thread="" file="ZTIGather">
<![LOG[Property SKIPCOMPUTERNAME is now = YES]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[Using from [BYLAPTOPTYPE]: SKIPCOMPUTERNAME = YES]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[Property MANDATORYAPPLICATIONS001 is now = {1aa3bdbb-5f84-4256-aafb-e237abbf6f39}]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread=""
file="ZTIGather">
<![LOG[Added value from [BYLAPTOPTYPE]: MANDATORYAPPLICATIONS = {1aa3bdbb-5f84-4256-aafb-e237abbf6f39}]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1"
thread="" file="ZTIGather">
<![LOG[------ Processing the [BYDESKTOPTYPE] section ------]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [Desktop-False] section ------]LOG]!><time="15:59:57.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [BYVMTYPE] section ------]LOG]!><time="15:59:58.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [VM-True] section ------]LOG]!><time="15:59:59.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[Property TYPE is now = VM]LOG]!><time="15:59:59.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[Using from [VM-True]: TYPE = VM]LOG]!><time="15:59:59.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [BYSERVERTYPE] section ------]LOG]!><time="16:00:00.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [Server-False] section ------]LOG]!><time="16:00:00.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">
<![LOG[------ Processing the [HARDWAREINFO] section ------]LOG]!><time="16:00:01.000+000" date="05-01-2015" component="ZTIGather" context="" type="1" thread="" file="ZTIGather">

Similar Messages

  • Need to the domain name and computer name in offline mode

    Hi,
    I can not able to login to the windows system, the password i am using is correct. But im getting error "the login method using is incorrect, please contact network admin". I forgot the domain name i set to login to the system. Now Currently i
    dont have the recovery/windows7 disks.  I have Unix in my machine as well. so i have mounted the windows7 parition in linux, and trying to find out the computer\domain name.  so please suggest which file i need to search to get the details.
    Thanks,
    Ravi

    Hi Ravi,
    If you want to know more information about domain name, please take a look at the following article.
    http://technet.microsoft.com/en-us/library/cc731265(v=ws.10).aspx
    Based on my research, the computer name and domain name are stored in the registry key.
    We could find computer name in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName.
    And we can find domain name in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Domain.
    Have you ever  joined a domain?
    If yes, please contact the network admin as mentioned.
    And we can type Domain name\Username and then password to login.
    If you haven’t, we could try to type Computer name\username(.\username) and then the password to login the computer.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • HT201376 Hello, I am trying to reset my macbook pro to its factory settings but I can't type the name of the formatted disk nor can I click on erase, as this feature is disabled. Could you please assist?

    Hello, I am trying to reset my macbook pro to its factory settings but I can't type the name of the formatted disk nor can I click on erase, as this feature is disabled. The 'type name' space and the 'erase' button are in light grey - Could you please assist?

    Hello!
    Did you boot to the Internet Recovery Partition?
    Here’s how:
    1/ Make sure your computer is completely shut down.
    2/ You’ll have to be quick next: Press the Mac’s power button. As soon as you either hear the loud chime, or see the display light up - usually after a second or 2 - on your keyboard press [alt] + [cmd] + [r] Keep these keys on your keyboard pressed until you see a spinning globe with the text “starting Internet Recovery” You might have to connect to your Wi-Fi network before you can continue here.
    After a few minutes, you’ll be presented with a Utilities screen. This is the Internet Recovery partition. If this step is already giving you problems, try using a USB-keyboard. It doesn’t have to be an Apple-keyboard. If you have a Windows-tailored keyboard laying around, use the “Windows-flag” key in stead of the [cmd]-key and it should also work.
    3/ Choose Disk Utility and click [continue]

  • Authentication popups after computer name changed to computer record name

    Hi
    I'm not sure if anyone else is facing this issue, but I have been unable to find anything in the forums.
    I have setup a number of client machines on Lion Server, all using 10.7.4. I used WGM and Remote Desktop to make some changes and deploy software
    Since then, I have been getting the following authentication popup on all client machines (twice after login, and then every 30 mins or so afterwards):
    Mac OS S wants to make changes. Type an administrator's name and password to allow this.
    The changes made prior to this happening were:
    - Overplay VPN installed (using RD pkg install)
    - Adobe CS 5.5 installed (using Adobe Enterprise Deployment Tool and RD package install)
    - Evernote installed (using RD copy)
    - Set computer name to computer record name (From WGM > Computer Groups > Preferences > Options)
    I have now removed all the installed software from one machine, and log in as administrator, unbind the machine, rename the computer manually to the record name, rebind the computer.
    As far as I can see, I have reverted all changes one at a time, and am still receiving the admin password requests when logged in as a network user.
    The only machine that seems to be ok, is the one where the name change to computer record name was unsuccessful.
    Does anyone have any suggestions as to how I can fix this issue?
    Thanks
    Suraj

    Issue resolved. It turns out none of my changes caused the issue as much as Google Chrome Autoupdates. The new version constantly checks for updates which makes clients on Lion Server go haywire. Solution to turn off auto-updating:
    Open a Terminal window:
    defaults write com.google.Keystone.Agent checkInterval 0
    Relaunch Chrome.

  • Export list of windows computer names with a specific relationship

    I'm trying to export only the name (netbios name) of a list of windows computers to a text file if it meets the following criteria.
    Relationship Type = "RelatedConfigItem" >  Name = "Example A"
    In other words, if the windows computer is related to another configuration item (Environment CI) with the name "Example A" it exports the computer name to a text file.  I beleive this can be done via powershell but I'm a bit new at powershell.
    Any thought on how this would be accomplished?

    Alexander,
    This is great! One issue...  When forming a relationship between a Windows Computer CI and an Environment CI it forms a one way relationship (even
    though it shows in the related items tab on either CI).
    Per Travis Wright...
    "Every relationship type has a source and target class.  For example the System.ConfigItemRelatesToConfigItem has a configuration
    that looks like this:
    This
    relationship type is a little special because it has the same class as the target and the source. So, what happens is when you create a relationship from the context of the environment form it sets the source object as the environment and the target object
    as the computer. When you create the relationship from the context of the computer form it set the source object as the computer and the environment as the target."
    All that to say, we form our relationship from the Windows Computer (source) to the Environment (target).  As such, when running the powershell
    script you provided it produces no results.
    Is there a way to reformat the script to identify Windows Computers that meet the same criteria...
    windows computer with relationship to environment A exports windows computer netbios name
    Thanks for all your help!
    James M

  • Set Computer name by computers serial number ?

    Hi guys!
    I need a simple script or something to set computer name(serial number) and add computer to our domain. Computer name should be for laptop, LT-"serialno" and for Desktop it should be DT-"serialno"
    Is there a simple way to fix this? I have tried WSname, but no luck there. My scripting skills are equal with zero.
    Thx for all help and tips!
    /Janne

    HELP Add-Computer -FULL
    You need to start learning script somewhere.  We can help but we will not write scripts for you.
    Start here:
    http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
    Look here:
    http://gallery.technet.microsoft.com/site/search?f%5B0%5D.Type=RootCategory&f%5B0%5D.Value=hardware&f%5B0%5D.Text=Hardware&f%5B1%5D.Type=SubCategory&f%5B1%5D.Value=basichardware&f%5B1%5D.Text=Basic%20Hardware%20and%20Firmware
    ¯\_(ツ)_/¯

  • Computer Name changed to MINWINPC

    We have about 200 computers that show their computer name as "MINWINPC". Doing an "ipconfig /all" shows the original computer name but doing a "net user" shows the computer name as "MINWINPC". In the control panel applet - the original computer shows but
    the registry key: HKLM\System\CurrentControlSet\Control\ComputerName\ComputerName shows as "MINWINPC". Users can still access the network but administrators are unable to remotely access those machines. The fix appears to be as simple as changing the registry
    key back to the original computer name(and rebooting) but I would like to figure out what is causing the issue. Some of the machines seem to have the name change occur after they have received the latest round of patches from Microsoft after the reboot.
    It is not happening to all our Vista machines. I have changed the computer name back the original, uninstalled all updates from the day of the name change and resintalled the patches but have been unsuccessful in recreating the problem. Any thoughts?

    I know this is an old thread but a new patch is causing the same issue MS13-098. The only Microsoft submission I have found is in Japanese and is translated as follows:
    Phenomenon
      In Windows Server 2008 or Windows Vista, you might not be able to log an error appears to apply the new update the following programs, if you try to log on after the restart. •  MS12-024 (KB2653956)
    •  MS13-098 (KB2893294)
     Error message displayed is as follows.
     Incorrect password or user name
      Back to the top | feedback
    Collapse image  Cause
      This behavior occurs when you apply the update KB2653956 in the state of some data is damaged following registry key, or does not exist.
     HKEY_LOCAL_MACHINE \ SCHEMA \ wcm :/ / Microsoft-Windows-CoreOS? ...
     Any string will contain the part of the ... Note:.  Also, make sure to load the SystemRoot% \ system32 \ SMI \ Store \ Machine \ SCHEMA.DAT file% if the HKEY_LOCAL_MACHINE \ SCHEMA does not exist.
     When you apply the update of KB2653956 in the state where the registry key is not present, the value of the following registry is changed to MINWINPC, logon will not be able to.
    •  HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ ComputerName \ ActiveComputerName
    •  HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ ComputerName \ ComputerName
      Back to the top | feedback
    Collapse image  Solution
      If this occurs, change to the correct computer name the value of the ComputerName registry and ActiveComputerName start in safe mode, has been mentioned above, and then restart.
      Back to the top | feedback
    Collapse image  Workaround
      To prevent this phenomenon occurs, you download and run the System Update Readiness Tool from the following KB.
     http://support.microsoft.com/kb/947821
     By performing the system update Preparation tool registry that is described in Section Symptoms are repaired.
     If the repair is made, starting with log Recreated missing key as the following WinDir% \ Logs \ CBS \ CheckSUR.log file% is recorded.
     Recreated missing key:? Wcm :/ / Microsoft-Windows-CoreOS ... \ metadata \ elements \ ComputerName
     In addition, regardless of the presence or absence of entry damaged Microsoft-Windows-CoreOS, you can set the value of the ComputerName key in this tool.  For this reason, the following log is recorded in the CheckSUR.log.
     Recreated value: @ _type.
     Recreated value: @ dataOnly.
     Recreated value: @ default.
     Recreated value: @ description.
     Recreated value: @ displayName.
     Recreated value: @ handler.
     Recreated value: @ legacyName.
     Recreated value: @ legacyType.
     Recreated value: @ migrate.
     Recreated value: @ scope.
     Recreated value: @ xsd: type.
      Back to the top | feedback
     Note: This is a "FAST PUBLISH" article created directly from within the Microsoft support organization.  It contains information in response to emerging issues are listed.  As a result of the speed of information provided may be typographical
    errors are included in the article, you might be revised at any time without prior notice.  For other considerations, and use conditions
     Please refer to.
      Back to the top | feedback
    Collapse image  Property
      December 11, 2013 - Revision: - Last Review: 2901584: 4.0 Document Number
      This document that was written about products for.
    •  Windows Vista Business
    •  Windows Vista Business 64-bit edition
    •  Windows Vista Enterprise
    •  Windows Vista Enterprise 64-bit edition
    •  Windows Vista Home Basic
    •  Windows Vista Home Basic 64-bit edition
    •  Windows Vista Home Premium
    •  Windows Vista Home Premium 64-bit edition
    •  Windows Vista Starter
    •  Windows Vista Ultimate
    •  Windows Vista Ultimate 64-bit edition
    •  Windows Server 2008 Datacenter
    •  Windows Server 2008 Datacenter without Hyper-V
    •  Windows Server 2008 Enterprise
    •  Windows Server 2008 Enterprise without Hyper-V
    •  Windows Server 2008 for Itanium-Based Systems
    •  Windows Server 2008 Foundation
    •  Windows Server 2008 Standard
    •  Windows Server 2008 Standard without Hyper-V
    •  Windows Web Server 2008
    •  Windows HPC Server 2008
    •  Windows Essential Business Server 2008
    Hopefully Microsoft will get this on the MS13-098 Bulletin immediately which they are always slow doing.

  • Computer Name to be retrieved

    Hi All,
    How to retrieve the computer name of the user who is working on a SAP System.
    Pointers would be helpful.
    Thanks,
    Best regards,
    Prashant

    hi prashant ,
    just execute this code and see if it suffice ur need .
    regards,
    TVK.
    DATA SI LIKE RFCSI.
    CALL FUNCTION 'RFC_SYSTEM_INFO' DESTINATION 'SAPGUI'
        IMPORTING
            RFCSI_EXPORT = SI.
    WRITE:
    / 'RFC log version:', SI-RFCPROTO,
    / 'Character set (SAP name):', SI-RFCCHARTYP,
    / 'Integer format (1 / 2 = little / big endian):', SI-RFCINTTYP,
    / 'Floating point format (1=IEEE, 2=IBM/370 format):', SI-RFCFLOTYP,
    / 'Logical destination (specified when calling function):', SI-RFCDEST,
    / 'Host:', SI-RFCHOST,
    / 'System: SAP System ID:', SI-RFCSYSID,
    / 'System: SAP System ID:', SI-RFCDATABS,
    / 'Database host name:', SI-RFCDBHOST,
    / 'System: Database system:', SI-RFCDBSYS,
    / 'System: SAP Release:', SI-RFCSAPRL,
    / 'RFC: SAP machine ID:', SI-RFCMACH,
    / 'System: Operating system:', SI-RFCOPSYS,
    / 'Time zone (difference from UTC in seconds):', SI-RFCTZONE,
    / 'Summertime active ? (''daylight saving time''):', SI-RFCDAYST,
    / 'IP address:', SI-RFCIPADDR.
    skip 3.
    DATA: W_HOSTADDR LIKE  MSXXLIST-HOSTADR,
            W_TERMINAL(30) TYPE C,
            w_1 type i,
            w_2 like w_1,
            w_3 like w_1,
            w_4 like w_1.
      CALL FUNCTION 'TH_USER_INFO'
           IMPORTING
                HOSTADDR            = W_HOSTADDR
                TERMINAL            = W_TERMINAL
           EXCEPTIONS
                OTHERS              = 1.
      IF SY-SUBRC = 0.
        w_1 = W_HOSTADDR(1).
        w_2 = W_HOSTADDR+1(1).
        w_3 = W_HOSTADDR+2(1).
        w_4 = W_HOSTADDR+3(1).
        WRITE: / 'IP address:', w_1,'.',w_2,'.',w_3,'.',w_4,
               / 'Terminal  :', W_TERMINAL.
      ELSE.
        WRITE / 'Unknown Error.'.
      ENDIF.

  • Domain Join to a specific OU based on Computer Name - ConfigMgr 2012 R2 / MDT 2013

    Hi all
    i need to build an OS deployment task sequence with ConfigMgr 2012 R2 and MDT 2013. my requirement is to be able to join a computer based on its computer name. there are three types of computers. Sales / Marketing and Technical. based on the prefix of the
    computer name i need to place them on 3 different OUs. Computer Names would be SAL1100, MKT1100 or TEC1100, i would like to refer first three characters of the computer name and the decided on which OU they need to be allocated to. 
    i would appreciate if someone could tell me how i can do this within my task sequence 

    I don't think you can accomplish this by using conditions. Instead I'd use the script that Jörgen provided. Here's an edit of that so that it would suit your environment requirements of the first 3 characters of the OSDComputerName:
    set env = CreateObject("Microsoft.SMS.TSEnvironment")
    sComputerName = env("OSDComputerName")
    threeChars = UCase(Left(sComputerName,3))
    sBuiltOU = "NOT_set!"
    If threeChars = "ABC" Then
    sBuiltOU = "LDAP://OU=ABC,OU=Computers,DC=DOMAIN,DC=COM"
    If threeChars = "DEF" Then
    sBuiltOU = "LDAP://OU=DEF,OU=Computers,DC=DOMAIN,DC=COM"
    If threeChars = "GHI" Then
    sBuiltOU = "LDAP://OU=GHI,OU=Computers,DC=DOMAIN,DC=COM"
    env("OSDDomainOUName") = sBuiltOU
    Wscript.quit
    Save this as 'SetOU.vbs' and create a package in ConfigMgr where you specify the source content to the location where you placed the script file. As Jason described, put a Run Command Line step right before Apply Windows Settings, use 'cscript.exe SetOU.vbs'
    as the command line and point to the package you created. This script assumes that the OSDComputerName variable is already properly populated with the correct computer name.
    Regards,
    Nickolaj Andersen | www.scconfigmgr.com | @Nickolaja

  • DNS suffix of Computer Name

    How do I determine the correct DNS suffix for my computer?
    I am not networked to other computers, though I do access the internet.

    Whats your os?
    Here are instructions for XP Pro...
    1. Right-click My Computer and select Properties.
    The System Properties dialog box is displayed.
    2. Select the Computer Name tab.
    Review the value of the field Full computer name. If it contains a fully-qualified domain name for your computer, for example machinename.my.company.com, then your settings are complete. If the field is blank or incomplete, then continue to the next step.
    3. Click Change (a button near the bottom of the displayed tab).
    The Computer Name Changes dialog box is displayed.
    4. Click More.
    The DNS Suffix and NetBIOS Computer Name dialog box is displayed.
    5. Type the correct DNS suffix in the field, Primary DNS suffix of this computer, and verify that the check box, Change primary DNS suffix when domain membership changes, is checked.

  • Yosemite profile manager shortening computer names and serials

    If I prepare a placeholder in Yosemite profile manager, it shortens computer names and serials.
    I've added and removed the placeholder and the names and serials are getting smaller, to a point they are only one letter long now.
    Somehow, it suspect may be linked to the form fill feature but even if I try to type all, the placeholder names and serials shorten every time.
    Ever seen or solved that?
    François.

    I cleared Safari Form Filling in Safari > Preferences > Auto Fill > Other Forms, selected example.com, clear button and closed preferences.
    I went back to profile Manager, create the place holder again and all is good now.
    François

  • Identifying computer name on switch port

    Hey Everyone,
    I wish to build an CMDB for all our computers across the network. We have about 30x C2950 switches and few C3550. I wish to identify the computer name to switch port based on IP / Mac Address.
    can this be done?
    Let forward to anyone response.
    Cheers,
    Mark

    Hi Mark,
    Ping your desktops from each switch and then use the sh ip arp command to the Mac-address of the corresponding machine.
    Use the command sh mac-address-table add xxxx.xxxx.xxxx to get the port details for the machine
    ms_mla_mgmt_14dc#sh ip arp
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 172.16.102.249 3 0008.7434.e4d7 ARPA VLAN1
    Internet 172.16.103.243 0 0013.c461.56bb ARPA VLAN1
    ms_mla_mgmt_14dc#sh mac-address-table address 0050.5a10.6607
    Non-static Address Table:
    Destination Address Address Type VLAN Destination Port
    0050.5a10.6607 Dynamic 1 GigabitEthernet0/2
    ms_mla_mgmt_14dc#
    You will only be able to get the information for the devices that are in the same subnet as the management switch IP.
    HTH
    Narayan

  • PowerShell Web Access - Prefill Computer Name?

    One of the devs asked me if there was some way to prefill the computer name field for the PSWA site (since we use the localhost machine quite often).
    Is there any way to do this?  He mentioned maybe query params?

    If there is a query parameter or query string that can be added to the URL then I am not aware of it. Even so, it can be done.
    You can modify the code in the logon.aspx file but it'll take some work. Start by stopping the website in IIS. Then locate the file at C:\Windows\Web\PowerShellWebAccess\wwwroot\en-US\logon.aspx. You need to add value="computername" to
    the line <input id="targetNodeTextBox" name="computer-name" type="text" class="required" runat="server" clientidmode="Static" />. I added it after the word input and before id="targetNodeTextBox"...
    The issue here is that you will have to take ownership of the file first, add modify and write permissions to a group (that you're in) or user (that's you) on the file, copy the file out of the directory, edit it as mentioned above, save it with a new name
    and close the file, rename the file to logon.aspx, and then copy it back to the directory above. Painful (and
    possibly a security risk?), but that's the only way in which I am aware.
    Be sure to start the website in IIS before reloading your PSWA website.
    Edit: Added a step to the instructions about adding permissions.

  • Set NetBios name to Computer Name

    Hello.
    Is it possible, via Terminal, to set the Netbios name of a system to the computer's current name as set in the Sharing panel? I have a ton of computers to configure, and this would make my job much faster.
    Regards, Andrew.

    Hi,
    the actual computer name is stored in a system variable named HOSTNAME. Just type echo $HOSTNAME to retrieve that value:
    ---------------snip-------------
    $ echo $HOSTNAME
    pronto-macpro
    ---------------snap-------------
    If there is a NetBIOSName already configured, the value is stored in /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist:
    ---------------snip-------------
    $ defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName
    Pronto-MacPro1
    ---------------snap-------------
    With this informations you should be able to set the NetBIOSName equal to the hostname by using the command (type the following in one line!):
    ---------------snip-------------
    $ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName $HOSTNAME
    ---------------snap-------------
    To verify if it works just type the defaults read command again:
    ---------------snip-------------
    $ defaults read /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName
    pronto-macpro
    ---------------snap-------------
    Hope that helps
    Bye Tom
    Message was edited by: prontosystems

  • File sharing afp:// address not computer name

    Just setting up my new iMac and the file sharing afp:// address does not match the computer's name (Brute Squad), it's pulled in my old PowerBook's name (Alumen). I'm assuming it came from my Apple/iCloud account since that was the only computer I had registered when I set the iMac up. Restarting didn't help. Any ideas?

    You can change the computer name in the System Preferences > Sharing pane, change the name at the top.
    Best of luck.

Maybe you are looking for

  • Can you print all the tab control's contents and include the tabs?

    We are trying to generate a report that includes the contents of a tab control (graphs, text).  Using the Append Control Image to Report.vi, we are only able to print out the active tab and the tab is cut off of the image. How can we generate reports

  • IPad not Recognized by mac or pc

    I have a iPad which slowly charges through the charger, takes almost four times the time normal iPad would take to charge but if I connect with pc or mac it fails to get detected. I can not update the firmware and in a DALMIA how to rectify the issue

  • "Keychain Not Found" message

    I've been having issues with my keychain not saving passwords and always having a message pop up whenever I open Safari. The message says: "Keychain 'login' cannot be found to store 'Safari' " There are two options...one is to cancel and the other is

  • How create query based .txt, .pdf file in SQL/PLSQL

    Hello, I am sending email alerts for new employements/resigns. I want to create ry based .txt, .pdf file in SQL/PLSQL and email it. How i can create file queyy : select dempartment,empid,name,joining_date from employee; Thanks

  • Hands off feature issue !!!

    I have downloaded the Yosemite 10.10 on my mac book air and i wanted to use the hands of feature between my macbook air and Iphone 5s - iOS 8.0.2 and i am unable to use it. I have tried to re-start the computer and phone as advised in some forums and