Skip to content
MorganTechSpace
  • Home
  • Powershell
  • Office 365
  • Azure AD
  • Exchange Online
  • SharePoint Online
  • Active Directory
  • Contact

C#

C# : Get Special Folder Path (Desktop, StartMenu, Program data)

March 14, 2020July 8, 2015 by Morgan

In C#, we can get the path of a special folder, such as Desktop, Program Files, Programs, Start Menu and …

Read more

Categories C#, Desktop, File System, PC

C# – Check current machine is Domain Controller or not

March 14, 2020July 6, 2015 by Morgan

We can determine whether the current machine is domain controller or not by checking Domain Role of the computer in …

Read more

Categories Active Directory, C#

C# – Sync AD Password with MS Office 365

March 16, 2020May 14, 2015 by Morgan

We can change or reset Office 365 password through Microsoft 365 Online Service using powershell with C#. You need to …

Read more

Categories Active Directory, C#, Office 365, Powershell

C# – Get PowerShell Output from MultiValuedProperty Value

March 16, 2020April 10, 2015 by Morgan

In C#, you can execute powershell commands and get output in separate runspace. The following C# example returns the exchange …

Read more

Categories C#, Exchange Server, Powershell

The type or namespace name ‘automation’ does not exist in the namespace ‘system.management’

March 11, 2020March 20, 2015 by Morgan

I have added the reference Assembly System.Management.Automation in my C# application to run PowerShell scripts from C# project. but I …

Read more

Categories C#, Powershell

C# – Set Full Control Permission to a Directory

March 11, 2020March 17, 2015 by Morgan

In C#, we can easily add full access control permission on a file or folder for an user account or …

Read more

Categories C#, File System, NTFS, NTFS Persmission

C# – Change Service Account Username and Password

March 11, 2020March 16, 2015 by Morgan

In C#, We modify Windows service account username and password using the WMI class Win32_Service and we can also update …

Read more

Categories C#, WIn32_API, Windows Service, WMI

RegisterStartupScript vs RegisterClientScriptBlock in ASP.NET

March 12, 2020February 28, 2015 by Morgan

Both are methods of ScriptManager class. These methods are used to dynamically insert clientside javascript into the webpage at run …

Read more

Categories ASP.NET, ASPX, C#, JavaScript

Call JavaScript Function from C# Code Behind in ASP.NET

March 12, 2020February 28, 2015 by Morgan

In this article, I am going to write C# and JavaScript code sample to call javascript functionfrom ASP.NET code behind. …

Read more

Categories ASP.NET, ASPX, C#, JavaScript

Get Session value in JavaScript using JQuery ajax

March 12, 2020February 26, 2015 by Morgan

In this article, I am going write C# and JavaScript code sample to access or check session value in JavaScript …

Read more

Categories ASP.NET, ASPX, C#, JavaScript, JQuery
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page12 Next →

Categories

  • Powershell
  • Microsoft 365
  • Azure AD
  • SharePoint Online
  • Exchange Online
  • Microsoft Teams
  • Office 365 Groups
  • Active Directory
  • Microsoft Graph
  • PnP-PowerShell
  • CSOM

Recent Posts

  • Get Azure AD (Entra ID) App-Only Access Token with PowerShell
  • Working with REST API in PowerShell using Invoke-RestMethod
  • M365 User SignIn Activity – Neither tenant is B2C or tenant doesn’t have premium license
  • How to Join or Concatenate String and Number Using PowerShell
  • Find Location and County by IP Address with PowerShell
  • Microsoft 365
  • Azure AD
  • SharePoint Online
  • Exchange Online
  • Microsoft Teams
  • Microsoft 365 Groups
  • OneDrive for Business
  • Azure AD Authentication
  • Active Directory
  • Exchange Server
  • PowerShell
  • PnP PowerShell
  • Microsoft Graph
  • CSOM
  • VBScript

Follow us

  • Facebook
  • Twitter
DMCA.com Protection Status
  • Privacy-Policy
  • Disclaimer
  • TermsOfUse
  • About
Copyright © 2025 MorganTechSpace