Skip to content

Commit 9404a6e

Browse files
authored
Fix #4510 - add note about released in v6 (#4885)
* Fix #4510 - add note about released in v6 * add instructions for finding version
1 parent 1242fe0 commit 9404a6e

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

reference/6/Microsoft.PowerShell.Management/Remove-Service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Remove-Service [-InputObject <ServiceController>] [-WhatIf] [-Confirm] [<CommonP
3131

3232
The `Remove-Service` cmdlet removes a Windows service in the registry and in the service database.
3333

34+
> This cmdlet was added in PowerShell v6.
35+
3436
## EXAMPLES
3537

3638
### Example 1: Remove a service
@@ -155,4 +157,3 @@ To run this cmdlet, start PowerShell by using the **Run as administrator** optio
155157
[Stop-Service](Stop-Service.md)
156158
157159
[Suspend-Service](Suspend-Service.md)
158-

reference/7/Microsoft.PowerShell.Management/Remove-Service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Remove-Service [-InputObject <ServiceController>] [-WhatIf] [-Confirm] [<CommonP
3131

3232
The `Remove-Service` cmdlet removes a Windows service in the registry and in the service database.
3333

34+
> This cmdlet was added in PowerShell v6.
35+
3436
## EXAMPLES
3537

3638
### Example 1: Remove a service
@@ -155,4 +157,3 @@ To run this cmdlet, start PowerShell by using the **Run as administrator** optio
155157
[Stop-Service](Stop-Service.md)
156158
157159
[Suspend-Service](Suspend-Service.md)
158-

reference/docs-conceptual/how-to-use-docs.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ Use the version picker at the top of the page to select the version of PowerShel
2525

2626
![version picker](images/how-to-use-docs/picker-vall.gif)
2727

28+
You can verify the version of PowerShell you are using by inspecting the `$PSversionTable.PSVersion`
29+
value. The following example shows the output for Windows PowerShell v5.1.
30+
31+
```powershell
32+
$PSVersionTable.PSVersion
33+
```
34+
35+
```Output
36+
Major Minor Build Revision
37+
----- ----- ----- --------
38+
5 1 18362 145
39+
```
40+
2841
## Searching for articles
2942

3043
There are two ways to search for content in Docs. The simplest way is to use the filter box under

0 commit comments

Comments
 (0)