< Back

Get-AdbResource

Fri Jan 10, 2020 7:18 pm

NAME Get-AdbResource



SYNOPSIS

Generic command to get an adb documents.





SYNTAX

Get-AdbResource [[-Session] <Object>] [-Type] <String> [-Name] <String[]> [[-Filter] <String>] [[-Sort] <String>]

[[-Field] <String[]>] [[-Limit] <Int32>] [[-Skip] <Int32>] [<CommonParameters>]





DESCRIPTION

Get a single document or list of documents from the adb. It the Name

parameter is specified, a single document is returned or an error if it

was not found.





PARAMETERS

-Session <Object>

The adb session.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Type <String>

The resource type to query.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Name <String[]>

The resource name.



Required? true

Position? 3

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Filter <String>

Specify how the items are sort.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Sort <String>

Specify how the items are sort.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Field <String[]>

Specified the fields to return.



Required? false

Position? 6

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Limit <Int32>

Option to limit the number of return objects.



Required? false

Position? 7

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-Skip <Int32>

Option to skip the specified number of first objects.



Required? false

Position? 8

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Resource name.





OUTPUTS

Adb documents.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-AdbResource -Type 'Item' -Name 'myserver'



Get the item myserver from the adb.











RELATED LINKS