Site icon TOSS

BootEventCollector

powershell

BootEventCollector is an new feature introduced in Windows Server 2016

Setup and Boot Event Collector is feature name in the server. This feature enables the collection and logging of setup and boot events from other computer s on the network.

This feature is designed to help you to collect events and troubleshoot a headless machine- like Nano Server either locally or in a remote datacenter where you don’t have access to it. SBEC allows you to remotely view the setup and boot event off-box; in other words, before the OS even boots. This feature will stream all events off during the boot and setup process to a collector machine in your environment and save them into an ETL file.

We can Install Setup and Boot Event Collector feature in 2 ways one is through the PowerShell and another one is through Server Manager Tool(GUI)

Installing Setup and Boot Event Collector feature through Powershell(CLI)

Go to Windows server, PowerShell With Administrator access. Give the below command

Install-WindowsFeature Setup-and-Boot-Event-Collection

The above command install of the Setup and Boot Event Collector feature. Once this is completed we want to reboot the server.

Installing Setup and Boot Event Collector feature through Server Manager Tool GUI

Click on Start > Server Manager > Manage > Add Roles and Features

In Roles don’t required to select anything.

In Features Select “Setup and Boot Event Collection” > Next

Once You have completed with the Above Procedure GUI or Powershell we can use the below

Click on any of the cmdlet or description to get more details

Checkpoint-SbecActiveConfigCreates a configuration checkpoint.
Clear-SbecProviderCacheClears the provider cache.
Disable-SbecAutologgerDisables the forwarding of events to the Setup and Boot Event Collector in the AutoLogger settings.
Disable-SbecBcdDisables the event forwarding mode in BCD settings.
Enable-SbecAutologgerEnables the forwarding of the events to the Setup and Boot Event Collector in the AutoLogger settings.
Enable-SbecBcdEnables and configures the event forwarding mode in the BCD settings.
Enable-SbecBootImageEnables AutoLogger settings in offline WinPE Setup images.
Enable-SbecWdsBcdEnables the BCD settings in the offline boot images imported into the WDS server.
Get-SbecActiveConfigGets the current active configuration from the running Setup and Boot Event Collector.
Get-SbecBackupConfigGet the backup configuration files that are available to restore.
Get-SbecDestinationGet destination data files.
Get-SbecForwardingGets the current connections and how data is forwarded.
Get-SbecHistoryGets the recent history of changes in connection status.
Get-SbecLocalizedMessageGets a localized message string.
Get-SbecLogSessionGets the running log sessions.
Get-SbecTraceProvidersGets the ETW trace providers.
New-SbecUnattendFragmentCreates a fragment for Unattend.xml with post-install commands.
Redo-SbecActiveConfigRedoes a change to the current active configuration.
Restore-SbecBackupConfigRestores a configuration from a backup file.
Save-SbecInstanceWrites in-memory buffers to disk.
Save-SbecLogSessionFlushes the buffers in a log session to disk.
Set-SbecActiveConfigSets the new active configuration for the running Setup and Boot Event Collector.
Set-SbecLogSessionUpdates the settings for a log session.
Start-SbecInstanceStarts the Setup and Boot Event Collector service.
Start-SbecLogSessionStarts an ETW log session.
Start-SbecNtKernelLogSessionStarts an NT Kernel Logger log session with forwarding of events to the Collector.
Start-SbecSimpleLogSessionStarts a log session with the forwarding of events to the Collector.
Stop-SbecInstanceStops the Setup and Boot Event Collector.
Stop-SbecLogSessionStops a log session.
Test-SbecActiveConfigTests the active Boot Event Collector configuration.
Test-SbecConfigValidates a configuration.
Undo-SbecActiveConfigReverts a change to the active configuration.

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information. Paragraph

References are taken from official Microsoft websites

Exit mobile version