After Creating an Excel File

Batuhan,
Welcome to the forum. :wave:t3:

IMHO that’s a really bad idea.

:man_shrugging: … just an empty Excel file? Whatfor? What do you want to do with it?

That’s the next bad idea. I’m sorry if that’s not what you expected but I think you’re not doing yourself a favour learning PowerShell like this. I’d urgently recommend to learn the very basics of it (or any language) in a didactical structured way.

This way you learn to evaluate the output of AI tools if it’s reasonable or not.

If you need to work with Excel files you may take a look at the great module from Doug Finke ImportExcel.

Regardless of all that:
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.

Thanks in advance

Guide to Posting Code - Redux <---- Click :point_up_2:t4: :wink:

( !! Sometimes the preformatted text button hides behind the settings gear symbol. :wink: )

5 Likes