< Back

Set-BTProject

Sat Jan 11, 2020 2:19 pm

NAME Set-BTProject



SYNOPSIS

Updates a Power365 Project, or sets the default Project.





SYNTAX

Set-BTProject [-Identity] <object> [-Default <SwitchParameter>] [-Session <Session>] [<CommonParameters>]





DESCRIPTION

Set-BTProject -Default makes the Project the default for the Session.





PARAMETERS

-Identity <object>

Project identity: ProjectId, ProjectName, or Project object.



Required? true

Position? 0

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Default <SwitchParameter>

Sets the default Project for the Session.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-Session <Session>

The Power365 Session in which to run the cmdlet. Defaults to the most recently used Session.



Required? false

Position? named

Default value

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.Object

Project identity: ProjectId, ProjectName, or Project object.





OUTPUTS

BinaryTree.Power365.SDK.Project





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



Set-BTProject -Identity 986 -Default

Set-BTProject -Identity 'My Project' -Default

Set-BTProject -Identity $project -Default

Sets the default Project by ProjectId, ProjectName, or a Project object.





RELATED LINKS