<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Cannot validate argument on parameter &#039;SwitchName&#039;. - General Questions				            </title>
            <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/</link>
            <description>SolidCP Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 15 Jun 2026 07:53:37 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Answer: Cannot validate argument on parameter &#8216;SwitchName&#8217;.</title>
                        <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6414</link>
                        <pubDate>Fri, 04 Jan 2019 09:36:10 +0000</pubDate>
                        <description><![CDATA[Thanks. It has solved my problem. I really appreciate your help!]]></description>
                        <content:encoded><![CDATA[Thanks. It has solved my problem. I really appreciate your help!]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>vidur</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6414</guid>
                    </item>
				                    <item>
                        <title>Answer: Cannot validate argument on parameter &#8216;SwitchName&#8217;.</title>
                        <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6412</link>
                        <pubDate>Thu, 03 Jan 2019 22:09:29 +0000</pubDate>
                        <description><![CDATA[You didn&#039;t create an External Switch in Hyper-V server.]]></description>
                        <content:encoded><![CDATA[You didn't create an External Switch in Hyper-V server.

https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>Genadij</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6412</guid>
                    </item>
				                    <item>
                        <title>Answer: Cannot validate argument on parameter &#8216;SwitchName&#8217;.</title>
                        <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6407</link>
                        <pubDate>Thu, 03 Jan 2019 11:09:25 +0000</pubDate>
                        <description><![CDATA[Thanks Genadij. I am able to create the VM now without selecting the &quot;External Network enabled&quot; option.



I&#039;ve one more question. My HyperV provider setting is showing no option in &quot;Connect...]]></description>
                        <content:encoded><![CDATA[Thanks Genadij. I am able to create the VM now without selecting the "External Network enabled" option.

<img src="https://solidcp.com/wp-content/uploads/anspress-uploads/8aeba58f1eeb3448d763c55f5acc8a6d0a6b26be_3897.png" />

I've one more question. My HyperV provider setting is showing no option in "Connect to Network" dropdown. Please look at this screenshot. <img src="https://solidcp.com/wp-content/uploads/anspress-uploads/5639350b1b77d985d93363ffdad77a7341eb8c95_3897.png" />

Could you please advise what is missing so I can see the options in dropdown?

Thanks in advance.]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>vidur</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6407</guid>
                    </item>
				                    <item>
                        <title>Answer: Cannot validate argument on parameter &#8216;SwitchName&#8217;.</title>
                        <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6397</link>
                        <pubDate>Wed, 02 Jan 2019 21:55:35 +0000</pubDate>
                        <description><![CDATA[You need to select an Ethernet interface in the HyperV provider settings. If it is empty, then first create it in HyperV server.]]></description>
                        <content:encoded><![CDATA[You need to select an Ethernet interface in the HyperV provider settings. If it is empty, then first create it in HyperV server.]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>Genadij</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-6397</guid>
                    </item>
				                    <item>
                        <title>Cannot validate argument on parameter &#039;SwitchName&#039;.</title>
                        <link>https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-1224</link>
                        <pubDate>Wed, 02 Jan 2019 14:40:06 +0000</pubDate>
                        <description><![CDATA[I have an issue with SolidCP 1.4.2 with HyperV service provider configured. I am getting this error when I try to create a new VM: 

OS Template: Windows 2012 R2 DC

00:00:00 Setup external ...]]></description>
                        <content:encoded><![CDATA[<span>I have an issue with SolidCP 1.4.2 with HyperV service provider configured. I am getting this error when I try to create a new VM: </span>

OS Template: Windows 2012 R2 DC

00:00:00 Setup external network
00:00:00 Assigning external IP addresses
00:00:00 Setting external primary IP address
00:00:00 Setup management network
00:00:00 Management network setup - Skipped
00:00:00 Setup private network
00:00:00 Private network setup - Skipped
00:00:00 OS Template Generation: 2
00:00:00 SecureBoot: Enabled
00:00:00 OS Template: Win2012R2DC
00:00:00 Start Converting template VHD
00:00:00 Template VHD path: C:Hyper-VSCPTemplatesWin2012R2DC.vhdx
00:00:00 Converting to 'C:Hyper-VSCPCustomerscust4cust4-6Virtual Hard Diskscust4-6.vhdx'
00:03:16 Template VHD size: 80 GB
00:03:16 Expanding to 60 GB
00:03:16 Expand VHD - Skipped
00:03:23 Skip expanding VHD - no volumes found
00:03:23 Sysprep file: WindowsSystem32sysprepunattend.xml
00:03:23 Error processing sysprep file: Index was outside the bounds of the array.
00:03:24 CPU cores: 1
00:03:24 RAM: 1048 MB
00:03:24 Creating Virtual Machine object
00:03:30 Error creating Virtual Machine object: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.Management.Automation.ParameterBindingValidationException: <strong>Cannot validate argument on parameter 'SwitchName'. The argument is null or empty. Provide an argument that is not null or empty,</strong> and then try the command again. ---&gt; System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics) at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags) --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at SolidCP.Providers.Virtualization.PowerShellManager.ExecuteInternal(Command cmd, Boolean addComputerNameParameter, Boolean withExceptions) at SolidCP.Providers.Virtualization.NetworkAdapterHelper.Update(PowerShellManager powerShell, VirtualMachine vm) at SolidCP.Providers.Virtualization.HyperV2012R2.UpdateVirtualMachine(VirtualMachine vm) at SolidCP.Providers.Virtualization.HyperV2012R2.CreateVirtualMachine(VirtualMachine vm) at SolidCP.Server.VirtualizationServer2012.CreateVirtualMachine(VirtualMachine vm) --- End of inner exception stack trace ---
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'SwitchName'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---&gt; System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)
at System.Management.Automation.ParameterBinderBase.BindParameter(CommandParameterInternal parameter, CompiledCommandParameter parameterMetadata, ParameterBindingFlags flags)
--- End of inner exception stack trace ---
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at SolidCP.Providers.Virtualization.PowerShellManager.ExecuteInternal(Command cmd, Boolean addComputerNameParameter, Boolean withExceptions)
at SolidCP.Providers.Virtualization.NetworkAdapterHelper.Update(PowerShellManager powerShell, VirtualMachine vm)
at SolidCP.Providers.Virtualization.HyperV2012R2.UpdateVirtualMachine(VirtualMachine vm)
at SolidCP.Providers.Virtualization.HyperV2012R2.CreateVirtualMachine(VirtualMachine vm)
at SolidCP.Server.VirtualizationServer2012.CreateVirtualMachine(VirtualMachine vm)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Virtualization2012.VirtualizationServer2012.CreateVirtualMachine(VirtualMachine vm)
at SolidCP.EnterpriseServer.VirtualizationServerController2012.CreateVirtualMachineInternal(String taskId, VirtualMachine vm, LibraryItem osTemplate, Int32 externalAddressesNumber, Boolean randomExternalAddresses, Int32[] externalAddresses, Int32 privateAddressesNumber, Boolean randomPrivateAddresses, String[] privateAddresses, String summaryLetterEmail)
00:03:31 VPS was not created

Please advise, what could be the issue here?]]></content:encoded>
						                            <category domain="https://solidcp.com/forum/question/">General Questions</category>                        <dc:creator>vidur</dc:creator>
                        <guid isPermaLink="true">https://solidcp.com/forum/question/cannot-validate-argument-on-parameter-switchname/#post-1224</guid>
                    </item>
							        </channel>
        </rss>
		