Hi guys,
I know about New-Folder cmdlet, but can't figure out how to create a folder in Networking section for new virtual sitributed switch
Did someone done this already?
Best regards, Sergey
Try like this
They are in a hidden folder called 'network', and there is one of these per datacenter
$dcName = 'MyDC'
$location = Get-Folder -Name network -Location (Get-Datacenter -Name $dcName)
New-Folder -Name Test -Location $location
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try like this
They are in a hidden folder called 'network', and there is one of these per datacenter
$dcName = 'MyDC'
$location = Get-Folder -Name network -Location (Get-Datacenter -Name $dcName)
New-Folder -Name Test -Location $location
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference