Skip to content

Commit eda46ad

Browse files
authored
Acrolinx edit for grammar (#12332)
1 parent 10f8807 commit eda46ad

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

reference/docs-conceptual/discover-powershell.md

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
description: Learn what PowerShell is and some essential commands used to discover more about PowerShell.
3-
ms.date: 01/31/2023
3+
ms.date: 09/02/2025
44
ms.topic: overview
55
title: Discover PowerShell
66
---
@@ -11,28 +11,25 @@ PowerShell is a command-line shell and a scripting language in one. PowerShell s
1111
Windows to help automate administrative tasks. Now, it runs cross platform and can be used for
1212
various tasks.
1313

14-
The thing that makes PowerShell unique is that it accepts and returns .NET objects, rather than
15-
text. This feature makes it easier to connect different commands in a _pipeline_.
14+
What makes PowerShell unique is that it accepts and returns .NET objects, rather than text. This
15+
feature makes it easier to connect different commands in a _pipeline_.
1616

1717
## What can PowerShell be used for?
1818

19-
Usage of PowerShell has grown since the days when it was Windows-only. It's still used for Windows
20-
task automation, but today, you can use it for tasks like:
19+
Initially, PowerShell was Windows-only. Now, it's cross-platform and can be used for various tasks
20+
like:
2121

2222
- **Cloud management**. PowerShell can be used to manage cloud resources. For example, you can
23-
retrieve information about cloud resources, as well as update or deploy new resources.
23+
retrieve information, update, or deploy new resources.
2424
- **CI/CD**. It can also be used as part of a Continuous Integration/Continuous Deployment pipeline.
2525
- **Automate tasks for Active Directory and Exchange**. You can use it to automate almost any task
2626
on Windows like creating users in Active Directory and mailboxes in Exchange.
2727

28-
There are many more areas of usage but the preceding list gives you a hint that PowerShell has come
29-
a long way.
30-
3128
## Who uses PowerShell?
3229

3330
PowerShell is a powerful tool that can help people working in a multitude of roles. Traditionally,
34-
PowerShell has been used by the System Administrator role but is now being used by people calling
35-
themselves DevOps, Cloud Ops, and even Developers.
31+
PowerShell was used by the System Administrators. Now it's being used by people calling themselves
32+
DevOps, Cloud Ops, and even Developers.
3633

3734
## PowerShell cmdlets
3835

@@ -53,8 +50,8 @@ discover what commands are available, what they do, and what types they operate
5350

5451
- `Get-Verb`. Running this command returns a list of verbs that most commands adhere to. The
5552
response includes a description of what these verbs do. Since most commands follow this naming
56-
convention, it sets expectations on what a command does. This helps you select the appropriate
57-
command and what to name a command, should you be creating one.
53+
convention, it sets expectations on what a command does. This command helps you select the
54+
appropriate verb and what to name a command when you create your own commands.
5855
- `Get-Command`. This command retrieves a list of all commands installed on your machine.
5956
- `Get-Member`. It operates on object based output and is able to discover what object, properties
6057
and methods are available for a command.
@@ -92,8 +89,8 @@ Exit ex Common Sets the current environment or context to the m
9289
## Find commands with Get-Command
9390

9491
The `Get-Command` cmdlet returns a list of all available commands installed on your system. The list
95-
you get back is quite large. You can limit the amount of information that comes back by filtering
96-
the response using parameters or helper cmdlets.
92+
can be large. You can limit the amount of information that comes back by filtering the response
93+
using parameters or helper cmdlets.
9794

9895
### Filter on name
9996

@@ -205,9 +202,9 @@ You can also use other cmdlets to filter results.
205202

206203
## Explore objects with Get-Member
207204

208-
Once you've been able to locate the cmdlet you want, you want to know more about what output it
209-
produces. The `Get-Member` cmdlet displays the type, properties, and methods of an object. Pipe the
210-
output you want to inspect to `Get-Member`.
205+
Once you locate the cmdlet you want, you want to know more about what output it produces. The
206+
`Get-Member` cmdlet displays the type, properties, and methods of an object. Pipe the output you
207+
want to inspect to `Get-Member`.
211208

212209
```powershell
213210
Get-Process | Get-Member
@@ -233,8 +230,8 @@ Get-Process | Get-Member -MemberType Method
233230
```
234231

235232
By default PowerShell only displays a few properties. The previous example displayed the `Name`,
236-
`MemberType` and `Definition` members. You can use `Select-Object` to specify properties you want to
237-
see. For example, you want to display only the `Name` and `Definition` properties:
233+
`MemberType`, and `Definition` members. You can use `Select-Object` to specify properties you want
234+
to see. For example, you want to display only the `Name` and `Definition` properties:
238235

239236
```powershell
240237
Get-Process | Get-Member | Select-Object Name, Definition

0 commit comments

Comments
 (0)