My First PowerShell Script
So after installing the windows powershell in your machine, let's start with your first scripting step. 1. Open the PowerShell in Administrative ISE mode, for that search powershell ISE, right click then run as admin, put on your domain credentials and then press enter or if it does not asks for your credentials then simply click " Yes ". It would take 1 min to load up ISE. 2. Goto Script Pane and then try with below script: Get-Service -Name *server* | Select-Object Status , StartType , Name , DisplayName | Sort-Object StartType | Format-Table -AutoSize The above script would provide you list of services on which service name contains server. It would also provide you Status (Running or Not Running), StartType (Automatic, Manual or Disabled), service name and it's display name of the service. Syntax : cmdlet -Property <Property Name> Every command-let has it's property and you may use...