Skip to content

Commit b5587b2

Browse files
authored
Update description for FullyQualifiedModule parameter (#12561)
1 parent c70f638 commit b5587b2

File tree

4 files changed

+18
-58
lines changed

4 files changed

+18
-58
lines changed

reference/5.1/Microsoft.PowerShell.Core/Get-Command.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: System.Management.Automation.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Core
5-
ms.date: 08/19/2025
5+
ms.date: 12/03/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-command?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -393,27 +393,17 @@ Accept wildcard characters: False
393393

394394
### -FullyQualifiedModule
395395

396-
The value can be a module name, a full module specification, or a path to a module file.
397-
398-
When the value is a path, the path can be fully qualified or relative. A relative path is resolved
399-
relative to the script that contains the using statement.
400-
401-
When the value is a name or module specification, PowerShell searches the **PSModulePath** for the
402-
specified module.
396+
The value can be a module name or a full module specification. PowerShell searches the
397+
**PSModulePath** for the specified module.
403398

404399
A module specification is a hashtable that has the following keys.
405400

406401
- `ModuleName` - **Required** Specifies the module name.
407-
408402
- `GUID` - **Optional** Specifies the GUID of the module.
409-
410403
- It's also **Required** to specify at least one of the three below keys.
411-
412404
- `ModuleVersion` - Specifies a minimum acceptable version of the module.
413-
414405
- `MaximumVersion` - Specifies the maximum acceptable version of the module.
415-
416-
- `RequiredVersion` - Specifies an exact, required version of the module. This can't be used with
406+
- `RequiredVersion` - Specifies an exact, required version of the module. You can't use this with
417407
the other Version keys.
418408

419409
You can't specify the **FullyQualifiedModule** parameter in the same command as a **Module**
@@ -580,7 +570,7 @@ Accept wildcard characters: False
580570

581571
Indicates that this cmdlet gets only the following specified data about the command:
582572

583-
- Aliases Gets the standard name.
573+
- Aliases. Gets the standard name.
584574
- Cmdlets. Gets the syntax.
585575
- Functions and filters. Gets the function definition.
586576
- Scripts and applications or files. Gets the path and filename.

reference/7.4/Microsoft.PowerShell.Core/Get-Command.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: System.Management.Automation.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Core
5-
ms.date: 08/19/2025
5+
ms.date: 12/03/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-command?view=powershell-7.4&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -429,27 +429,17 @@ Accept wildcard characters: False
429429

430430
### -FullyQualifiedModule
431431

432-
The value can be a module name, a full module specification, or a path to a module file.
433-
434-
When the value is a path, the path can be fully qualified or relative. A relative path is resolved
435-
relative to the script that contains the using statement.
436-
437-
When the value is a name or module specification, PowerShell searches the **PSModulePath** for the
438-
specified module.
432+
The value can be a module name or a full module specification. PowerShell searches the
433+
**PSModulePath** for the specified module.
439434

440435
A module specification is a hashtable that has the following keys.
441436

442437
- `ModuleName` - **Required** Specifies the module name.
443-
444438
- `GUID` - **Optional** Specifies the GUID of the module.
445-
446439
- It's also **Required** to specify at least one of the three below keys.
447-
448440
- `ModuleVersion` - Specifies a minimum acceptable version of the module.
449-
450441
- `MaximumVersion` - Specifies the maximum acceptable version of the module.
451-
452-
- `RequiredVersion` - Specifies an exact, required version of the module. This can't be used with
442+
- `RequiredVersion` - Specifies an exact, required version of the module. You can't use this with
453443
the other Version keys.
454444

455445
You can't specify the **FullyQualifiedModule** parameter in the same command as a **Module**

reference/7.5/Microsoft.PowerShell.Core/Get-Command.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: System.Management.Automation.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Core
5-
ms.date: 08/19/2025
5+
ms.date: 12/03/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-command?view=powershell-7.5&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -429,27 +429,17 @@ Accept wildcard characters: False
429429

430430
### -FullyQualifiedModule
431431

432-
The value can be a module name, a full module specification, or a path to a module file.
433-
434-
When the value is a path, the path can be fully qualified or relative. A relative path is resolved
435-
relative to the script that contains the using statement.
436-
437-
When the value is a name or module specification, PowerShell searches the **PSModulePath** for the
438-
specified module.
432+
The value can be a module name or a full module specification. PowerShell searches the
433+
**PSModulePath** for the specified module.
439434

440435
A module specification is a hashtable that has the following keys.
441436

442437
- `ModuleName` - **Required** Specifies the module name.
443-
444438
- `GUID` - **Optional** Specifies the GUID of the module.
445-
446439
- It's also **Required** to specify at least one of the three below keys.
447-
448440
- `ModuleVersion` - Specifies a minimum acceptable version of the module.
449-
450441
- `MaximumVersion` - Specifies the maximum acceptable version of the module.
451-
452-
- `RequiredVersion` - Specifies an exact, required version of the module. This can't be used with
442+
- `RequiredVersion` - Specifies an exact, required version of the module. You can't use this with
453443
the other Version keys.
454444

455445
You can't specify the **FullyQualifiedModule** parameter in the same command as a **Module**

reference/7.6/Microsoft.PowerShell.Core/Get-Command.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
external help file: System.Management.Automation.dll-Help.xml
33
Locale: en-US
44
Module Name: Microsoft.PowerShell.Core
5-
ms.date: 08/19/2025
5+
ms.date: 12/03/2025
66
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/get-command?view=powershell-5.1&WT.mc_id=ps-gethelp
77
schema: 2.0.0
88
aliases:
@@ -439,7 +439,7 @@ Accept pipeline input: True (ByPropertyName)
439439
Accept wildcard characters: False
440440
```
441441

442-
### ExcludeModule
442+
### -ExcludeModule
443443

444444
Specify the name of one or more modules to be excluded from the search.
445445

@@ -457,27 +457,17 @@ Accept wildcard characters: False
457457

458458
### -FullyQualifiedModule
459459

460-
The value can be a module name, a full module specification, or a path to a module file.
461-
462-
When the value is a path, the path can be fully qualified or relative. A relative path is resolved
463-
relative to the script that contains the using statement.
464-
465-
When the value is a name or module specification, PowerShell searches the **PSModulePath** for the
466-
specified module.
460+
The value can be a module name or a full module specification. PowerShell searches the
461+
**PSModulePath** for the specified module.
467462

468463
A module specification is a hashtable that has the following keys.
469464

470465
- `ModuleName` - **Required** Specifies the module name.
471-
472466
- `GUID` - **Optional** Specifies the GUID of the module.
473-
474467
- It's also **Required** to specify at least one of the three below keys.
475-
476468
- `ModuleVersion` - Specifies a minimum acceptable version of the module.
477-
478469
- `MaximumVersion` - Specifies the maximum acceptable version of the module.
479-
480-
- `RequiredVersion` - Specifies an exact, required version of the module. This can't be used with
470+
- `RequiredVersion` - Specifies an exact, required version of the module. You can't use this with
481471
the other Version keys.
482472

483473
You can't specify the **FullyQualifiedModule** parameter in the same command as a **Module**

0 commit comments

Comments
 (0)