r/PowerShell • • May 06 '26

Question Powershell verbosity vs (ba)sh

I'm a beginner to powershell and I mostly wanted to know how people handle the long command names for working in powershell. Do you just learn to live with the long command names with lots of typing or do you make aliases for everything (e.g. the default Get-ChildItem = "ls")?

32 Upvotes

70 comments sorted by

View all comments

Show parent comment

1

u/BlackV May 07 '26

Update-DscConfiguration vs Set-DscLocalConfigurationManager

I assume you mean Update-DscLocalConfigurationManager? (as those are different commands)

to me, one would set (apply) a configuration to a node and one would update the existing configuration on a node

same would apply to iSCSI , update says "hey update my attached targets" (i.e. you've published a new drive) and the other would be "heyset` these settings on an iSCSI target" (i.e. i want to change a security setting)

Are you saying you think the name implies they do the same thing ? like just cause you were learning at the time ?

1

u/Duncanbullet May 07 '26

Yes, you're correct.

When i was learning it, to me it just wasn't very clear what the differences were in set vs update.

Overtime I just had to figure out what use cases fit each prefix.

1

u/BlackV May 07 '26

Ah cheers