deleted: CSV-configuration file references
This commit is contained in:
parent
99c1510a34
commit
582e36b05c
4 changed files with 4 additions and 14 deletions
|
|
@ -170,11 +170,6 @@ function getRoleType
|
|||
|
||||
function buildPrefixMatcher
|
||||
{
|
||||
param(
|
||||
[Parameter(Mandatory = $true, Position = 0)]
|
||||
[string]$CsvPath
|
||||
)
|
||||
|
||||
$byLength = [System.Collections.Generic.Dictionary[int, System.Collections.Generic.HashSet[string]]]::new()
|
||||
|
||||
foreach ($row in $SPK.ProfilPrefixes)
|
||||
|
|
|
|||
|
|
@ -1633,7 +1633,7 @@ function ProcessADObjects
|
|||
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
||||
}
|
||||
|
||||
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
|
||||
$prefixMatcher = buildPrefixMatcher
|
||||
|
||||
$ProfilNummer = 470000000
|
||||
$ProfilNummerLM = 471000000
|
||||
|
|
|
|||
|
|
@ -1633,8 +1633,8 @@ function ProcessADObjects
|
|||
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
||||
}
|
||||
|
||||
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
|
||||
|
||||
$prefixMatcher = buildPrefixMatcher
|
||||
|
||||
$ProfilNummer = 470000000
|
||||
$ProfilNummerLM = 471000000
|
||||
$iSonstiges = 0
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ Remove-Item -Path $LogFileName -ErrorAction Ignore
|
|||
|
||||
if ($Config.CleanWorkDirs)
|
||||
{
|
||||
clearWorkDirectories @($InstituteRootPathTmp, $InstituteRootPathOut)
|
||||
clearWorkDirectories @($InstituteRootPathTmp, $InstituteRootPathOut)
|
||||
}
|
||||
$IsTestMode = checkTestMode
|
||||
$InstitutsSourcePath = $PSScriptroot + "/Process-ADObjects-Work-" + $Institut + ".ps1"
|
||||
|
|
@ -96,11 +96,6 @@ $KURSPositionfunctionsPositionsInFilePathRegExp = "$InstituteRootPathIn" + $Inst
|
|||
$KURSProfileEmployeeInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-Mitarbeiter" + ".csv"
|
||||
$KURSProfileDAWRightsInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-DAWBerechtigungen" + ".csv"
|
||||
|
||||
################ this is NEW input ##################################################################
|
||||
$KURSProfileNumberMapping = "$InstituteRootPathIn" + $Institut + "_ProfilNummernMapping" + ".csv"
|
||||
$KURSProfilePrefixes = "$InstituteRootPathIn" + $Institut + "_ProfilPrefixe" + ".csv"
|
||||
################ this is NEW input ##################################################################
|
||||
|
||||
$ADObjectsFilePath = Get-ChildItem -Path $ADObjectsFilePathRegExp | Sort-Object Name | Select-Object -Last 1
|
||||
$ADObjectMembershipsFilePath = Get-ChildItem -Path $ADObjectMembershipsFilePathRegExp | Sort-Object Name | Select-Object -Last 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue