Creates a backup selection object for NTFS file system selections.
Creates a backup selection object for NTFS file system selections.
Specifies the path of the file system folder or file that you want to select. Wildcards accepted.
Required | true |
Position | 0 |
Accepts pipeline input | true (ByValue ByPropertyName) |
Accepts wildcard characters | false |
Specifies that the value of the Path parameter is a directory instead of a file.
Required | false |
Position | Named |
Accepts pipeline input | true (ByPropertyName) |
Accepts wildcard characters | false |
Specifies if you want to select all subfolders.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Excludes the filesystem selection specified by the -Path parameter.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Specifies that you want to select only the files modified since the previous backup.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Specifies if you want to select only the files that are read-only.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Specifies a DateTime object to filter files with a timestamp that is after the specified DateTime.
Required | true |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Specifies a DateTime object to filter files with a timestamp that is before the specified DateTime. If the FromDate parameter is specified but the ToDate parameter is not specified, the ToDate parameter is automatically set to the current day at 11:59:59 PM. The FromDate parameter must be before the ToDate parameter.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
Specifies the number of days to filter files that have not been accessed.
Required | false |
Position | Named |
Accepts pipeline input | false |
Accepts wildcard characters | false |
For more information about common parameters, type "Get-Help about_commonparameters".
You can pipe a string object to New-BEFileSystemSelection.
New-BEFileSystemSelection returns a BEFileSystemSelection object.
These commands create a backup definition that backs up the C: volume for the local computer using the "BackupToDisk" job defaults.
These commands submit a one-time backup that backs up all of the data on the local computer with the exception of the C:\Windows directory.