70-411

70-411 WSUS and PowerShell

Posted on

####################################################### #Install WSUS Install-WindowsFeature UpdateServices -IncludeManagementTools #Initial configuration New-Item c:WSUScontent -ItemType Directory  & ‘C:Program FilesUpdate ServicesToolsWsusUtil.exe’ postinstall contentdir=c:WSUScontent  #Review synchronization settings $myWsus = Get-WsusServer  $myWsus.GetSubscription() #Initial synchronization  $mySubs = $myWsus.GetSubscription()  $mySubs.StartSynchronizationForCategoryOnly() #Sync status $mySubs.GetSynchronizationProgress()   $mySubs.GetSynchronizationStatus()   $mySubs.GetLastSynchronizationInfo()  ####################################################### #Define the product categories to include $myProducts = Get-WsusProduct | Where-Object { $_.Product.Title -in ( ‘Windows 8.1’, ‘Windows […]

70-411

70-411 WDS Capture, Drivers, and PowerShell

Posted on

Creating a capture image, and adding drivers to WDS. Additionally, install and configure WDS entirely using PowerShell70-411 WDS Capture, Drivers, and PowerShell by edgoad PowerShell commands #Authorize DHCPAdd-DhcpServerInDC #Create DHCP scopeAdd-DhcpServerv4Scope -StartRange 172.23.0.50 -EndRange 172.23.0.60 -SubnetMask 255.255.255.0 -Name LAB -State Active #Install WDSInstall-WindowsFeature -Name WDS -IncludeAllSubFeature -IncludeManagementTools #Configure/authorize WDSwdsutil /initialize-server /reminst:”c:remoteinstall”wdsutil /start-server #Import boot imageImport-WdsBootImage […]