ConvertFrom-MachineCatalog

Back to overview

NAME
ConvertFrom-MachineCatalog

SYNOPSIS
Convert a broker catalog to a hash

SYNTAX
ConvertFrom-MachineCatalog [-BrokerCatalog] <Catalog[]> [-ExcludeProvScheme] [-ExcludeAcctIdentityPool] [-ExcludeHostingUnit] [<CommonParameters>]


DESCRIPTION
Only those fields are extracted from the catalog object that are required for creating the catalog


PARAMETERS
-BrokerCatalog <Catalog[]>
Collection of broker catalog to convert to a hash

Required?                    true
Position?                    1
Default value
Accept pipeline input?       true (ByValue, ByPropertyName)
Accept wildcard characters?  false

-ExcludeProvScheme [<SwitchParameter>]
Whether to exclude the provisioning scheme

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

-ExcludeAcctIdentityPool [<SwitchParameter>]
Whether to exclude the account identity pool

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

-ExcludeHostingUnit [<SwitchParameter>]
Whether to exclude the hosting unit

Required?                    false
Position?                    named
Default value                False
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>ConvertFrom-MachineCatalog -BrokerCatalog (Get-BrokerCatalog)



-------------------------- EXAMPLE 2 --------------------------

C:\PS>Get-BrokerCatalog | ConvertFrom-MachineCatalog




RELATED LINKS
ConvertTo-MachineCatalog
New-MachineCatalog
Export-MachineCatalog