Showing posts with label Shell. Show all posts
Showing posts with label Shell. Show all posts

Wednesday, 26 April 2017

Install Bash Shell on Windows to Execute Linux Commands from Windows

Install Bash Shell on Windows to Execute Linux Commands from Windows


  • To install Bash,your PC should be running a 64-bit version of Windows 10 Anniversary Update build 14393 or later
  • Now Open Settings -> Update and Security -> For developers
  • Select the Developer Mode radio button

  • Then from Start, search for "Turn Windows features on or off" (type 'turn')
  • Select Windows Subsystem for Linux (beta)

  • Click OK
  • Now Open a PowerShell prompt as administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux


  • Restart your computer when prompted

Saturday, 20 December 2014

SCOM 2012 maintenacemode from Powershell or Command Shell

SCOM 2012 maintenacemode from Powershell or Command Shell


  • Now you can set the maintenace mode in SCOM using command shell or powershell
  • You the following command Start-SCOMMaintenanceMode