< Back

Get-LinaFileCategory

Fri Jan 10, 2020 9:17 pm

NAME Get-LinaFileCategory



SYNOPSIS

Retrieves the file categories on a Lina server.





SYNTAX

Get-LinaFileCategory [-Name <String>] [<CommonParameters>]



Get-LinaFileCategory [-ID <Int32>] [<CommonParameters>]





DESCRIPTION

Retrieves the file categories on a Lina server. Returns a set of file categories that correspond to the filter

criteria provided.





PARAMETERS

-Name <String>

Optional : Name of the file category to retrieve. Wilcards are allowed. For example : *FILECAT*



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ID <Int32>

Optional : ID of the file category to retrieve.



Required? false

Position? named

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

None





OUTPUTS

Array of LinaFileCategory Objects





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



PS C:\\>Get-LinaFileCategory



Retrieves all the file categories.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-LinaProtection -Name "*Text*"



Retrieves all the file categories with Text inside their names.











RELATED LINKS