Déploiement d’un serveur DNS secondaire Windows Server 2022 avec PowerShell
Photo: Ray Raimundo / Pexels Contexte 📘 Dans une infrastructure Active Directory, la redondance du service DNS est cruciale pour éviter les interruptions de résolution …
Un site utilisant WordPress

Photo: Ray Raimundo / Pexels Contexte 📘 Dans une infrastructure Active Directory, la redondance du service DNS est cruciale pour éviter les interruptions de résolution …
Photo: Brett Sayles / Pexels 🖥️ Illustration PowerShell – dhcp01.corp.local PS C:\> Import-Module ServerManager PS C:\> Add-WindowsFeature -Name DHCP -IncludeManagementTools Success: Added Roles: DHCP PS …
Photo: Brett Sayles / Pexels 🖥️ Illustration PowerShell – DFSR Configuration PS C:\> Import-Module Dfsr PS C:\> New-DfsReplicationGroup -GroupName RG-Documents -Domain contoso.local [RG-Documents] Created replication …
Photo: panumas nikhomkhai / Pexels 🖥️ Illustration PowerShell – DFSR Configuration PS C:\> New-Item -Path « D:\DataShare » -ItemType Directory PS C:\> New-SmbShare -Name « DataShare » -Path « D:\DataShare » …
Photo: panumas nikhomkhai / Pexels 🖥️ Illustration PowerShell – RDS Deployment PS C:\> Install-WindowsFeature -Name RDS-RD-Server -IncludeManagementTools Installing Remote Desktop Services Session Host (RDS-RD-Server) … …
Photo: Ryszard Zaleski / Pexels 🖥️ Illustration PowerShell – Gestion AD PS C:\> New-ADOrganizationalUnit -Name « Finance » -Path « DC=contoso,DC=com » -ProtectedFromAccidentalDeletion $true # Création de l’OU Finance …
Photo: Pixabay / Pexels 🖥️ Illustration PowerShell – Export/Import GPO PS C:\> Get-GPO -All | Where-Object {$_.DisplayName -like « *Sécurité* »} | Select DisplayName,Id DisplayName Id ———————————– …
Photo: Brett Sayles / Pexels 🖥️ Illustration PowerShell – DFSR Replication PS C:\> Get-WindowsFeature -Name FS-DFS-Replication | ft -AutoSize Display Name Name Install State ———— …
Photo: Brett Sayles / Pexels 🖥️ Illustration PowerShell – Gestion des partages SMB PS C:\> New-Item -Path « D:\Data\Finance » -ItemType Directory -Force PS C:\> New-SmbShare -Name …
Photo: Brett Sayles / Pexels 🖥️ Illustration PowerShell – DFSR Configuration PS C:\> New-DfsReplicationGroup -GroupName « RG_ShareData » -Domain « contoso.com » PS C:\> Add-DfsrMember -GroupName « RG_ShareData » -ComputerName « SrvDC1 » …