< Back
Remove-Access
Post
NAME Remove-Access
SYNOPSIS
Remove "Allow" permission added by "Add-StudentAccess"
SYNTAX
Remove-Access [[-Path] <String[]>] [[-Identity] <String>] [<CommonParameters>]
DESCRIPTION
Remove the NTFS Allow ACL for a given item for students access.
PARAMETERS
-Path <String[]>
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Identity <String>
AD identity to remove access
Required? false
Position? 2
Default value AllStudents
Accept pipeline input? true (ByPropertyName)
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>\\\\<server\\<share>\\<Path> | Remove-StudentAccess | Convertto-html | Out-File "Report.html"
Generate a report that lists the items students have been blocked from using.
RELATED LINKS
SYNOPSIS
Remove "Allow" permission added by "Add-StudentAccess"
SYNTAX
Remove-Access [[-Path] <String[]>] [[-Identity] <String>] [<CommonParameters>]
DESCRIPTION
Remove the NTFS Allow ACL for a given item for students access.
PARAMETERS
-Path <String[]>
Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Identity <String>
AD identity to remove access
Required? false
Position? 2
Default value AllStudents
Accept pipeline input? true (ByPropertyName)
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
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>\\\\<server\\<share>\\<Path> | Remove-StudentAccess | Convertto-html | Out-File "Report.html"
Generate a report that lists the items students have been blocked from using.
RELATED LINKS