Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search-TssMetadataFieldSection - new command
- Loading branch information
Showing
7 changed files
with
446 additions
and
68 deletions.
There are no files selected for viewing
127 changes: 127 additions & 0 deletions
127
docs/commands/metadata/Search-TssMetadataFieldSection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
# Search-TssMetadataFieldSection | ||
|
||
## SYNOPSIS | ||
Search Metadata Field Section that has metadata for a specific item | ||
|
||
## SYNTAX | ||
|
||
### item | ||
``` | ||
Search-TssMetadataFieldSection [-TssSession] <Session> -ItemId <Int32> -Type <MetadataType> [-SortBy <String>] | ||
[<CommonParameters>] | ||
``` | ||
|
||
### field | ||
``` | ||
Search-TssMetadataFieldSection [-TssSession] <Session> [-SectionFieldId <Int32>] [-SortBy <String>] | ||
[<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
Search Metadata Field Section that has metadata for a specific item | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
``` | ||
$session = New-TssSession -SecretServer https://alpha -Credential $ssCred | ||
Search-TssMetadataSection -TssSession $session -ItemId 5 | ||
``` | ||
|
||
Return field sections for Item ID 5 | ||
|
||
## PARAMETERS | ||
|
||
### -TssSession | ||
TssSession object created by New-TssSession for authentication | ||
|
||
```yaml | ||
Type: Session | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: True | ||
Position: 1 | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -ItemId | ||
Item ID to return metadata | ||
|
||
```yaml | ||
Type: Int32 | ||
Parameter Sets: item | ||
Aliases: | ||
|
||
Required: True | ||
Position: Named | ||
Default value: 0 | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -SectionFieldId | ||
Metadata Field ID | ||
|
||
```yaml | ||
Type: Int32 | ||
Parameter Sets: field | ||
Aliases: MetadataSectionFieldId | ||
|
||
Required: False | ||
Position: Named | ||
Default value: 0 | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -Type | ||
Metadata Type (Secret, User, Folder, Group) | ||
|
||
```yaml | ||
Type: MetadataType | ||
Parameter Sets: item | ||
Aliases: MetadataType | ||
Accepted values: Secret, User, Folder, Group | ||
|
||
Required: True | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -SortBy | ||
Sort by specific property, default ItemId | ||
|
||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: ItemId | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
|
||
## INPUTS | ||
|
||
## OUTPUTS | ||
|
||
### Thycotic.PowerShell.Metadata.FieldSectionSummary | ||
## NOTES | ||
Requires TssSession object returned by New-TssSession | ||
|
||
## RELATED LINKS | ||
|
||
[https://thycotic-ps.github.io/thycotic.secretserver/commands/metadata/Search-TssMetadataSection](https://thycotic-ps.github.io/thycotic.secretserver/commands/metadata/Search-TssMetadataSection) | ||
|
||
[https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/metadata/Search-TssMetadataSection.ps1](https://github.com/thycotic-ps/thycotic.secretserver/blob/main/src/functions/metadata/Search-TssMetadataSection.ps1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.