You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Get-InstalledPSResource cmdlet combines the Get-InstalledModule, Get-InstalledScript cmdlets from V2. It performs a search within module or script installation paths based on the -Name parameter argument. It returns PSResourceInfo objects which describe each resource item found. Other parameters allow the returned results to be filtered by version and path.
20
+
The Get-InstalledPSResource cmdlet combines the Get-InstalledModule, Get-InstalledScript cmdlets from V2. It performs a search within module or script installation paths based on the -Name parameter argument. It returns PSResourceInfo objects which describes each resource item found. Other parameters allow the returned results to be filtered by version and path.
21
21
22
22
## EXAMPLES
23
23
@@ -49,14 +49,21 @@ PS C:\> Get-InstalledPSResource Az -Path .
49
49
50
50
This will return all versions of the Az module that have been installed in the current directory.
51
51
52
+
### Example 5
53
+
```powershell
54
+
PS C:\> Get-InstalledPSResource
55
+
```
56
+
57
+
This will return all versions and scripts installed on the machine.
58
+
52
59
## PARAMETERS
53
60
54
61
### -Name
55
-
Name of a resource or resources to find. Accepts wild card characters.
62
+
Name of a resource or resources to find. Accepts wild card characters or a null value.
56
63
57
64
```yaml
58
65
Type: System.String[]
59
-
Parameter Sets: (All)
66
+
Parameter Sets: NameParameterSet
60
67
Aliases:
61
68
62
69
Required: False
@@ -71,7 +78,7 @@ Specifies the path to search in.
0 commit comments