Script to 'Get Latest' on all Projects within TFS

I'm currently involved in whether it is feasible to permanently move our in-house TFS server onto the cloud. Part of my research (and question) involves backups, whilst the below extract from the FAQ gives the Microsoft back up plan we need one in place
to essentially give us peace of mind.
All data is stored in triplicate on three physically-distinct servers. Full backups
       are taken every day with incremental backups every hour. If you want to have
       your own backup of your source code, you can sync your source to your local machine.
After doing a lot of research, I have come to the realisation that there is no way of exporting all the projects from VSO TFS and implementing them onto one of our servers.
I am aware there is some kind of backlog item for this to be implemented in the future. However, until this is implemented I have come up with my own solution. This is to schedule a script to run periodically and do a 'Get Latest' on every single project
which is held within Visual Studio. I've seen various questions on this, but each solution seems to only do it on one file.
Has anyone got a solution they can share or point me to some source material which will help me build my own script in order to do this?

Hi Damo1155,  
Thanks for your post.
Do you mean that you want backup your VSO source files to a local machine folder using script(execute tf get command line)? if yes, we suggest you backup all your VSO source files in a specified local workspace folder on your client machine. Please try below
example steps:
On your client, connect to your VSO using VS, then mapping your VSO DefaultCollection(the root node) to D:\VSO folder in Source Control Explorer.
Open Command Prompt, and execute this command ‘D:\VSO>tf get /version:T /recursive’ to get latest source in D:\VSO folder.
After executed that command successfully, you will find all your VSO source files be got in that D:\VSO folder on your client. Then you can create a script file to run this D:\VSO>tf get /version:T /recursive command on your client periodically, it will
backup all your VSO latest source to this D:\VSO folder on your client.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Read all projects within Project Online using web part Sharepoint

    Hello all. Can we get data of all projects from Project Online in Sharepoint Site? So far as I understand we can get data of list like this:
    SPWeb web = SPContext.Current.Web;
    SPList issueList = web.GetList("https://tenant.sharepoint.com/sites/demo/Sample Project 1/Lists/Issues/AllItems.aspx");
    Do you have any some good tutorial? I am new on web part Sharepoint.
    Thanks in advance.

    Hello,
    Yes you can, I would use the ProjectData API if you are not bothered about security (accessing all projects etc.) or if you want the data returned to be accessed controlled use the ProjectServer API. Examples below:
    ODATA API (ProjectData):
    <PWA site URL>/_api/ProjectData/Projects
    JSOM REST API (ProjectServer):
    <PWA site url>/_api/ProjectServer/Projects
    Regarding guides, just search for SharePoint apps / App part / client web part. Some simple examples of using  the APIs mentioned in JavaScript on the Project sites can be seen below:
    https://gallery.technet.microsoft.com/scriptcenter/Server-Information-ab10fd63
    https://gallery.technet.microsoft.com/scriptcenter/Server-Milestones-f8be71b8
    https://gallery.technet.microsoft.com/scriptcenter/Online-Server-on-a-page-1b1f14f5
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Unexpected Error during get latest

    I support RoboHelp and RoboSource for a couple people in my
    company. One of them recently has been having issues while
    performing a get latest on all the files when RoboHelp initially
    starts up. In the middle of the get latest an error message pops up
    "Unexpecte Error: please contact the system administrator." When
    she clicks okay the get latest stops midstream, without getting
    many of the files. I am the system administrator and have no idea
    what the issue is. I made sure all the files from both of the
    client computers were checked in properly. And still the error.
    Just as a side note, we are still on RoboHelp X5 and the help
    system we have created is rather large.
    Any ideas would be greatly appreciated.
    Seth

    Hi Seth,
    this error message is extremely helpful, isn't it? ;-)
    It can have any number of reasons, but in my experience the
    most probaböe ones are:
    - The project has been added to RSC by importing the
    respective folders using RoboSource Control Explorer instead of
    using the Add to Version Control command from within RoboHelp
    Office. Therefore, the database contains several files which must
    not be there. Look for the project's cbd-file in the database; if
    it's there, this will be the cause.
    - The database is corrupt. Stop the RoboSource service on the
    server and run a jetcomp over the database.
    If the problem persists, please ask again; I'm under a slight
    time pressure right now.
    ---Dirk Bock

  • Script to get excel to open the last (latest) downloaded file

    Here is the plan. I have a script to have safari go download a file. Then I need script to have excel open the latest downloaded file from that folder. There will be other files in the folder and I cant do it by name.
    Any help would be much appriciated.

    Hi Damo1155,  
    Thanks for your post.
    Do you mean that you want backup your VSO source files to a local machine folder using script(execute tf get command line)? if yes, we suggest you backup all your VSO source files in a specified local workspace folder on your client machine. Please try below
    example steps:
    On your client, connect to your VSO using VS, then mapping your VSO DefaultCollection(the root node) to D:\VSO folder in Source Control Explorer.
    Open Command Prompt, and execute this command ‘D:\VSO>tf get /version:T /recursive’ to get latest source in D:\VSO folder.
    After executed that command successfully, you will find all your VSO source files be got in that D:\VSO folder on your client. Then you can create a script file to run this D:\VSO>tf get /version:T /recursive command on your client periodically, it will
    backup all your VSO latest source to this D:\VSO folder on your client.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Powershell script to get list of softwares installed as shown in registry on all the remote systems in a txt file

    Hi
    I need to know the command for getting list of softwares installed on all the remote systems in network  which are existing in their respective registry like HKEY_LOCAL_MACHINE\SOFTWARE of all other systems

    Hey
    Sorry this isn't powershell but it should do the job if you want to use it. The problem with using the Win32_Product WMI Class to enumerate the installed software (especially on Windows 2000 & 2003 Servers) is that the WMI class is NOT installed by default. Here is a VBScript i wrote to read a list of hostnames from a text file named "ComputerNames.txt" from the scripts directory and attempt to remotely enumerate all subkeys within the following registry key
    HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
    For each subkey enumerated it will attempt to read the value of the "DisplayName" key and output the results to a csv file.
    (the results should be the same as what you would see when you open Add/Remove Programs)
    Hope that helps
    Cheers
    Matt :)
    'Script Name : CheckInstalledSoftware.vbs
    'Author : Matthew Beattie
    'Created : 01/03/10
    'Description : This script reads a list of hostnames from a text file name "ComputerNames.txt" in the scripts working
    ' : directory. For each hostName it requests an ICMP response and if successfull attempts a remote registry
    ' : connection to enumerate and read the registry values of installed software. All results are logged to the
    ' : scripts working directory in a log file per computer name.
    'Initialization Section
    Option Explicit
    Const ForReading = 1
    Const ForAppending = 8
    Dim objFSO, wshNetwork, wshShell, hostName
    Dim scriptBaseName, scriptPath, scriptLogPath
    On Error Resume Next
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set wshShell = CreateObject("WScript.Shell")
    Set wshNetwork = CreateObject("WScript.Network")
    scriptBaseName = objFSO.GetBaseName(Wscript.ScriptFullName)
    scriptPath = objFSO.GetFile(Wscript.ScriptFullName).ParentFolder.Path
    scriptLogPath = scriptPath & "\" & IsoDateString(Now)
    If Err.Number <> 0 Then
    Wscript.Quit
    End If
    On Error Goto 0
    'Main Processing Section
    On Error Resume Next
    PromptStart
    ProcessScript
    If Err.Number <> 0 Then
    Wscript.Quit
    End If
    PromptEnd
    On Error Goto 0
    'Functions Processing Section
    'Name : ProcessScript -> Primary Function that controls all other script processing.
    'Parameters : None ->
    'Return : None ->
    Function ProcessScript
    Dim fileSpec, hostNames, regKey, keyName, results, result
    keyName = "DisplayName"
    regKey = "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall"
    fileSpec = scriptPath & "\ComputerNames.txt"
    'Ensure the "ComputerNames.txt" file exists within the scripts working directory.
    If Not objFSO.FileExists(fileSpec) Then
    MsgBox DQ(fileSpec) & " does not exist!", vbCritical, scriptBaseName
    Exit Function
    End If
    'Read the list of hostNames from the "ComputerNames.txt" text file within the scripts working directory.
    If Not GetScriptInput(hostNames, fileSpec) Then
    Exit Function
    End If
    'Attempt to read the registry from each hostname read from the list of hostnames.
    For Each hostName In hostNames
    Do
    'Ensure the system responds to an ICMP request.
    If Not CheckConnection(hostName) Then
    LogMessage 2, "Failed to respond to an ICMP Request"
    Exit Do
    End If
    'Enumerate and read the registry values.
    If Not GetRegValues(results, hostName, keyName, regKey) Then
    Exit Do
    End If
    'Log the registry values results.
    For Each result In results
    LogMessage 0, result
    Next
    Loop Until True
    Next
    End Function
    'Name : GetScriptInput -> Reads a text file to be used as Script input.
    'Parameters : items -> Output: An array of items in the script input file.
    ' : fileSpec -> The full folder Path, file Name and extention of the script input file.
    'Return : GetScriptInput -> Returns an array of items for script input and True or False.
    Function GetScriptInput(items, fileSpec)
    Dim scriptInputFile, itemsDict, item
    GetScriptInput = False
    Set itemsDict = NewDictionary
    If Not objFSO.FileExists(fileSpec) Then
    Exit Function
    End If
    On Error Resume Next
    Set scriptInputFile = objFSO.OpenTextFile(fileSpec, ForReading)
    If Err.Number <> 0 Then
    Exit Function
    End If
    On Error Goto 0
    Do Until scriptInputFile.AtEndOfStream
    item = scriptInputFile.ReadLine
    If item = "" Then
    Exit Function
    End If
    If Not itemsDict.Exists(item) Then
    itemsDict.Add item, ""
    End If
    Loop
    items = itemsDict.Keys
    GetScriptInput = True
    End Function
    'Name : CheckConnection -> Checks a remote host using WMI ping.
    'Parameters : hostName -> Hostname of computer system to verify network connectivity with.
    'Return : Boolean -> True if hostname replies. False otherwise.
    Function CheckConnection(hostName)
    Dim ping, response, replied
    Set ping = GetObject("winmgmts:{impersonationLevel=impersonate}").ExecQuery _
    ("select * from Win32_PingStatus where address = '" & hostName & "'")
    For each response in ping
    replied = Not IsNull(response.StatusCode) And response.StatusCode = 0
    Next
    CheckConnection = replied
    End Function
    'Name : GetRegValues -> Enumerates the subkeys in a registry key and the values of the keyName.
    'Parameters : hostName -> String containing the hostName of the system to enumerate the registry keys on.
    ' : keyName -> String containing the name of the registry key value to enumerate.
    ' : regKey -> Registry key to enumerate subkey names for.
    'Return : GetRegValues -> Returns True and an Array containing the registry key values otherwise False.
    Function GetRegValues(results, hostName, keyName, regKey)
    Dim objReg, regDict, rootKey, hive, keyValue, subKeys, i
    GetRegValues = False
    rootKey = regKey
    hive = GetRegistryHiveFromKey(rootKey)
    On Error Resume Next
    If hive <> 0 Then
    'Create a dictionary object to store the registry values in.
    Set regDict = NewDictionary
    If Err.Number <> 0 Then
    LogMessage 1, "Creating Dictionary Object"
    Exit Function
    End If
    'Connect to the remote registry.
    Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & hostName & "\root\default:StdRegProv")
    If Err.Number <> 0 Then
    LogMessage 1, "Creating StdRegProv Object"
    Exit Function
    End If
    'Enumerate the subkey names within the regKey paramater.
    objReg.EnumKey hive, rootKey, subKeys
    If Err.Number <> 0 Then
    LogMessage 1, "Enumerating Registry Keys"
    Exit Function
    End If
    'Ensure the results are an array.
    If Not IsArray(subKeys) Then
    subKeys = Array(subKeys)
    End If
    'Read the registry key value for each subkey. Add the results to the dictionary.
    For i = 0 to UBound(subKeys)
    objReg.GetStringValue hive, rootKey & "\" & subKeys(i), keyName, keyValue
    If Err.Number = 0 Then
    If Not IsNull(keyValue) Then
    regDict(regDict.Count) = keyValue
    End If
    Else
    Err.Clear
    End If
    Next
    End If
    On Error Goto 0
    results = regDict.Items
    GetRegValues = True
    End Function
    'Name : GetRegistryHiveFromKey -> Get the hive ID from a registry key name.
    'Parameters: Input/Output: key -> Registry key name. Hive name will be removed.
    'Return : GetRegistryHiveFromKey -> ID of hive of given key name (0 if invalid).
    ' : -> The hive name is removed from the input key name.
    Function GetRegistryHiveFromKey (key)
    Dim pos, hive
    pos = Instr (key, "\")
    If pos = 0 Then
    pos = Len(key) + 1
    End If
    hive = Left (UCase (Left (key, pos - 1)) & " ", 4)
    key = Mid (key, pos + 1)
    GetRegistryHiveFromKey = Array(0, &H80000000, &H80000001, &H80000002, &H80000003, &H80000005, &H80000006) _
    (Int ((Instr("HKCR,HKCU,HKLM,HKU ,HKCC,HKDD", hive) + 4) / 5))
    End Function
    'Name : NewDictionary -> Creates a new dictionary object.
    'Parameters : None ->
    'Return : NewDictionary -> Returns a dictionary object.
    Function NewDictionary
    Dim dict
    Set dict = CreateObject("scripting.Dictionary")
    dict.CompareMode = vbTextCompare
    Set NewDictionary = dict
    End Function
    'Name : DQ -> Place double quotes around a string and replace double quotes
    ' : -> within the string with pairs of double quotes.
    'Parameters : stringValue -> String value to be double quoted
    'Return : DQ -> Double quoted string.
    Function DQ (ByVal stringValue)
    If stringValue <> "" Then
    DQ = """" & Replace (stringValue, """", """""") & """"
    Else
    DQ = """"""
    End If
    End Function
    'Name : IsoDateTimeString -> Generate an ISO date and time string from a date/time value.
    'Parameters : dateValue -> Input date/time value.
    'Return : IsoDateTimeString -> Date and time parts of the input value in "yyyy-mm-dd hh:mm:ss" format.
    Function IsoDateTimeString(dateValue)
    IsoDateTimeString = IsoDateString (dateValue) & " " & IsoTimeString (dateValue)
    End Function
    'Name : IsoDateString -> Generate an ISO date string from a date/time value.
    'Parameters : dateValue -> Input date/time value.
    'Return : IsoDateString -> Date part of the input value in "yyyy-mm-dd" format.
    Function IsoDateString(dateValue)
    If IsDate(dateValue) Then
    IsoDateString = Right ("000" & Year (dateValue), 4) & "-" & _
    Right ( "0" & Month (dateValue), 2) & "-" & _
    Right ( "0" & Day (dateValue), 2)
    Else
    IsoDateString = "0000-00-00"
    End If
    End Function
    'Name : IsoTimeString -> Generate an ISO time string from a date/time value.
    'Parameters : dateValue -> Input date/time value.
    'Return : IsoTimeString -> Time part of the input value in "hh:mm:ss" format.
    Function IsoTimeString(dateValue)
    If IsDate(dateValue) Then
    IsoTimeString = Right ("0" & Hour (dateValue), 2) & ":" & _
    Right ("0" & Minute (dateValue), 2) & ":" & _
    Right ("0" & Second (dateValue), 2)
    Else
    IsoTimeString = "00:00:00"
    End If
    End Function
    'Name : LogMessage -> Parses a message to the log file based on the messageType.
    'Parameters : messageType -> Integer representing the messageType.
    ' : -> 0 = message (writes to a ".csv" file)
    ' : -> 1 = error, (writes to a ".err" file including information relating to the error object.)
    ' : -> 2 = error message (writes to a ".err" file without information relating to the error object.)
    ' : message -> String containing the message to write to the log file.
    'Return : None ->
    Function LogMessage(messageType, message)
    Dim prefix, logType
    prefix = hostName
    Select Case messageType
    Case 0
    logType = "csv"
    Case 1
    logType = "err"
    message = "Error " & Err.Number & " (Hex " & Hex(Err.Number) & ") " & message & ". " & Err.Description
    Case Else
    LogType = "err"
    End Select
    If Not LogToCentralFile(scriptLogPath & "." & logType, hostName & "," & message) Then
    Exit Function
    End If
    End Function
    'Name : LogToCentralFile -> Attempts to Appends information to a central file.
    'Parameters : logSpec -> Folder path, file name and extension of the central log file to append to.
    ' : message -> String to include in the central log file
    'Return : LogToCentralFile -> Returns True if Successfull otherwise False.
    Function LogToCentralFile(logSpec, message)
    Dim attempts, objLogFile
    LogToCentralFile = False
    'Attempt to append to the central log file up to 10 times, as it may be locked by some other system.
    attempts = 0
    On Error Resume Next
    Do
    Set objLogFile = objFSO.OpenTextFile(logSpec, ForAppending, True)
    If Err.Number = 0 Then
    objLogFile.WriteLine message
    objLogFile.Close
    LogToCentralFile = True
    Exit Function
    End If
    Randomize
    Wscript.sleep 1000 + Rnd * 100
    attempts = attempts + 1
    Loop Until attempts >= 10
    On Error Goto 0
    End Function
    'Name : PromptStart -> Prompt when script starts.
    'Parameters : None ->
    'Return : None ->
    Function PromptStart
    MsgBox "Now processing the " & DQ(Wscript.ScriptName) & " script.", vbInformation, scriptBaseName
    End Function
    'Name : PromptEnd -> Prompts when script has completed.
    'Parameters : None ->
    'Return : None ->
    Function PromptEnd
    MsgBox "The " & DQ(Wscript.ScriptName) & " script has completed successfully.", vbInformation, scriptBaseName
    End Function
    'Name : PromptError -> Prompts when an unexpected script error occurs.
    'Parameters : None ->
    'Return : None ->
    'Function PromptEnd
    ' MsgBox "Error " & Err.Number & " (Hex " & Hex(Err.Number) & "). " & Err.Description, vbCritical, scriptBaseName
    'End Function

  • How to get latest added file from a folder using apple script

    Hi..
    I am trying to get a latest added file from a folder..and for this i have below script
    tell application "Finder"
        set latestFile to item 1 of (sort (get files of (path to downloads folder)) by creation date) as alias
        set fileName to latestFile's name
    end tell
    By using this i am not able to get latest file because for some files the creation date is some older date so is there any way to get latest file based on "Date Added" column of a folder.

    If you don't mind using GUI Scripting (you must enable access for assistive devices in the Accessibility System Preference pane), the following script should give you a reference to the last item added to any folder. Admittedly not the most elegant solution, but it works, at least under OS X 10.8.2.
    set theFolder to choose folder
    tell application "Finder"
        activate
        set theFolderWindow to container window of theFolder
        set alreadyOpen to exists theFolderWindow
        tell theFolderWindow
            open
            set theInitialView to current view
            set current view to icon view
        end tell
    end tell
    tell application "System Events" to tell process "Finder"
        -- Arrange by None:
        set theInitialArrangement to name of menu item 1 of menu 1 of menu item "Arrange By" of menu 1 of menu bar item "View" of menu bar 1 whose value of attribute "AXMenuItemMarkChar" is "✓"
        keystroke "0" using {control down, command down}
        -- Sort by Date Added:
        set theInitialSortingOrder to name of menu item 1 of menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1 whose value of attribute "AXMenuItemMarkChar" is "✓"
        keystroke "4" using {control down, option down, command down}
        -- Get the name of the last item:
        set theItemName to name of image 1 of UI element 1 of last scroll area of splitter group 1 of (window 1 whose subrole is "AXStandardWindow")
        -- Restore the initial settings:
        click menu item theInitialSortingOrder of menu 1 of menu item "Sort By" of menu 1 of menu bar item "View" of menu bar 1
        click menu item theInitialArrangement of menu 1 of menu item "Arrange By" of menu 1 of menu bar item "View" of menu bar 1
    end tell
    tell application "Finder"
        set current view of theFolderWindow to theInitialView -- restore the initial view
        if not alreadyOpen then close theFolderWindow
        set theLastItem to item theItemName of theFolder
    end tell
    theLastItem
    Message was edited by: Pierre L.

  • After the latest update, all my apple products reverted to an old icloud account.  As it no longer exists, I cannot get into it to delete it and add the correct id.  How can I change this, especially on my Macbook pro?

    After the latest update, all my apple products reverted to an old icloud account.  As it no longer exists, I cannot get into it to delete it and add the correct id.  How can I change this, especially on my Macbook pro?  There is no p/w related to it and even though I tried to reset "password" it won't allow as the id does not exist, neither does the email associated with the old id.  How do I switch it to a newer id?

    It's all rather odd because the old account cannot 'no longer exist' - if you don't have the correct password you won't be able to get into it, but you can't actually delete an iCloud account from the server.
    I'm afraid you will need the services of iCloud Support. If you currently happen to have AppleCare, either because you recently bought Apple hardware or have paid to extend the inititial period, you can contact them here:
    http://www.apple.com/support/icloud/contact/
    You will need the serial number of the covered hardware.
    If you are not covered by AppleCare, then - in common with other free email services - there is no free support and you may be asked to pay a fee.

  • I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    I am new in indesign scripting, please tell me how to write a script to get  content of a element in xml and then sort all the content

    Hi,
    May the below code is useful for you, but I dont know how to sort.
    Edit the tag as per your job request.
    alert(app.activeDocument.xmlElements[0].contents)
    //Second alert
    var xe = app.activeDocument.xmlElements[0].evaluateXPathExpression("//marginalnote");
    alert(xe.length)
    for(i=0; i<xe.length; i++)
        alert(xe[i].texts[0].contents)
    Regards
    Siraj

  • It says I can drag Pages documents from iMac to iCloud. But nothing shows up. Using latest with all turned on. How do I get Pages up to iCloud? The little wheel like action menu does not appear.

    It says I can drag Pages documents from iMac to iCloud. But nothing shows up.
    Using latest with all turned on. How do I get Pages up to iCloud? The little wheel like action menu does not appear.

    yes is tehre another way
    the directions do not explain anything other than drag
    or use the little action wheel menu

  • Script for getting all windows Drives freespace information

    Hi All,
    Any can post the batch script to get the disk drives freespace info for multiple servers.
    Cheers,
    Govind

    This is not an Oracle Database question, so it really does not belong in this forum. You can query the WMI database in each server to find the information. Try the following search on Google:
    hey scripting guy free disk spaceCharles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • I get this error all the time. Only happened since last month. Script: chrome://browser/content/tabbrowser.xml:537

    ever since up upgraded to firefox 6 i have had problems. i get this error all the time Script: chrome://browser/content/tabbrowser.xml:537
    MAKE IT STOP!!!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • TFS get latest with Integration Services project causes changes to dtproj file

    Does anyone know how to stop this behaviour? Get latest should not cause changes to be made to a file so far as I know.
    Also, when viewing the differences TFS says the files are identical...
    ...And, undo pending changes just results in the same changes being made once they're undone.

    Hi Dev4,
    Sorry for bringing you any inconvenience on waiting a long time for Microsoft assistance. Unfortunately your thread did not reach into our support queue until yesterday. I would like to check with you when you renewed or registered your subscription account.
    We can see it only after you registered or renewed your subscription account.
    For this issue, based on our analysis, it is mostly related to TFS. I have involved TFS engineers for a further look at this issue. Below is from their support:
    As far as I know the Get Latest operation synchronizes your workspace with the latest version on the TFS server.
    Please consider the following scenario, for example if one of your team members makes some changes to the Integration Services project and then submits these changes to the TFS server, however if you do not get that changed  Integration Services project
    to your local machine, the dtproj file on your local machine is different from that on the TFS server. At this time, when you get do the Get Latest Version operation in the Source Explorer, the dtproj file on your local machine will be “overwritten”
    by the server version. So it seems that your local dtproj file is changed.
    If you want to undo the Get Latest Version operation, you can just use the Get Specific Version operation in the Source Explorer to get your appropriate version of the dtproj file.
    Hope this helps,
    If you have questions about TFS in future, please post them in http://social.msdn.microsoft.com/forums/en-US/tfsversioncontrol/threads/ to
    get quick support.
    Regards, 
    Jerry
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact
     [email protected]

  • HT2204 Why is the app store not synced with icloud? Have so many logins and cannot login to one or the other sometimes. Wanted the latest updates to an app my friends already got and could not get the update all day long.

    Why is the app store not synced with icloud? Have so many logins and cannot login to one or the other sometimes. Wanted the latest updates to an app my friends already got and could not get the update all day long.

    In after 10 hours. Magic...

  • Powershell script to get Audit log settings for all site collections.

    Hi all,
    I am facing issue to get audit log details for all site collection across the farm with the below script. Could someone help me change the script.
    Function AuditValue($url)
    $site=Get-SPSite $url
    auditMask = $site.audit.auditflag
    return auditMask
    Get-SPSite -Limit All | Get-SPWeb -Limit All |
    Select Title,Url,AuditValue(Url)| export-csv "D:\scripts\Test\AuditDetails.csv" -notypeinformagettion
    Thanks Basva

    What errors are you getting? That is if any.
    Scrap that I see a few.
    Not had time to fix it fully. As I am now done at work, but this will help you on your way. It gets back only the audit flag value at the moment.
    Function AuditValue
    $site = Get-SPWeb "http://server" -limit ALL
    foreach($i in $site)
    $auditMask = $site.audit
    $list = $auditMask
    $list | Select-object auditflags
    AuditValue | out-file "C:\temp\AuditDetails.csv"
    EDIT::
    Function AuditValue
    $site = Get-SPWeb "http://SERVER" -limit ALL
    foreach($i in $site)
    $auditMask = $site.audit
    $list = $auditMask
    $list | Select-object @{Name="URL"; Expression ={$site.url}}, auditflags
    AuditValue | out-file "C:\temp\AuditDetails.csv"
    The above will also put URL 
    If this is helpful please mark it so. Also if this solved your problem mark as answer.

  • I have Aperture 2.1.4 on iMac OS X 10.4.1. I am getting a pattern across the entire image after clicking on a image in the browser in all projects.

    Aperture 2.1.4    iMac OS X 10.4.1
    Images look fine in Browser. When I click to enlarge I get a pattern across the entire image. This is true in all projects.
    Out of curiosity when I sent the image via email w pattern showing on screen the email is fine-no pattern.

    This may be an issue with the pde plugins. PDE stands for print dialog extension and are included with vendor drivers to provide access to printer features not supported by the core printing system. If you are using a Power PC driver (or sharing it from the G4 to the MacTel) then that may be a possible cause. See if HP offers a Universal Binary driver for your model.

Maybe you are looking for

  • DCM command did not complete successfully (-1)

    when I deploy a application in the Jdeveloper the following error occur. My server is 10g on linux. the connection test of the server is successful I cannot find a clue ** Thread[main,5,main] ** Thu Mar 23 11:02:45 CST 2006 ** ** EXCEPTION: java.net.

  • Infotype 2

    Hello, In Infotype 2 if the firstname and lastname are same is there any function module to get the name without duplicate. Regards, Aravind

  • TS4002 Mail with multiple Bcc shows "sent" but was never delivered to anyone. Help?

    Mail with multiple Bcc shows "sent" but was never delivered to anyone. Help?

  • How to export PDF from email to adobe reader on iPad

    I received PDF file in email that I'm opening on my iPad. Opened into Safari browser. Now how do I export or import into my documents folder in installed adobe reader on my iPad?

  • Forcing decimal places on string

    Hello, I have a table where number are stored in varchar columns... below I show an example: 3000 4000 7200.45 5471.4 145.14 What I need is to get these values with 2 decimal places... as the result below: 3000.00 4000.00 7200.45 5471.40 145.14 How c