Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2014-09-17
1
293 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.

861 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