Connection problems with ManagePartition executable
You are not using the 

 /Server:&lt;string&gt;                   /S Server name, default = (local)



  Failed to connect to server (local). ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)


From the readme page : 

ManagePartition
    /Command:&lt;string&gt;       short form /C command, default = CreateStagingFull
    /Server:&lt;string&gt;                   /S Server name, default = (local)
    /User:&lt;string&gt;                     /U User name, default = null
    /Password:&lt;string&gt;                 /P Password, default = null
    /Integrated[+|-]                   /E Integrated Security, default +
    /Database:&lt;string&gt;                 /d Database name
    /Schema:&lt;string&gt;                   /s Schema name – use quotes as delimiter if needed
    /PartitionTable:&lt;string&gt;           /t Partition table name - use quotes as delimiter if needed
    /PartitionNumber:&lt;int&gt;             /p Partition Number
    /PartitionRangeValue:&lt;string&gt;      /v Value string to input to partition function to specify partition number
    /StagingTable:&lt;string&gt;             /A Staging Table Name, default = null
          /ScriptOption:&lt;char&gt;               /O Scripting Option -- i à Include Script, o à Script Only (no execute)
          /ScriptFile:&lt;string&gt;               /f path and name of file for generated TSQL -- if excluded, script any output to stdout
    /Keep[+|-]                         /K Keep Staging Table if ClearPartition, default +

&lt;Command&gt; = ClearPartition | CreateStagingFull | CreateStagingNoindex | CreateStagingClusteredIndex | IndexStaging