Summary
Initializes a repository in the current directory
Syntax
Initialize-Repository [<CommonParameters>]
Description
This command initializes a directory to be used as a repository. This command creates a .repository folder in the current directory, which contains the definition of the .repository and all its settings.
In order to un-initalize a directory, simple remove the .repository folder.
After initializing a repository, you must add at least one filter to define the content that this repository will receive.
If the directory already contains a repository, this command will fail.
Parameters
No parameters defined.
Examples
PS C:\> Initialize-Repository
See also
- Add-RepositoryFilter
- Remove-RepositoryFilter
- Get-RepositoryInfo
- Invoke-RepositorySync
- Invoke-RepositoryCleanup
- Set-RepositoryNotificationConfiguration
- Clear-RepositoryNotificationConfiguration
- Get-RepositoryNotificationConfiguration
- Show-RepositoryNotificationConfiguration
- Add-RepositorySyncFailureRecipient
- Remove-RepositorySyncFailureRecipient
- Test-RepositoryNotificationConfiguration
- Get-RepositoryConfiguration
- Set-RepositoryConfiguration