en-US/DBC_ACC.dll-Help.xml
<?xml version="1.0" encoding="utf-8"?>
<helpItems schema="maml" xmlns="http://msh"> <!-- Cmdlet: Get-ACCCompanies --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCCompanies</command:name> <command:verb>Get</command:verb> <command:noun>ACCCompanies</command:noun> <maml:description> <maml:para>Get Registered companies for Autodesk Construction Cloud Hub.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Get-ACCCompanies</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>Hub Id from Get-ACCHubs</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>Hub Id from Get-ACCHubs</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs -Token $token $companies = Get-ACCCompanies $hubs[0].HubId -Token $token </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCHubs --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCHubs</command:name> <command:verb>Get</command:verb> <command:noun>ACCHubs</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Hubs for this user.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Token --> <command:syntaxItem> <maml:name>Get-ACCHubs</maml:name> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs -Token $token </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCProject</command:name> <command:verb>Get</command:verb> <command:noun>ACCProject</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Project by Project Id.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ProjectId --> <command:syntaxItem> <maml:name>Get-ACCProject</maml:name> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $projects = Get-ACCProject $projectId -Token $token </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-ACCProject --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-ACCProject</command:name> <command:verb>New</command:verb> <command:noun>ACCProject</command:noun> <maml:description> <maml:para>Create new Autodesk Construction Cloud Project.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>New-ACCProject</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: City --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>City</maml:name> <maml:description> <maml:para>City.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>State</maml:name> <maml:description> <maml:para>State or Province.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PostalCode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>PostalCode</maml:name> <maml:description> <maml:para>Postal or Zip Code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CountryCode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>CountryCode</maml:name> <maml:description> <maml:para>2 Letter Country Code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timezone --> <command:parameter required="false" globbing="false" pipelineInput="false" position="16"> <maml:name>Timezone</maml:name> <maml:description> <maml:para>Timezone (from list). Defaults to America/New_York</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>America/New_York</dev:defaultValue> </command:parameter> <!-- Parameter: ConstructionType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="17"> <maml:name>ConstructionType</maml:name> <maml:description> <maml:para>Construction Type (from list). Defaults to Other.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: DeliveryMethod --> <command:parameter required="false" globbing="false" pipelineInput="false" position="18"> <maml:name>DeliveryMethod</maml:name> <maml:description> <maml:para>Delivery Method (from list). Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: ContractType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="19"> <maml:name>ContractType</maml:name> <maml:description> <maml:para>Contract Type (from list). Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectName</maml:name> <maml:description> <maml:para>Project Name to create</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: CurrentPhase --> <command:parameter required="false" globbing="false" pipelineInput="false" position="20"> <maml:name>CurrentPhase</maml:name> <maml:description> <maml:para>Current Phase (from list). Defaults to Construction.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Construction</dev:defaultValue> </command:parameter> <!-- Parameter: AdministratorCompanyId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="21"> <maml:name>AdministratorCompanyId</maml:name> <maml:description> <maml:para>Administrator's company id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Administrators --> <command:parameter required="true" globbing="false" pipelineInput="false" position="22"> <maml:name>Administrators</maml:name> <maml:description> <maml:para>Administrators' user names (emails).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StartDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="23"> <maml:name>StartDate</maml:name> <maml:description> <maml:para>Start date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/2000 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: EndDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="24"> <maml:name>EndDate</maml:name> <maml:description> <maml:para>Start date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/2030 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Type of project from standard list. Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: Classification --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Classification</maml:name> <maml:description> <maml:para>Classification of project from standard list. Defaults to production.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>production</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectValue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ProjectValue</maml:name> <maml:description> <maml:para>Project value.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectCurrency --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ProjectCurrency</maml:name> <maml:description> <maml:para>Project value currency units. Default is USD.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>USD</dev:defaultValue> </command:parameter> <!-- Parameter: JobNumber --> <command:parameter required="true" globbing="false" pipelineInput="false" position="7"> <maml:name>JobNumber</maml:name> <maml:description> <maml:para>Internal job number.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AddressLine1 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>AddressLine1</maml:name> <maml:description> <maml:para>Address Line 1.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AddressLine2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>AddressLine2</maml:name> <maml:description> <maml:para>Address Line 2.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectName</maml:name> <maml:description> <maml:para>Project Name to create</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: ProjectType --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>ProjectType</maml:name> <maml:description> <maml:para>Type of project from standard list. Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: Classification --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Classification</maml:name> <maml:description> <maml:para>Classification of project from standard list. Defaults to production.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>production</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectValue --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>ProjectValue</maml:name> <maml:description> <maml:para>Project value.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: ProjectCurrency --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>ProjectCurrency</maml:name> <maml:description> <maml:para>Project value currency units. Default is USD.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>USD</dev:defaultValue> </command:parameter> <!-- Parameter: JobNumber --> <command:parameter required="true" globbing="false" pipelineInput="false" position="7"> <maml:name>JobNumber</maml:name> <maml:description> <maml:para>Internal job number.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AddressLine1 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="8"> <maml:name>AddressLine1</maml:name> <maml:description> <maml:para>Address Line 1.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: AddressLine2 --> <command:parameter required="false" globbing="false" pipelineInput="false" position="9"> <maml:name>AddressLine2</maml:name> <maml:description> <maml:para>Address Line 2.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: City --> <command:parameter required="false" globbing="false" pipelineInput="false" position="10"> <maml:name>City</maml:name> <maml:description> <maml:para>City.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: State --> <command:parameter required="false" globbing="false" pipelineInput="false" position="11"> <maml:name>State</maml:name> <maml:description> <maml:para>State or Province.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: PostalCode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="12"> <maml:name>PostalCode</maml:name> <maml:description> <maml:para>Postal or Zip Code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: CountryCode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="13"> <maml:name>CountryCode</maml:name> <maml:description> <maml:para>2 Letter Country Code.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Timezone --> <command:parameter required="false" globbing="false" pipelineInput="false" position="16"> <maml:name>Timezone</maml:name> <maml:description> <maml:para>Timezone (from list). Defaults to America/New_York</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>America/New_York</dev:defaultValue> </command:parameter> <!-- Parameter: ConstructionType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="17"> <maml:name>ConstructionType</maml:name> <maml:description> <maml:para>Construction Type (from list). Defaults to Other.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: DeliveryMethod --> <command:parameter required="false" globbing="false" pipelineInput="false" position="18"> <maml:name>DeliveryMethod</maml:name> <maml:description> <maml:para>Delivery Method (from list). Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: ContractType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="19"> <maml:name>ContractType</maml:name> <maml:description> <maml:para>Contract Type (from list). Defaults to Other</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Other</dev:defaultValue> </command:parameter> <!-- Parameter: CurrentPhase --> <command:parameter required="false" globbing="false" pipelineInput="false" position="20"> <maml:name>CurrentPhase</maml:name> <maml:description> <maml:para>Current Phase (from list). Defaults to Construction.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>Construction</dev:defaultValue> </command:parameter> <!-- Parameter: AdministratorCompanyId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="21"> <maml:name>AdministratorCompanyId</maml:name> <maml:description> <maml:para>Administrator's company id.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Administrators --> <command:parameter required="true" globbing="false" pipelineInput="false" position="22"> <maml:name>Administrators</maml:name> <maml:description> <maml:para>Administrators' user names (emails).</maml:para> </maml:description> <command:parameterValue required="true">string[]</command:parameterValue> <dev:type> <maml:name>System.String[]</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: StartDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="23"> <maml:name>StartDate</maml:name> <maml:description> <maml:para>Start date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/2000 12:00:00 AM</dev:defaultValue> </command:parameter> <!-- Parameter: EndDate --> <command:parameter required="false" globbing="false" pipelineInput="false" position="24"> <maml:name>EndDate</maml:name> <maml:description> <maml:para>Start date.</maml:para> </maml:description> <command:parameterValue required="true">DateTime</command:parameterValue> <dev:type> <maml:name>System.DateTime</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>1/1/2030 12:00:00 AM</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $companies = Get-ACCHubCompanies $hubs[0].HubId -Token $token $today = Get-Date -Format "yyyy-MM-dd" $projectName = $today + " " + (Get-RandomString -Length 6 -Characters "ABCDEFGHIJKLMNOPQRSTUVWXYZ") $newProjectId = New-ACCProject $hubs[0].HubId -Token $token -ProjectName $projectName -ProjectType Airport -AdministratorCompanyId $companies[0].id -Administrator user@co.com -JobNumber $projectName $projectName = $today + " " + (Get-RandomString -Length 6 -Characters "ABCDEFGHIJKLMNOPQRSTUVWXYZ") $newProjectId2 = New-ACCProject $hubId -Token $token -ProjectName $projectName -ProjectType 'Power Plant' -Classification production -ProjectValue 20000000 -ProjectCurrency USD -AddressLine1 "704 15th Street" -City Durham -State "NC" -PostalCode "27705" -CountryCode US -ConstructionType 'New Construction' -AdministratorCompanyId $companies[0].id -Administrators user1@co.com,user2@co.com -JobNumber $projectName</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Add-ACCProjectFile --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Add-ACCProjectFile</command:name> <command:verb>Add</command:verb> <command:noun>ACCProjectFile</command:noun> <maml:description> <maml:para>Create new Autodesk Construction Cloud folder path.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Add-ACCProjectFile</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited target folder path (will create if not exists)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ParentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ParentId</maml:name> <maml:description> <maml:para>Parent Folder Id (if not provided will use Project top-level folder)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FilePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="5"> <maml:name>FilePath</maml:name> <maml:description> <maml:para>Path to file to add to the project</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited target folder path (will create if not exists)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ParentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ParentId</maml:name> <maml:description> <maml:para>Parent Folder Id (if not provided will use Project top-level folder)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FilePath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="5"> <maml:name>FilePath</maml:name> <maml:description> <maml:para>Path to file to add to the project</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $folderId = Add-ACCProjectFile $hubs[0].HubId -ProjectId $projects[0].id -Token $token -FolderPath "Top Level\First Level\Second Level" -FilePath "F:\Uploads\submittals.zip"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCProjectFiles --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCProjectFiles</command:name> <command:verb>Get</command:verb> <command:noun>ACCProjectFiles</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Files.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Get-ACCProjectFiles</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited ACC Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name. Supports wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited ACC Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name. Supports wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $files = Get-ACCProjectFiles $hubs[0].HubId -ProjectId $projects[0].id -Token $token -FolderPath "Top Level\First Level\Second Level" -FileName *.zip"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Save-ACCProjectFiles --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Save-ACCProjectFiles</command:name> <command:verb>Save</command:verb> <command:noun>ACCProjectFiles</command:noun> <maml:description> <maml:para>Download Autodesk Construction Cloud Files.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Save-ACCProjectFiles</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited ACC Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name. Supports wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="5"> <maml:name>LocalFolder</maml:name> <maml:description> <maml:para>Target folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>Overwrite.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited ACC Folder Path.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FileName --> <command:parameter required="true" globbing="false" pipelineInput="false" position="4"> <maml:name>FileName</maml:name> <maml:description> <maml:para>File name. Supports wildcard.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: LocalFolder --> <command:parameter required="true" globbing="false" pipelineInput="false" position="5"> <maml:name>LocalFolder</maml:name> <maml:description> <maml:para>Target folder.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Overwrite --> <command:parameter required="false" globbing="false" pipelineInput="false" position="6"> <maml:name>Overwrite</maml:name> <maml:description> <maml:para>Overwrite.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $filelocations = Save-ACCProjectFiles $hubs[0].HubId -ProjectId $projects[0].id -Token $token -FolderPath "Top Level\First Level\Second Level" -FileName *.zip -LocalFolder c:\temp</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCProjectFolderByPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCProjectFolderByPath</command:name> <command:verb>Get</command:verb> <command:noun>ACCProjectFolderByPath</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Project top-level folders.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Get-ACCProjectFolderByPath</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>ACC Project Folder Path</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>ACC Project Folder Path</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $folderId = Get-ACCProjectFolderByPath $hubs[0].HubId -Token $token -ProjectId $projects[0].id -FolderPath "Top Level\First Level\Second Level"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: New-ACCProjectFolderPath --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>New-ACCProjectFolderPath</command:name> <command:verb>New</command:verb> <command:noun>ACCProjectFolderPath</command:noun> <maml:description> <maml:para>Create new Autodesk Construction Cloud folder path.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>New-ACCProjectFolderPath</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited folder path to create</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ParentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ParentId</maml:name> <maml:description> <maml:para>Parent Folder Id (if not provided will use Project top-level folder</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: FolderPath --> <command:parameter required="true" globbing="false" pipelineInput="false" position="3"> <maml:name>FolderPath</maml:name> <maml:description> <maml:para>Backslash-delimited folder path to create</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ParentId --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>ParentId</maml:name> <maml:description> <maml:para>Parent Folder Id (if not provided will use Project top-level folder</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $folderId = New-ACCProjectFolderPath $hubs[0].HubId -ProjectId $projects[0].id -Token $token -FolderPath "Top Level\First Level\Second Level"</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCProjects --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCProjects</command:name> <command:verb>Get</command:verb> <command:noun>ACCProjects</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Projects for a given hub.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Get-ACCProjects</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectName</maml:name> <maml:description> <maml:para>Project Name to search for</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: FilterType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FilterType</maml:name> <maml:description> <maml:para>Text filter type (contains, starts with, ends with, equals)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>contains</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Limit</maml:name> <maml:description> <maml:para>Limit the number of returned items. Default is the maximum: 200.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>200</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectName --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ProjectName</maml:name> <maml:description> <maml:para>Project Name to search for</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue></dev:defaultValue> </command:parameter> <!-- Parameter: FilterType --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>FilterType</maml:name> <maml:description> <maml:para>Text filter type (contains, starts with, ends with, equals)</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>contains</dev:defaultValue> </command:parameter> <!-- Parameter: Limit --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>Limit</maml:name> <maml:description> <maml:para>Limit the number of returned items. Default is the maximum: 200.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>200</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-ACCProjectTopFolders --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-ACCProjectTopFolders</command:name> <command:verb>Get</command:verb> <command:noun>ACCProjectTopFolders</command:noun> <maml:description> <maml:para>Get Autodesk Construction Cloud Project top-level folders.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: HubId --> <command:syntaxItem> <maml:name>Get-ACCProjectTopFolders</maml:name> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: HubId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>HubId</maml:name> <maml:description> <maml:para>ACC Hub ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ProjectId --> <command:parameter required="true" globbing="false" pipelineInput="false" position="1"> <maml:name>ProjectId</maml:name> <maml:description> <maml:para>ACC Project ID</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: Token --> <command:parameter required="true" globbing="false" pipelineInput="false" position="2"> <maml:name>Token</maml:name> <maml:description> <maml:para>APSAuthToken object from Get-APSToken</maml:para> </maml:description> <command:parameterValue required="true">APSAuthToken</command:parameterValue> <dev:type> <maml:name>DBC_ACC.APSAuthToken</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken $hubs = Get-ACCHubs $token $projects = Get-ACCProjects $hubs[0].HubId -Token $token -ProjectName "2024-" -FilterType startsWith $folderData = Get-ACCProjectTopFolders $hubs[0].HubId -Token $token -ProjectId $projects[0].id</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-APSToken --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-APSToken</command:name> <command:verb>Get</command:verb> <command:noun>APSToken</command:noun> <maml:description> <maml:para>Get an ADSK Platform Services token for use with these Autodesk Construction Cloud cmdlets.</maml:para> <maml:para>To create an app and generate a client id and client secret follow the instructions here: https://aps.autodesk.com/en/docs/oauth/v2/tutorials/create-app/. Create a "Traditional Web Application".</maml:para> <maml:para>The required account is free to create and creating applications is free.</maml:para> <maml:para>The callback URL defined in your app must match the parameter passed in RedirectCallback. This defaults to http://localhost:8055/ and you can set that in your app's General Settings. You are free to use another value if desired.</maml:para> <maml:para>Set an environment variable called DBC_ACC_CLIENT_ID with your app's client id and an environment variable called DBC_ACC_CLIENT_SECRET with your app's client secret or pass these values in the ClientId and ClientSecret parameters.</maml:para> <maml:para>At minimum, your app will require access to the Autodesk Construction Cloud API, BIM 360 API, and Data Management API under API Access.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-APSToken</maml:name> <!-- Parameter: Scopes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Scopes</maml:name> <maml:description> <maml:para>Access Scopes. Defaults to "data:read data:write account:read account:write data:create"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>data:read data:write account:read account:write data:create</dev:defaultValue> </command:parameter> <!-- Parameter: ClientID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ClientID</maml:name> <maml:description> <maml:para>ClientID. Defaults to value in the DBC_ACC_CLIENT_ID environment variable."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>ClientSecret. Defaults to value in the DBC_ACC_CLIENT_SECRET environment variable."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RedirectCallback --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>RedirectCallback</maml:name> <maml:description> <maml:para>Defaults to http://localhost:8055/. Needs to match the Redirect URL as defined in the app definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>http://localhost:8055/</dev:defaultValue> </command:parameter> <!-- Parameter: NewToken --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>NewToken</maml:name> <maml:description> <maml:para>Bypass values cached in registry and force new token generation.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UnattendedMode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>UnattendedMode</maml:name> <maml:description> <maml:para>Suppresses interactive form and throws exception on failure.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Scopes --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Scopes</maml:name> <maml:description> <maml:para>Access Scopes. Defaults to "data:read data:write account:read account:write data:create"</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>data:read data:write account:read account:write data:create</dev:defaultValue> </command:parameter> <!-- Parameter: ClientID --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>ClientID</maml:name> <maml:description> <maml:para>ClientID. Defaults to value in the DBC_ACC_CLIENT_ID environment variable."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: ClientSecret --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>ClientSecret</maml:name> <maml:description> <maml:para>ClientSecret. Defaults to value in the DBC_ACC_CLIENT_SECRET environment variable."</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: RedirectCallback --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>RedirectCallback</maml:name> <maml:description> <maml:para>Defaults to http://localhost:8055/. Needs to match the Redirect URL as defined in the app definition.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>http://localhost:8055/</dev:defaultValue> </command:parameter> <!-- Parameter: NewToken --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>NewToken</maml:name> <maml:description> <maml:para>Bypass values cached in registry and force new token generation.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UnattendedMode --> <command:parameter required="false" globbing="false" pipelineInput="false" position="5"> <maml:name>UnattendedMode</maml:name> <maml:description> <maml:para>Suppresses interactive form and throws exception on failure.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$token = Get-APSToken -ClientID 'yyyyy' -RedirectCallback 'http://localhost:8055' -Scopes 'data:read data:write data:create' -ClientSecret 'XXXX'</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-FilesFromFolder --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-FilesFromFolder</command:name> <command:verb>Get</command:verb> <command:noun>FilesFromFolder</command:noun> <maml:description> <maml:para>Get the files in a folder. Faster replacment for Get-ChildItems.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: Path --> <command:syntaxItem> <maml:name>Get-FilesFromFolder</maml:name> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Path</maml:name> <maml:description> <maml:para>Data source to hash password for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchPattern --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchPattern</maml:name> <maml:description> <maml:para>Search Pattern. Defaults to '*'.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>*</dev:defaultValue> </command:parameter> <!-- Parameter: TopLevelOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TopLevelOnly</maml:name> <maml:description> <maml:para>If set, will only return the files in the top level of Path.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatedAfterHours --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UpdatedAfterHours</maml:name> <maml:description> <maml:para>If set, will only return the files updated after X hours. 24 would be just the files updated in the last day.</maml:para> </maml:description> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatePeriodHours --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UpdatePeriodHours</maml:name> <maml:description> <maml:para>If set, will only return the files updated in the X hours since the UpdatedAfterHours.</maml:para> </maml:description> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Path --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>Path</maml:name> <maml:description> <maml:para>Data source to hash password for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> <!-- Parameter: SearchPattern --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>SearchPattern</maml:name> <maml:description> <maml:para>Search Pattern. Defaults to '*'.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>*</dev:defaultValue> </command:parameter> <!-- Parameter: TopLevelOnly --> <command:parameter required="false" globbing="false" pipelineInput="false" position="2"> <maml:name>TopLevelOnly</maml:name> <maml:description> <maml:para>If set, will only return the files in the top level of Path.</maml:para> </maml:description> <command:parameterValue required="true">SwitchParameter</command:parameterValue> <dev:type> <maml:name>System.Management.Automation.SwitchParameter</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>False</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatedAfterHours --> <command:parameter required="false" globbing="false" pipelineInput="false" position="3"> <maml:name>UpdatedAfterHours</maml:name> <maml:description> <maml:para>If set, will only return the files updated after X hours. 24 would be just the files updated in the last day.</maml:para> </maml:description> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> <!-- Parameter: UpdatePeriodHours --> <command:parameter required="false" globbing="false" pipelineInput="false" position="4"> <maml:name>UpdatePeriodHours</maml:name> <maml:description> <maml:para>If set, will only return the files updated in the X hours since the UpdatedAfterHours.</maml:para> </maml:description> <command:parameterValue required="true">uint</command:parameterValue> <dev:type> <maml:name>System.UInt32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>0</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>$files = Get-FilesFromFolder c:\temp *.dgn -TopLevelOnly </dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Copy-ToClipboard --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Copy-ToClipboard</command:name> <command:verb>Copy</command:verb> <command:noun>ToClipboard</command:noun> <maml:description> <maml:para>Copy value to the clipboard.</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: ValueToCopy --> <command:syntaxItem> <maml:name>Copy-ToClipboard</maml:name> <!-- Parameter: ValueToCopy --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ValueToCopy</maml:name> <maml:description> <maml:para>Data source to hash password for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: ValueToCopy --> <command:parameter required="true" globbing="false" pipelineInput="false" position="0"> <maml:name>ValueToCopy</maml:name> <maml:description> <maml:para>Data source to hash password for.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Copy-ToClipboard $token</dev:code> </command:example> </command:examples> </command:command> <!-- Cmdlet: Get-UniqueString --> <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10"> <command:details> <command:name>Get-UniqueString</command:name> <command:verb>Get</command:verb> <command:noun>UniqueString</command:noun> <maml:description> <maml:para>Get a unique random string of a given length. Default characters to be used are abcdefghijklmnopqrstuvwxyzABCEDEFGHIJKLMNOPQRUSTUVWXYZ1234567890 but can be changed by parameter -Characters</maml:para> </maml:description> </command:details> <command:syntax> <!-- Parameter set: __AllParameterSets --> <command:syntaxItem> <maml:name>Get-UniqueString</maml:name> <!-- Parameter: Length --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Length</maml:name> <maml:description> <maml:para>Length of string to generate. Defaults to 8.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>8</dev:defaultValue> </command:parameter> <!-- Parameter: Characters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Characters</maml:name> <maml:description> <maml:para>Characters to use for string generation. Defaults to mixed case alpha + numbers.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890</dev:defaultValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <!-- Parameter: Length --> <command:parameter required="false" globbing="false" pipelineInput="false" position="0"> <maml:name>Length</maml:name> <maml:description> <maml:para>Length of string to generate. Defaults to 8.</maml:para> </maml:description> <command:parameterValue required="true">int</command:parameterValue> <dev:type> <maml:name>System.Int32</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>8</dev:defaultValue> </command:parameter> <!-- Parameter: Characters --> <command:parameter required="false" globbing="false" pipelineInput="false" position="1"> <maml:name>Characters</maml:name> <maml:description> <maml:para>Characters to use for string generation. Defaults to mixed case alpha + numbers.</maml:para> </maml:description> <command:parameterValue required="true">string</command:parameterValue> <dev:type> <maml:name>System.String</maml:name> <maml:uri /> </dev:type> <dev:defaultValue>abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890</dev:defaultValue> </command:parameter> </command:parameters> <command:inputTypes /> <command:returnValues /> <command:examples> <command:example> <maml:title>---------- EXAMPLE 1 ----------</maml:title> <dev:code>Get-UniqueString -Length 10 -Characters "abcdefghijklmnopqrstuvwxyz1234567890"</dev:code> </command:example> </command:examples> </command:command> </helpItems> |