< Back

Enable-Access

Tue Jan 14, 2020 12:51 am

NAME Enable-Access



SYNOPSIS

Remove "Deny" permission added by "Deny-Access"





SYNTAX

Enable-Access [[-Path] <String[]>] [[-Identity] <String>] [<CommonParameters>]





DESCRIPTION

Remove the NTFS Deny ACL for a given item for students access.

Does not test that users get access permission. See Add-Access





PARAMETERS

-Path <String[]>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-Identity <String>

AD identity



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> | Enable-Access | Convertto-html | Out-File "Report.html"



Generate a report that lists the item students have been blocked from using.











RELATED LINKS