Adding Date to a file

I am very new to Powershell. My boss is asking for me to research a code that will download a copy of an excel file and add a current date/time to a saved file. Any help or point in the right direction will be appreciated.

Welcome to the forum. :wave:t4:

… and instead of following the order of your boss you came here to ask someone else to do it for you?! :smiling_face: :wink:

Please keep in mind - this forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

In general you are most of the times not the first one with a given task. And code for the most common tasks have been publiched already somewhere. So your first attempt should be to use your favorite search engine to search for examples.

Regardless of all that … you do not share enough precise information about your task. What do you mean with …

? … download from where?

Is it an *.XLSX file or a CSV file?

Where would you like to add the date/time? In the file name or in the file content? If in the content - where in the content? In what format should this date/time be?

1 Like

I’m asking for help or direction on how to find where to start. I watched a couple videos on PowerShell but again I am completely new to this language. My boss is also aware of me not knowing. But thank you I will go somewhere else and try to find help on this. I just figured I would give this forum a chance.

The amazing people that help on this forum do so on their own time. We are more than happy to help you with any issues with your powershell code. Please post the code your having trouble with. If you haven’t written any code, then understand your next step should be to research the topic and give it a shot. If this is not something you’re interested in doing, then I recommend you advise your boss of this and perhaps suggest he delegate to another staff member or hire someone to perform the requested task. I wish you luck with whichever way you decide. I also want to remind you that if you are welcome to come back seeking help with issues you encounter during this journey.

All I was hoping to get from this forum was somewhere to start looking on how to do this. I was hoping for some starter suggestions for YouTube, Google, Udemy, or Pluralsight. Shoot, saying there was a beginners forum would have been helpful, but I found that on my own. But you just assume that someone just needs a code fed to them or just don’t want to spend the time working on it. SMH. So I appreciate the time it has taken you to type out these responses and wish you luck on issues you encounter during your journey.

So you already started?! :man_shrugging:t4: That’s great. :+1:t4: :slightly_smiling_face: You could have told us.

Comming here with a particular task in mind, telling you don’t know PowerShell and asking for help looks like you’re asking someone to do it for you. And that happens often enough here. :smirk: And I’m afraid there will no be no source for a beginner especially for this particular task. So you will need to start with learning the very basics of general PowerShell first. :wink: But depending on the specific conditions of your task - you still didn’t reveal BTW - you don’t have to go far to know what it needs. :+1:t4:

The more specific you are with your question, the better the answers will be. Here you have some free ressources to start with.

But probably everything you find by yourself is good as well to just get started with. All that counts is to start - it does not matter with what. :wink:

Depending on your native language there are other commercial options available. If you don’t mind to have them in english you could start your PowerShell career with a good book like

And if you have any question about the code you write in the future you can come back

I apologize, that’s my mistake. I would start with google, YouTube, Pluralsight, or udemy. All of these are great starting points.

1 Like

Thank you, I look forward to looking over the information provided.

To be fair, I said that I was very new, not that I didn’t know any PowerShell. I didn’t put a lot of information into the first task because I am trying to understand the breakdown and how it works which is why I asked for a point in the right direction.

I apologize as well.

But we need to know as specific as possible what your requirements are to recommend someting meaningful. :wink:

You may start with answering some of the questions I asked in my first reply. :wink: Again … the more specific you are with your questions, the better the answers will be.

Hi, may I ask why do you recommend the third edition and not the fourth?

Welcome to the forum. :wave:t4:

I assume you’re refering to the “Getting Started …” tutorial … that’s the only well known tutorial they produced and published and the basics are still the same. So for a beginner it doesn’t matter.

BTW: Please do not hijack other peoples threads. Instead create a new one for yourself and place a link to the thread you’re referring to in your own question. :point_up_2:t4:

Thanks in advance.