?
Solved

DTUtil.exe

Posted on 2011-05-11
3
Medium Priority
?
1,534 Views
Last Modified: 2012-05-11
Hi

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
Emil
0
Comment
Question by:itcouple
  • 3
3 Comments
 
LVL 10

Author Comment

by:itcouple
ID: 35737035
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
Emil
0
 
LVL 10

Accepted Solution

by:
itcouple earned 0 total points
ID: 35737102
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"
0
 
LVL 10

Author Closing Comment

by:itcouple
ID: 35737104
Resolved
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Screencast - Getting to Know the Pipeline

862 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