@@ -6,13 +6,14 @@ title: Gallery Search Syntax
6
6
---
7
7
# Gallery Search Syntax
8
8
9
- PowerShell Gallery offers a text searchbox where you can use words, phrases and keyword expressions to narrow down search results.
9
+ You can search the PowerShell Gallery using the [ PowerShell Gallery's web site] ( https://www.powershellgallery.com/ ) .
10
+ PowerShell Gallery web site offers a text searchbox where you can use words, phrases and keyword expressions to narrow down search results.
10
11
11
12
## Search by Keywords
12
13
13
14
dsc azure sql
14
15
15
- Search will do its best effort to find relevant documents containing all 3 keywords, and return matching documents.
16
+ Search attempts to find relevant documents containing all 3 keywords, and return matching documents.
16
17
17
18
## Search using Phrases and keywords
18
19
@@ -32,10 +33,9 @@ Currently the searchable fields are 'Id', 'Version', 'Tags', 'Author', 'Owner',
32
33
33
34
## Examples
34
35
35
- ID:"PSReadline"
36
- id:"AzureRM.Profile"
37
-
38
- finds packages with "PSReadline" or "AzureRM.Profile" in their ID field respectively.
36
+ ID:PSReadline
37
+
38
+ finds packages with an ID containing "PSReadline".
39
39
40
40
Id:"AzureRM.Profile"
41
41
@@ -45,40 +45,35 @@ The 'Id' filter is a substring match, so if you search for the following:
45
45
46
46
Id:"azure"
47
47
48
- You'll get results like ' AzureRM.Profile' and 'Azure.Storage'.
48
+ This provides results that include AzureRM.Profile' and 'Azure.Storage'.
49
49
50
- You can also search for multiple keywords in a single field. Or mix and match fields.
50
+ You can also search for multiple keywords in a single field.
51
51
52
52
id:azure tags:intellisense
53
- id:azure id:storage
54
53
55
- And you can perform phrase searches:
54
+ And you can perform phrase searches using double quotes :
56
55
57
56
id:"azure.storage"
58
57
59
-
60
58
To search all packages with DSC tag.
61
59
62
- Tags:" DSC"
60
+ Tags:DSC
63
61
64
62
To search all packages with the specified function.
65
63
66
- Functions:"Update-AzureRM"
64
+ Functions:Get-TreeSize
67
65
68
66
To search all packages with the specified cmdlet.
69
67
70
- Cmdlets:" Get-AzureRmEnvironment"
68
+ Cmdlets:Get-AzureRmEnvironment
71
69
72
70
To search all packages with the specified DSC Resource name.
73
71
74
- DscResources:" xArchive"
72
+ DscResources:xArchive
75
73
76
74
To search all packages with the specified PowerShellVersion
77
75
78
- PowerShellVersion:"5.0"
79
- PowerShellVersion:"3.0"
80
- PowerShellVersion:"2.0"
81
-
76
+ PowerShellVersion:2.0
82
77
83
78
Finally, if you use a field we don't support, such as 'commands', we'll just ignore it and search all the fields. So the following query
84
79
0 commit comments