Remove-StorageSpacesEventLog
Published: February 6, 2013
Updated: February 6, 2013
Applies To: Windows 8, Windows Server 2012
Remove-StorageSpacesEventLog
Syntax
Detailed Description
The Remove-StorageSpacesEventLog cmdlet disables logging of notifications for Storage Spaces and removes existing logs created by running the New-StorageSpacesEventLog cmdlet.
This cmdlet requires administrative privileges.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- None
Outputs
The output type is the type of the objects that the cmdlet emits.
- None
Notes
-
The StorageSpaces module is a downloadable module available for use with Windows Server 2012 and Windows 8. You can download the module from the Script Center.
Examples
Example 1 – Disable logging
PS C:\> Remove-StorageSpacesEventLog
Related topics
