Erfahrung und Kompetenz
SBD Consulting

Verzeichnisstruktur

Bei der Installation kommt immer wieder die Frage auf, wie man die Struktur für Verzeichnisse im System Center Configuration Manager SCCM anlegen soll.

Die Antwort ist so einfach wie unvollständig: Was auch immer funktioniert.

Bei vielen unserer Kunden haben wir folgende Struktur eintwickelt:

 

Es gibt ein Share mit dem Namen Source$. Dieses Share kann entweder direkt am Standortserver liegen, oder auch auf einem anderen System, welche über ein SMB3 Share den Ordner zur verfügung stellt.

 

Ordnerstruktur

Innerhalb der einzelnen Ordner befinden sich die Verzeichnisse für die entsprechenden Software oder OSD Pakete.

OSD Struktur

 

 

 

 

 

 

 

 

 

 

 

Zum Erzeugen kann man folgendes Script verwenden:

#Hier werden die Paramter gesetzt
$Source = 'D:\Source'
$ShareName = 'Source$'
#Hier muss der Network Access Account verwendet werden
$NetworkAccount = 'DOMAIN\SCCM_NAA'

#Create Source Directory
New-Item -ItemType Directory -Path "$Source"

 

#Create Application Directory Structure
New-Item -ItemType Directory -Path "$Source\Applications"
New-Item -ItemType Directory -Path "$Source\Applications\Adobe"
New-Item -ItemType Directory -Path "$Source\Applications\Apple"
New-Item -ItemType Directory -Path "$Source\Applications\Citrix"
New-Item -ItemType Directory -Path "$Source\Applications\Microsoft"

#Create App-V Directory Structure
New-Item -ItemType Directory -Path "$Source\App-V"
New-Item -ItemType Directory -Path "$Source\App-V\Packages"
New-Item -ItemType Directory -Path "$Source\App-V\Source"

#Create Hardware Application Directory Structure
New-Item -ItemType Directory -Path "$Source\HardwareApplications"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Dell"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Dell\Latitude E9470"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Dell\Latitude E9470\x64"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\HP"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\HP\EliteBook 8540 G4"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\HP\EliteBook 8540 G4\x86"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\HP\EliteBook 8540 G4\x64"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Lenovo"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Lenovo\X1 Carbon"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Lenovo\X1 Carbon\x86"
New-Item -ItemType Directory -Path "$Source\HardwareApplications\Lenovo\X1 Carbon\x64"

#Create Hotfix Directory Structure
New-Item -ItemType Directory -Path "$Source\Hotfix"

#Create Import Directory Structure
New-Item -ItemType Directory -Path "$Source\Import"
New-Item -ItemType Directory -Path "$Source\Import\Baselines"
New-Item -ItemType Directory -Path "$Source\Import\MOFs"
New-Item -ItemType Directory -Path "$Source\Import\Task Sequences"

#Create Log Directory Structure
New-Item -ItemType Directory -Path "$Source\Logs"
New-Item -ItemType Directory -Path "$Source\Logs\MDTLogs"
New-Item -ItemType Directory -Path "$Source\Logs\MDTLogsDL"

#Create OSD Directory Structure
New-Item -ItemType Directory -Path "$Source\OSD"
New-Item -ItemType Directory -Path "$Source\OSD\BootImages"
New-Item -ItemType Directory -Path "$Source\OSD\Branding"
New-Item -ItemType Directory -Path "$Source\OSD\Branding\WinPE Background"
New-Item -ItemType Directory -Path "$Source\OSD\Captures"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x86"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x86\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x86\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x86\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x64"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x64\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x64\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1607 x64\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1709 x64"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1709 x64\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1709 x64\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverPackages\Windows 10 1709 x64\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x86"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x86\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x86\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x86\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x64"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x64\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x64\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1607 x64\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1709 x64"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1709 x64\Dell"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1709 x64\HP"
New-Item -ItemType Directory -Path "$Source\OSD\DriverSources\Windows 10 1709 x64\Lenovo"
New-Item -ItemType Directory -Path "$Source\OSD\MDTSettings"
New-Item -ItemType Directory -Path "$Source\OSD\MDTToolkit"
New-Item -ItemType Directory -Path "$Source\OSD\OSImages"
New-Item -ItemType Directory -Path "$Source\OSD\OSInstall"
New-Item -ItemType Directory -Path "$Source\OSD\Prestart"
New-Item -ItemType Directory -Path "$Source\OSD\USMT"

#Create Script Directory Structure
New-Item -ItemType Directory -Path "$Source\Script"

#Create State Capture Directory Structure
New-Item -ItemType Directory -Path "$Source\StateCapture"

#Create Tools Directory Structure
New-Item -ItemType Directory -Path "$Source\Tools"
New-Item -ItemType Directory -Path "$Source\Tools\PSTools"

#Create Windows Update Directory Structure
New-Item -ItemType Directory -Path "$Source\WindowsUpdates"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\MS SQL Server"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\System Center"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\Office 365"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\Visual Studio"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\Windows 10 1607"
New-Item -ItemType Directory -Path "$Source\WindowsUpdates\Windows 10 1709"

#Create WSUS Directory
New-Item -ItemType Directory -Path "$Source\WSUS"

 

 Im Anschluß sind noch die Berechtigungen zu setzen.