New-FolderOverkoepelend
SYNOPSIS
Create a folder on V:/overkoepelend with proper NTFS security and associated assets.
SYNTAX
New-FolderOverkoepelend [-foldername] <String> [-task] <String> [-contactpersoon] <String> [-dienst] <String>
[-description] <String> [<CommonParameters>]
DESCRIPTION
This function creates a new folder on both a NetApp and DFS, sets the appropriate NTFS security, creates an Active Directory group for the folder, configures DFS Access-Based Enumeration (ABE), and adds a record to the SQL database `tblOverkoepelend` with additional information.
EXAMPLES
EXAMPLE 1
New-FolderOverkoepelend -foldername "testfolder_op_V_overkoepelend" -task "666666" -contactpersoon "Jan Oniem" -dienst "Dienst nutteloze zaken" -description "Deze map bevat allenhande testen die nutteloos zijn"
Creates a folder named "testfolder_op_V_overkoepelend" with the specified parameters and sets up all associated assets.
EXAMPLE 2
New-FolderOverkoepelend -foldername "FinanceReports" -task "123456" -contactpersoon "Jane Doe" -dienst "Finance" -description "Folder for storing finance reports"
Creates a folder named "FinanceReports" with the specified parameters and sets up all associated assets.
PARAMETERS
-foldername
The name of the folder to be created on V:/overkoepelend.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-task
The HEAT task ID associated with the folder creation.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-contactpersoon
The contact person for the folder.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-dienst
The department requesting the folder.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-description
A description of the folder.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.