RoleBinPath\CentralAdminSetup.ps1; # Record time before Enabling CredSSP (Enabling CredSSP always kicks off a force GPUpdate) ...

. $RoleBinPath\CentralAdminSetup.ps1;            # Record time before Enabling CredSSP (Enabling CredSSP always kicks off a force GPUpdate)            [DateTime] $TimeStart = (Get-Date).AddSeconds(-1)            Enable-WSManCredSSP -DelegateComputer * -Role Client -Force                  # FFO Uses connection security firewall rules which will be reset when GPOs are Forcibly updated (can will cause network connection issues if             # Network calls are ocurring.              if ($RoleDatacenterFfoEnvironment -ieq "True")            {                # Wait until the GPO Update Start event is present                Wait-EventLogEntries  -EventLogPath "Microsoft-Windows-GroupPolicy/Operational" -EventId 4004 -StartTime $TimeStart -WaitSeconds 30                                # Wait until the GPO has completed the update                Wait-EventLogEntries  -EventLogPath "Microsoft-Windows-GroupPolicy/Operational" -EventId 8004 -StartTime $TimeStart -WaitSeconds 300            }