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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans