Save-SbecLogSession
Save-SbecLogSession is accessible with the help of BootEventCollector module. To configure BootEventCollector, go through this link.
Synopsis
Flushes the buffers in a log session to disk.
Description
The Save-SbecLogSession cmdlet flushes the buffers in a log session to disk. The session may be identified either by name or as an object.
Parameters
-Name
Specifies an array of session names.
Type: | String[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Session
Specifies an array of SbecEtwTrace.TraceSessionInfo objects.
Type: | TraceSessionInfo[] |
Position: | Named |
Default value: | None |
Accept pipeline input: | True (ByValue) |
Accept wildcard characters: | False |
Syntax
Save-SbecLogSession -Session <TraceSessionInfo[]> [<CommonParameters>]
Save-SbecLogSession -Name <String[]> [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Save-SbecLogSession
![Get-Command Save-SbecLogSession powershell script command cmdlet](https://i0.wp.com/tossolution.com/wp-content/uploads/2020/06/image-78.png?fit=769%2C89&ssl=1)
You can also read about
- Get-SbecLogSession
- Set-SbecLogSession
- Start-SbecLogSession
- Start-SbecSimpleLogSession
- Start-SbecNtKernelLogSession
- Stop-SbecLogSession
To know more PowerShell cmdlets(Commands) on BootEventCollector click here