Click here to Skip to main content
15,567,658 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: PowerShell AND C# Pin
PIEBALDconsult1-Jul-22 12:33
professionalPIEBALDconsult1-Jul-22 12:33 
GeneralRe: PowerShell AND C# Pin
Richard Andrew x641-Jul-22 13:29
professionalRichard Andrew x641-Jul-22 13:29 
GeneralRe: PowerShell AND C# Pin
jmaida1-Jul-22 15:47
jmaida1-Jul-22 15:47 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 4:38
professionalMSBassSinger2-Jul-22 4:38 
GeneralRe: PowerShell AND C# Pin
RickZeeland1-Jul-22 22:26
mveRickZeeland1-Jul-22 22:26 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 4:41
professionalMSBassSinger2-Jul-22 4:41 
GeneralRe: PowerShell AND C# Pin
dandy722-Jul-22 3:57
dandy722-Jul-22 3:57 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 4:34
professionalMSBassSinger2-Jul-22 4:34 
PS syntax is not intuitive. It is awful to work with.

What I do is create a C# library DLL project, and write unit tests for the class(es). Then I include my ps1 file, which I can run from within VS by using the PS ISE, which loads the cs file.

That gives me good source control, good testing, and minimal “script kiddie” coding.

C# is far more versatile and elegant with which to code. Since our team standardized on PS long before I got there (DevOps stuff), it then is compatible with what others are doing by staying within the PS world.
GeneralRe: PowerShell AND C# Pin
dandy724-Jul-22 12:01
dandy724-Jul-22 12:01 
GeneralRe: PowerShell AND C# Pin
Member 91670573-Jul-22 21:11
Member 91670573-Jul-22 21:11 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 7:49
professionalMSBassSinger4-Jul-22 7:49 
GeneralRe: PowerShell AND C# Pin
Kate-X2574-Jul-22 3:38
Kate-X2574-Jul-22 3:38 
GeneralRe: PowerShell AND C# Pin
Southmountain4-Jul-22 6:13
Southmountain4-Jul-22 6:13 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 7:50
professionalMSBassSinger4-Jul-22 7:50 
GeneralRe: PowerShell AND C# Pin
Kate-X25711-Jul-22 1:32
Kate-X25711-Jul-22 1:32 
GeneralRe: PowerShell AND C# Pin
NiL^4-Jul-22 6:29
NiL^4-Jul-22 6:29 
GeneralRe: PowerShell AND C# Pin
rnbergren4-Jul-22 6:46
rnbergren4-Jul-22 6:46 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 7:54
professionalMSBassSinger4-Jul-22 7:54 
GeneralRe: PowerShell AND C# Pin
jochance4-Jul-22 12:13
jochance4-Jul-22 12:13 
GeneralRe: PowerShell AND C# Pin
MSBassSinger6-Jul-22 8:38
professionalMSBassSinger6-Jul-22 8:38 
GeneralRe: PowerShell AND C# Pin
jochance6-Jul-22 9:40
jochance6-Jul-22 9:40 
GeneralRe: PowerShell AND C# Pin
MSBassSinger6-Jul-22 10:17
professionalMSBassSinger6-Jul-22 10:17 
GeneralRe: PowerShell AND C# Pin
jochance6-Jul-22 11:15
jochance6-Jul-22 11:15 
GeneralRe: PowerShell AND C# Pin
KLPounds5-Jul-22 4:06
KLPounds5-Jul-22 4:06 
GeneralRe: PowerShell AND C# Pin
Kirk 103898215-Jul-22 7:30
Kirk 103898215-Jul-22 7:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Would you use ChatGPT to do your work?
We're just talking about whether you would, not whether you should.
  Results   112 votes