< Back
Get-LinaProtectionZone
Post
NAME Get-LinaProtectionZone
SYNOPSIS
Retrieves the protection zones on a Lina server.
SYNTAX
Get-LinaProtectionZone [-Name <String>] [<CommonParameters>]
Get-LinaProtectionZone [-ID <Int32>] [<CommonParameters>]
Get-LinaProtectionZone [-Path <String>] [<CommonParameters>]
Get-LinaProtectionZone [-MatchingPath <String>] [<CommonParameters>]
DESCRIPTION
Retrieves the protection zones on a Lina server. Returns a set of protection zones that correspond to the filter
criteria provided.
PARAMETERS
-Name <String>
Optional : Name of the protection zone to retrieve. Wilcards are allowed. For example : *Mac*
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ID <Int32>
Optional : ID of the protection zone to retrieve.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Optional : Return protection containing this exact path. Wildcards character (*) will be considered only as
stars.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MatchingPath <String>
Optional : Return protection matching this path. Wilcards are allowed.
Required? false
Position? named
Default value
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 LinaProtectionZone Objects
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-LinaProtectionZone
Retrieves all the protection zones.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LinaProtectionZone -Name "*Mac*"
Retrieves all the protection zones with Mac inside their names.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-LinaProtectionZone -Path "\\*\\Users\\*\\"
Retrieves the protection zones matching this exact path.
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-LinaProtectionZone -MatchingPath "\\*\\Users\\*\\"
Retrieves all the protection zones matching this path (stars are considered as wildcards)
RELATED LINKS
SYNOPSIS
Retrieves the protection zones on a Lina server.
SYNTAX
Get-LinaProtectionZone [-Name <String>] [<CommonParameters>]
Get-LinaProtectionZone [-ID <Int32>] [<CommonParameters>]
Get-LinaProtectionZone [-Path <String>] [<CommonParameters>]
Get-LinaProtectionZone [-MatchingPath <String>] [<CommonParameters>]
DESCRIPTION
Retrieves the protection zones on a Lina server. Returns a set of protection zones that correspond to the filter
criteria provided.
PARAMETERS
-Name <String>
Optional : Name of the protection zone to retrieve. Wilcards are allowed. For example : *Mac*
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ID <Int32>
Optional : ID of the protection zone to retrieve.
Required? false
Position? named
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Path <String>
Optional : Return protection containing this exact path. Wildcards character (*) will be considered only as
stars.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-MatchingPath <String>
Optional : Return protection matching this path. Wilcards are allowed.
Required? false
Position? named
Default value
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 LinaProtectionZone Objects
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-LinaProtectionZone
Retrieves all the protection zones.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-LinaProtectionZone -Name "*Mac*"
Retrieves all the protection zones with Mac inside their names.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-LinaProtectionZone -Path "\\*\\Users\\*\\"
Retrieves the protection zones matching this exact path.
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-LinaProtectionZone -MatchingPath "\\*\\Users\\*\\"
Retrieves all the protection zones matching this path (stars are considered as wildcards)
RELATED LINKS