Solved

How to read a excel file and write into another excel using PowerShell script

Posted on 2014-09-17
1
300 Views
Last Modified: 2014-09-21
I have excel file with two sheets and I would like to read each sheet and write into another excel using PowerShell. Could you provide the code How can i do using powershell script
0
Comment
Question by:SURESH0518
1 Comment
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 40330800
You can use the module from TechNet gallery Import From and Export To Excel.

Ref : http://gallery.technet.microsoft.com/office/7b2fdc8f-a528-4f19-b9ef-f5af349dc906

Once you import the module to PowerShell you can use commands Export-Excel & Import-Excel
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
A brief introduction to what I consider to be the best editor for PowerShell.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
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 antispam), the admini…

756 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