?
Solved

PowerShell script to programmatically rename a .csv file to a .xls or .xlt file after .csv lands on a windows file share.

Posted on 2010-09-15
3
Medium Priority
?
714 Views
Last Modified: 2012-05-11
PowerShell script to programmatically rename a .csv file to a .xls or .xlt file after .csv lands on a windows file share.

Trying to find a solution that will change the format of the file...have a solution for renaming...it just does not change the format.
0
Comment
Question by:JGH5
[X]
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
3 Comments
 
LVL 29

Accepted Solution

by:
Michael Pfister earned 2000 total points
ID: 33680828
I assume you want to read the CSV into PowerShell and export it as an XLS?

There is no "export to XLS" function, but LucD wrote a nice PS function to do it.

http://www.lucd.info/2010/05/29/beyond-export-csv-export-xls/

HTH
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 34850242
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

752 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