Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>Update 2016:</strong></p> <p>Upgrade to the latest VisualSVN Server version that includes a PowerShell module that adds a number of PowerShell cmdlets for Subverion server and repository administrators. Read <a href="https://www.visualsvn.com/server/features/powershell/" rel="nofollow">VisualSVN Server | Scripting and Automation</a> page.</p> <p>The cmdlets should be very helpful in regular administration tasks and automation. Here is the complete list of VisualSVN Server PowerShell cmdlets: <a href="https://www.visualsvn.com/support/topic/00088/" rel="nofollow">KB88: VisualSVN Server PowerShell Cmdlet Reference</a>.</p> <p>As @IvanZhakov already suggested, you can create a new repository using <a href="https://www.visualsvn.com/support/topic/00088/#New-SvnRepository" rel="nofollow"><code>New-SvnRepository</code></a> cmdlet.</p> <p>Here is an example of creating a new repository MyRepository and grabbing its URL parameter:</p> <pre><code>$repo = New-SvnRepository -Name MyRepository $repo.URL </code></pre> <p><strong>Outdated answer:</strong></p> <p>I assume you mean VisualSVN <em>Server</em>, not VisualSVN extension for Visual Studio.</p> <ul> <li><p>You can create a repository with <a href="http://svnbook.red-bean.com/en/1.7/svn.ref.svnadmin.c.create.html" rel="nofollow"><code>svnadmin create</code></a> command or using VisualSVN Server's <a href="http://msdn.microsoft.com/en-us/library/aa394582%28v=vs.85%29.aspx" rel="nofollow">WMI (Windows Management Instrumentation)</a> provider. Here is the PowerShell command that creates a new repository "Repo1":</p> <p><code>Invoke-WmiMethod -namespace root\VisualSVN -class VisualSVN_Repository -Name Create -ArgumentList Repo1</code></p></li> <li><p>You can get URL of repository "Repo1" with the following PowerShell command:</p> <p><code>Get-WmiObject -namespace root\VisualSVN -class VisualSVN_Repository | Select-Object -expandproperty URL | Select-String -SimpleMatch "Repo1"</code></p></li> </ul> <p>If you want to explore VisualSVN Server WMI provider, you can check it's MOF file which is located in the following folder "%VISUALSVN_SERVER%\WMI" on the computer where VisualSVN Server installed. Using this file as a reference you can write a program to manage VisualSVN Server on a various programming languages.</p> <p>You may also want to check the MSDN article <a href="http://msdn.microsoft.com/en-us/library/aa393964%28v=VS.85%29.aspx" rel="nofollow">"Using WMI"</a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload