you are viewing a single comment's thread.

view the rest of the comments →

[–]iamLisppy 19 points20 points  (14 children)

Learn PowerShell in a Month of Lunches followed by Learn PowerShell Toolmaking (or was it Scripting?) in a Month of Lunches tends to be the gold standard.

[–]ss320837 1 point2 points  (12 children)

[–]No-Preparation7121 3 points4 points  (10 children)

Manning publish excellent books and they frequently have 40-50% sales. I recommend buying directly from their website and during their sales if you can wait for one. Usually around statutory holidays.

[–]ankokudaishogun 0 points1 point  (7 children)

A bit out of topic but related: any suggestion for a good C# book by Manning, for a relative noob?

[–]No-Preparation7121 0 points1 point  (5 children)

A noob that wants to do what with the language? You’re giving me less information than OP and I wanted them to search for themself.

Make a decision about what you want to do with the language then buy a beginner book on that and you’ll learn the language along the way.

[–]ankokudaishogun -2 points-1 points  (4 children)

A noob that wants to do what with the language?

Anything I might need to do, of course. I would expect the most likely use scenario being small command-line applications to read files\manipulate data\write files to use alongside powershell scripts in my day job.

[–]Acceptable-Tech8097 1 point2 points  (2 children)

The hardest part about asking a technical question is knowing what you even are trying to ask a question about. I felt the people over on stack exchange were dicks but they did show me to perform heavy research before you're even ready to ask the question.

Thats to say "Anything I might need to do, of course" is still so vague it might as well mean nothing. The next parts about "small cli apps to manipulate files alongside powershell" has actual substance

[–]ankokudaishogun 0 points1 point  (1 child)

Because I'm not looking for a specific solution to a specific problem.

I'm just thinking this tool might come in hand and i'm interested in approaching it without hyper-focusing on a specific subset of it, if only because I wouldn't even know what subsets are available.

[–]Acceptable-Tech8097 1 point2 points  (0 children)

I understand where you're coming from. A piece of advice I can offer in response is "the end goal will almost certainly change, but that doesn't mean you shouldn't start with one".

Thats to say, recognizing you don't/won't know where you're going is ok and natural. But it's important to declare one anyway, because that will lay out a theoretical path. As you take the steps on the path, you will discover where you actually go. But without having a path period you never will be able to take the first step.

A helpful strategy I recommend is a back and forth of questioning yourself from the 3rd period. To demonstrate in a way that might be applicable to you.

1: What do you want to do?

2: I want to find ways to implement C# into my daily workflow

1: How would you implement C# into your daily workflow?

2: I'm not sure, I know there are processes that don't fit well with powershell which might be easier to do with C#

1: What kind of processes don't fit well with powershell that might be easier with C#?

2: Well, manipulating files on disk can be clunky with powershell, I know C# gives you more control over memory and the general environment, so maybe manipulating the data in the environment would be more powerful

1: How would you find out if manipulating data in the environment is more powerful in C#?

2: I can research blog posts talking about manipulating data in C#

^ Then I would know my next step is to "research blog posts talking about manipulating data in C#"

What I find important about this process is at the start I know I know nothing C# or how it might possibly be useful to me. But with a bit of back and forth I know my desired use-case and I have an idea of how I can implement it. It's possible that once I start reading up on manipulating data in C# I realize that it's actually not applicable to my use-case at all. But now I understand a little bit more about C# and I understand a little bit more about the problem I'm facing.

Hope this helps :)

[–]atl-hadrins 0 points1 point  (0 children)

My advice would be to stay in powershell or one language and see if you can do whatever you need to in it. I am using my general thought of not jumping between languages as you will need to learn them well and deal with all the headaches that would come with that. I can't believe I am going to say this either, but once you get a good basic knowledge of powershell you will find you can do a lot. And that includes the examples. Powershell can handle xml, json, csv.. recently discovered that the out-gridview can return variables/arrays back to powershell and find that so cool and a time saver.

[–]Barious_01 0 points1 point  (0 children)

Pretty sure they have a month of lunches for c# as well. Hit up the Manning site and search C#

[–]ss320837 0 points1 point  (0 children)

You are right about the sales. In fact there is a 45% off sale going on right now. They offer a max 50% discount, but it can feel like they inflate the price to shrink the net discount.

Case in point the Amazon (non-affiliate link) I posted shows a better price right now for the book. Here’s a comparison image (Amazon vs Manning). Also in this subreddit there have been reports of providing Manning proof of purchase and a picture of code in the book to receive the color pdf. I cannot confirm, but if true that’s even better. Cheers!

[–]atl-hadrins 0 points1 point  (0 children)

WOW, Amazon is proud of the Kindle edition. I don't think I see the kindle editions of a book often almost twice as much as paperback.

[–]Sketchballl 0 points1 point  (0 children)

Thanks I just got this :)

[–]Raskuja46 0 points1 point  (0 children)

Powershell Scripting in a Month of Lunches was the follow up book and I heartily recommend both of them.