Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

PowerShell Vs C# in Dynamics CRM

(0) ShareShare
ReportReport
Posted on by 132

Hello, 

I know a lot of poeple using PowerShell for CRM Tasks, I Always use C#. 
So I'm wondering when to use PowerShell instead of C# for  CRM ? 

Regards,

*This post is locked for comments

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: PowerShell Vs C# in Dynamics CRM

    Hi

    Powershell is mostly used by admins and power users to automate tasks, especially administrative/deployment related

    "PowerShell is a task-based command-line shell and scripting language built on .NET. PowerShell helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes."

    docs.microsoft.com/.../overview

    If you are are comfortable using Powershell, and if you do a lot of administrative tasks, then powershell could be your best choice

    docs.microsoft.com/.../

    docs.microsoft.com/.../overview

    But if you have not done much Powershell, if you are good at C#, you can do most of what you could do in Powershell in C#.

    Since your question does not mention where you are trying to use powershell, I wanted to mention this as well : You cannot use powershel to create plugin or Custom Workflow Activities.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans