Posted on 2011-05-11
Last Modified: 2012-05-11

I have .bat file with my dtutil.exe command which works fine but I'm trying to use powershell and it seems my dtutil command doesn't work.

Could you tell me if I can use PowerSheel and dtutil? I would appreciate some samples. I've tried google but as far as I understood I still have to use .bat file... I hope that is not true.

Many thanks
Question by:itcouple
    LVL 10

    Author Comment

    Good news is that dtutil is working with generate new id for file but I still cannot make run for my command which is below

    dtutil.exe /FILE ".\source.dtsx"/COPY FILE;"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Packages\destination.dtsx"

    it tell me Argument "FILE" for option "copy" is not valid.

    Any ideas?

    Many thanks in advance
    LVL 10

    Accepted Solution

    Found it. The semicolon was the problem

    dtutil.exe /FILE ".\source.dtsx"/COPY FILE";C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Packages\destination.dtsx"
    LVL 10

    Author Closing Comment


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Group Policy Delegation Recently, I was tasked with delegating permissions for a specific group of administrators to a specific list of Group Policy Objects(GPO). A couple of things need to happen here for this to work. If you want the Administrat…
    Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now