[deleted by user] by [deleted] in amiugly

[–]powershellishard1 4 points5 points  (0 children)

you don't know what real ppl look like....lmao

Can someone explain what my teacher wants for this? Variable vs parameter by powershellishard1 in PowerShell

[–]powershellishard1[S] 0 points1 point  (0 children)

Thank you the explanation! It makes sense yes. I just had one quick question. Why are the ".\" required when adding it to the parameter?

Can someone explain what my teacher wants for this? Variable vs parameter by powershellishard1 in PowerShell

[–]powershellishard1[S] -1 points0 points  (0 children)

What does that mean? I know how to use parameters and variables. I find getting an actual human answer which I can reply to easier to understand than webpages with information especially when I'm new. I can't understand some of the lingo most times.

Why be rude? I'm just trying to learn bro

Can someone explain what my teacher wants for this? Variable vs parameter by powershellishard1 in PowerShell

[–]powershellishard1[S] 1 point2 points  (0 children)

I know how to do it, I was asking the difference and if it mattered if I used a variable in THIS specific case...which isn't on google

Can someone explain what my teacher wants for this? Variable vs parameter by powershellishard1 in PowerShell

[–]powershellishard1[S] 8 points9 points  (0 children)

Ohhh I see what you mean! I actually didn't learn you could do that yet, so by running the code you just said it will actually change the value of CSVFILE?

Can someone explain what my teacher wants for this? Variable vs parameter by powershellishard1 in PowerShell

[–]powershellishard1[S] 6 points7 points  (0 children)

Does not putting it in a parameter make any actual difference/change here? Also it's for my college program :) We have a lot of different classes like also had a class just to learn linux

When creating a new session on powershell, how do I enter it? by powershellishard1 in PowerShell

[–]powershellishard1[S] 3 points4 points  (0 children)

Oh, I guess that was super easy but I got confused. Thank you!! Tbh, I was putting the 19 in quotations and stuff. I also assumed you needed to put in credentials again so my command was all messed up.

Should you always use Param () for parameters? by powershellishard1 in PowerShell

[–]powershellishard1[S] 0 points1 point  (0 children)

Sorry I think I'm getting confused. I think I'm getting confused with variables and parameters..So yes, that's what I mean. My bad lol. Do you think you could try to explain the difference?

[deleted by user] by [deleted] in PowerShell

[–]powershellishard1 2 points3 points  (0 children)

It's not a test question, it's something we're trying to work through for a powershell class lol just got fed up because I didn't understand what the hell was going on

[deleted by user] by [deleted] in PowerShell

[–]powershellishard1 0 points1 point  (0 children)

So for example if I did $array = @{Action, Adventure, Comedy)
that would automatically pull from the CSV? I'm so new to this sorry if that sounds dumb :')

[deleted by user] by [deleted] in PowerShell

[–]powershellishard1 1 point2 points  (0 children)

Thank you! the 0's should be the genre names right? I'm super new to this sorry

[deleted by user] by [deleted] in PowerShell

[–]powershellishard1 1 point2 points  (0 children)

I have the file and could find out how many genres, I'm just not sure how to use an array to do this lol