Getting Started with powershell

Overview

  • Introduction to Basics

    Installation Download https://github.com/powershell/powershell Working With Services # Get list of all the services Get-Service # to do multilining in powershell use pipe symbol at the end and press enter Get-Service | #press enter # List all the stopped services Get-Service | Where-Object Status -eq 'Stopped' Get-Service | where-object Status -eq 'Stopped' | select-object DisplayName,Status # assign the values to variables $data = Get-Service | where-object Status -eq 'Stopped' | select-object DisplayName,Status # now call this variable to check all the data $data #press enter # Output the data into file as it displays on shell $data | out-file .

I will get back to you ASAP.