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

Command Prompt

How to Run PowerShell as Administrator

September 15, 2021 by Morgan

There are times we should have opened PowerShell with ‘Run as administrator‘ to execute commands which require elevated privileges. There …

Read more

Categories Command Prompt, Powershell, Powershell Tips

How to Logoff Remote Desktop User via Command Line

March 14, 2020July 21, 2015 by Morgan

We can logoff a remote desktop user session by using the command line tool Logoff. Logoff command syntax: LOGOFF [sessionname …

Read more

Categories Command Prompt, Network, Remote Administration, Remote Desktop (RDP)

List and Disconnect Remote Desktop Sessions via Command Line

March 14, 2020July 20, 2015 by Morgan

We can list all the Remote Desktop sessions by using the command line tool QWinsta and we can disconnect RDP …

Read more

Categories Command Prompt, Network, Remote Desktop (RDP)

Get hostname from ip address and vice versa in cmd

March 14, 2020July 8, 2015 by Morgan

We can resolve hostname from ip address using ping command in cmd (command prompt) and we can also get ip …

Read more

Categories Command Prompt, Network

Run as different user

March 16, 2020June 1, 2015 by Morgan

Running a program as different user is one of the easiest way to impersonate a Program/Application with some other user’s …

Read more

Categories Command Prompt, System Administration

Kill a process that won’t die when you use End Task in Task Manager

March 12, 2020March 13, 2015 by Morgan

Problem Unfortunately, today I have executed a time consuming powershell script through Windows Powershell Command utility. I have waited so …

Read more

Categories Command Prompt

Get Computer Name from IP Address and vise versa in CMD

March 12, 2020February 19, 2015 by Morgan

We can get computer name/machine name from ip address using either ping command or tracert and we can get ip …

Read more

Categories Command Prompt, Name Resolution, Network

Get Process Name from PID using Command Prompt in Windows

March 12, 2020January 8, 2015 by Morgan

You can find Process Name from Process ID (PID) using the command tasklist in command line windows, apart from command …

Read more

Categories Command Prompt

How to find a computer is joined to an Active Directory domain or not

March 12, 2020January 6, 2015 by Morgan

We can easily find whether a computer is joined to an Active Directory domain or not by various methods. In …

Read more

Categories Active Directory, Command Prompt, Desktop, Network

How to find which program uses or blocks port in Windows

March 12, 2020December 25, 2014 by Morgan

There are many ways and more tools find which process is using specific TCP port. In this article, I am …

Read more

Categories Command Prompt, Network, TCP
Older posts
Page1 Page2 Page3 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