Click here to Skip to main content
15,396,239 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 11:33
professionalPIEBALDconsult1-Jul-22 11:33 
GeneralRe: PowerShell AND C# Pin
Richard Andrew x641-Jul-22 12:29
professionalRichard Andrew x641-Jul-22 12:29 
GeneralRe: PowerShell AND C# Pin
jmaida1-Jul-22 14:47
Memberjmaida1-Jul-22 14:47 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 3:38
professionalMSBassSinger2-Jul-22 3:38 
GeneralRe: PowerShell AND C# Pin
RickZeeland1-Jul-22 21:26
mveRickZeeland1-Jul-22 21:26 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 3:41
professionalMSBassSinger2-Jul-22 3:41 
GeneralRe: PowerShell AND C# Pin
dandy722-Jul-22 2:57
Memberdandy722-Jul-22 2:57 
GeneralRe: PowerShell AND C# Pin
MSBassSinger2-Jul-22 3:34
professionalMSBassSinger2-Jul-22 3: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 11:01
Memberdandy724-Jul-22 11:01 
GeneralRe: PowerShell AND C# Pin
Member 91670573-Jul-22 20:11
MemberMember 91670573-Jul-22 20:11 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 6:49
professionalMSBassSinger4-Jul-22 6:49 
GeneralRe: PowerShell AND C# Pin
Kate-X2574-Jul-22 2:38
MemberKate-X2574-Jul-22 2:38 
GeneralRe: PowerShell AND C# Pin
Southmountain4-Jul-22 5:13
MemberSouthmountain4-Jul-22 5:13 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 6:50
professionalMSBassSinger4-Jul-22 6:50 
GeneralRe: PowerShell AND C# Pin
Kate-X25711-Jul-22 0:32
MemberKate-X25711-Jul-22 0:32 
GeneralRe: PowerShell AND C# Pin
NiL^4-Jul-22 5:29
MemberNiL^4-Jul-22 5:29 
GeneralRe: PowerShell AND C# Pin
rnbergren4-Jul-22 5:46
Memberrnbergren4-Jul-22 5:46 
GeneralRe: PowerShell AND C# Pin
MSBassSinger4-Jul-22 6:54
professionalMSBassSinger4-Jul-22 6:54 
GeneralRe: PowerShell AND C# Pin
jochance4-Jul-22 11:13
Memberjochance4-Jul-22 11:13 
GeneralRe: PowerShell AND C# Pin
MSBassSinger6-Jul-22 7:38
professionalMSBassSinger6-Jul-22 7:38 
GeneralRe: PowerShell AND C# Pin
jochance6-Jul-22 8:40
Memberjochance6-Jul-22 8:40 
GeneralRe: PowerShell AND C# Pin
MSBassSinger6-Jul-22 9:17
professionalMSBassSinger6-Jul-22 9:17 
GeneralRe: PowerShell AND C# Pin
jochance6-Jul-22 10:15
Memberjochance6-Jul-22 10:15 
GeneralRe: PowerShell AND C# Pin
KLPounds5-Jul-22 3:06
MemberKLPounds5-Jul-22 3:06 
GeneralRe: PowerShell AND C# Pin
Kirk 103898215-Jul-22 6:30
MemberKirk 103898215-Jul-22 6: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

Do you expect users to read the instructions when using your apps?
  Results   134 votes