This project is read-only.

NAME

get-pathTopologyVersion

SYNOPSIS

Returns the current DTE drive path topology version in-use by StudioShell, or
list all available path topology version numbers in your version of
StudioShell.

SYNTAX

get-pathTopologyVersion [-listAll] [<CommonParameters>]

DESCRIPTION

The layout of the DTE drive may change between releases of StudioShell. This
cmdlet provides a way to keep scripts compatible across different versions
of StudioShell.

Use this cmdlet to retrieve a list of path topology version numbers available
in your version of StudioShell. Specify the -listAll parameter to retrieve the
list of path topology version numbers.

If the -listAll parameters is not specified, then this cmdlet will return the
path topology version currently being used by StudioShell. You can change the
version in-use using the use-pathTopologyVersion cmdlet.

PARAMETERS

-listAll [<SwitchParameter>]
if specified, returns a list of all available path topology versions

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


<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS

None.

OUTPUTS

Version[]. The currently used path topology version, or all available versions.

EXAMPLES

EXAMPLE 1

C:\PS>$p = get-pathTopologyVersion

This example stores the current path topology version number in the variable $p.

EXAMPLE 2


C:\PS>get-pathTopologyVersion -listall

This example lists all known path topology versions.

RELATED LINKS

use-PathTopologyVersion
PSDTE
about_StudioShell_Version
about_StudioShell_Path
about_StudioShell_SolutionModules

Last edited Dec 30, 2011 at 4:31 AM by beefarino, version 1

Comments

No comments yet.