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
|
function buildPrefixMatcher
|
||||||
{
|
{
|
||||||
param(
|
|
||||||
[Parameter(Mandatory = $true, Position = 0)]
|
|
||||||
[string]$CsvPath
|
|
||||||
)
|
|
||||||
|
|
||||||
$byLength = [System.Collections.Generic.Dictionary[int, System.Collections.Generic.HashSet[string]]]::new()
|
$byLength = [System.Collections.Generic.Dictionary[int, System.Collections.Generic.HashSet[string]]]::new()
|
||||||
|
|
||||||
foreach ($row in $SPK.ProfilPrefixes)
|
foreach ($row in $SPK.ProfilPrefixes)
|
||||||
|
|
|
||||||
|
|
@ -1633,7 +1633,7 @@ function ProcessADObjects
|
||||||
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
||||||
}
|
}
|
||||||
|
|
||||||
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
|
$prefixMatcher = buildPrefixMatcher
|
||||||
|
|
||||||
$ProfilNummer = 470000000
|
$ProfilNummer = 470000000
|
||||||
$ProfilNummerLM = 471000000
|
$ProfilNummerLM = 471000000
|
||||||
|
|
|
||||||
|
|
@ -1633,7 +1633,7 @@ function ProcessADObjects
|
||||||
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
$adObjectEntry.GUIADGroupDisplayName = $DisplayName
|
||||||
}
|
}
|
||||||
|
|
||||||
$prefixMatcher = buildPrefixMatcher $KURSProfilePrefixes
|
$prefixMatcher = buildPrefixMatcher
|
||||||
|
|
||||||
$ProfilNummer = 470000000
|
$ProfilNummer = 470000000
|
||||||
$ProfilNummerLM = 471000000
|
$ProfilNummerLM = 471000000
|
||||||
|
|
|
||||||
|
|
@ -96,11 +96,6 @@ $KURSPositionfunctionsPositionsInFilePathRegExp = "$InstituteRootPathIn" + $Inst
|
||||||
$KURSProfileEmployeeInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-Mitarbeiter" + ".csv"
|
$KURSProfileEmployeeInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-Mitarbeiter" + ".csv"
|
||||||
$KURSProfileDAWRightsInFilePathRegExp = "$InstituteRootPathIn" + $Institut + "_KURSProfile-DAWBerechtigungen" + ".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
|
$ADObjectsFilePath = Get-ChildItem -Path $ADObjectsFilePathRegExp | Sort-Object Name | Select-Object -Last 1
|
||||||
$ADObjectMembershipsFilePath = Get-ChildItem -Path $ADObjectMembershipsFilePathRegExp | 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