Sync-MachineCatalog

Back to overview

NAME
Sync-MachineCatalog

SYNOPSIS
Ensures the same amount of resource in the new broker catalog

SYNTAX
Sync-MachineCatalog -BrokerCatalogName <String> -Count <Int32> [<CommonParameters>]

Sync-MachineCatalog -BrokerCatalogName <String> -NewBrokerCatalogName <String> [<CommonParameters>]


DESCRIPTION
Creates the same number of VMs in the new broker catalog as there are VMS present in the old broker catalog


PARAMETERS
-BrokerCatalogName <String>
The currently active broker catalog

Required?                    true
Position?                    named
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-NewBrokerCatalogName <String>
The new broker catalog

Required?                    true
Position?                    named
Default value
Accept pipeline input?       false
Accept wildcard characters?  false

-Count <Int32>

Required?                    true
Position?                    named
Default value                0
Accept pipeline input?       false
Accept wildcard characters?  false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).


-------------------------- EXAMPLE 1 --------------------------

C:\PS>Sync-ProvVM -BrokerCatalog 'BrokenCatalog' -NewBrokerCatalog 'FixedBrokerCatalog'


RELATED LINKS
New-MachineCatalog
Update-DeliveryGroup