web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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

I have the same question (0)
  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans