Hello PS Folks,
I am trying to find the EXCEL file from a location and rename the Sheet Name in it.
I have the SSIS Package from which I am looking for the EXCEL File from a certain location and load the files data into database.
The scenario is that the User is changing the excel sheet name with every file and my SSIS Package is set to read the default sheet name "Sheet1", so the PAckage is failing.
Although I have written the script to change the sheet name but i am not able to run this PS1 script with XP_CMDSHELL to be able to run in the EXECUTE SQL Task in SSIS.
This PS1 script also need to be able to get the FILE LOCATION and FileName PArameters value from SSIS PAckage.
Please let me know, if its possible.
Thanks,
Abdul