<?xml version="1.0" encoding="utf-8" ?>

<helpItems schema="maml">
	
	<_locDefinition>
		<_locDefault _loc="locNone"/>
		<_locTag _loc="locData">maml:para</_locTag>
	</_locDefinition>

	<!--Invoke-ASCmd-->
	<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>
				Invoke-ASCmd
			</command:name>
			<maml:description>
				<maml:para>Enables a database administrator to execute an XMLA script, Multidimensional Expressions (MDX) query, or Data Mining Extensions (DMX) statement against an instance of Microsoft SQL Server Analysis Services.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para></maml:para>
			</maml:copyright>
			<command:verb>Invoke</command:verb>
			<command:noun>ASCmd</command:noun>
			<dev:version></dev:version>
		</command:details>
		<maml:description>
			<maml:para>
				Enables a database administrator to execute an XMLA script, Multidimensional Expressions (MDX) query, or Data Mining Extensions (DMX) statement against an instance of Microsoft SQL Server Analysis Services. The cmdlets execution of these queries or scripts within input files.The script that is passed is an XAML command and following commands are supported.
				Alter, Backup, Batch, BeginTransaction, Cancel, ClearCache, CommitTransaction, Create, Delete, DesignAggregations, Drop, Insert, Lock, MergePartitions, NotifyTableChange, Process, Restore, RollbackTransaction, Statement (used to execute MDX queries and DMX statements), Subscribe, Synchronize, Unlock, Update, UpdateCells.
			</maml:para>
		</maml:description>

		<!-- Cmdlet syntax section-->
		<command:syntax>
			<command:syntaxItem>
				<maml:name>Invoke-AsCmd</maml:name>
				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
					<maml:name>Query</maml:name>
					<maml:description>
						<maml:para>Specifies the actual script, query, or statement directly on the command line instead of in a file.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>
							Specifies the database against which an MDX query or DMX statement will execute. The database parameter is ignored when the cmdlet executes an XMLA script, because the database name is embedded in the XMLA script.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>ConnectionTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds before the connection to the Analysis Services instance times out. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>QueryTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer between 1 and 65535.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
					<maml:name>Variable</maml:name>
					<maml:description>
						<maml:para>Specifies additional scripting variables. Each variable is a var = value pair. If the value contains embedded spaces or control characters, it must be enclosed in double-quotation marks. Use a PowerShell array to specify multiple variables and their values.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFile</maml:name>
					<maml:description>
						<maml:para>Identifies a file that receives Analysis Services trace events while executing the XMLA script, MDX query, or DMX statement. If the file already exists, it is automatically overwritten (except for the trace files that are created by using the -TraceLevel:Duration and –TraceLevel:DurationResult parameter settings). File names that contain spaces must be enclosed in quotation marks (&quot; &quot;). If the file name is not valid, an error message is generated.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFileFormat</maml:name>
					<maml:description>
						<maml:para>Specifies the file format for the –TraceFile parameter (if this parameter is specified). The available options are text or csv. The default value is &quot;csv&quot;.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">TraceFileFormatOption</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFileDelimiter</maml:name>
					<maml:description>
						<maml:para>Specifies a single character as the trace file delimiter when you specify csv as the format for the trace file that use the –TraceFileFormat parameter. Default is | (pipe, or vertical bar).</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds the Analysis Services engine waits before ending the trace (if you specify the –TraceFile parameter). The trace is considered finished if no trace messages have been recorded during the specified time period. The default trace time-out value is 5 seconds.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceLevel</maml:name>
					<maml:description>
						<maml:para>Specifies what data is collected and recorded in the trace file. Possible values are High, Medium, Low, Duration, DurationResult.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">TraceLevelOption</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Invoke-AsCmd</maml:name>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>InputFile</maml:name>
					<maml:description>
						<maml:para>Identifies the file that contains the XMLA script, MDX query, or DMX statement.You must specify a value for either the –InputFile or the –Query parameter when you use the Invoke-AsCmd. If you specify no –InputFile or –Query parameter, or specify both of these parameters, an error is generated.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>
							Specifies the database against which an MDX query or DMX statement will execute. The database parameter is ignored when the cmdlet executes an XMLA script, because the database name is embedded in the XMLA script.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>ConnectionTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds before the connection to the Analysis Services instance times out. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>QueryTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer between 1 and 65535.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
					<maml:name>Variable</maml:name>
					<maml:description>
						<maml:para>Specifies additional scripting variables. Each variable is a var = value pair. If the value contains embedded spaces or control characters, it must be enclosed in double-quotation marks. Use a PowerShell array to specify multiple variables and their values.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFile</maml:name>
					<maml:description>
						<maml:para>Identifies a file that receives Analysis Services trace events while executing the XMLA script, MDX query, or DMX statement. If the file already exists, it is automatically overwritten (except for the trace files that are created by using the -TraceLevel:Duration and –TraceLevel:DurationResult parameter settings). File names that contain spaces must be enclosed in quotation marks (&quot; &quot;). If the file name is not valid, an error message is generated.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFileFormat</maml:name>
					<maml:description>
						<maml:para>Specifies the file format for the –TraceFile parameter (if this parameter is specified). The available options are text or csv. The default value is &quot;csv&quot;.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">TraceFileFormatOption</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceFileDelimiter</maml:name>
					<maml:description>
						<maml:para>Specifies a single character as the trace file delimiter when you specify csv as the format for the trace file that use the –TraceFileFormat parameter. Default is | (pipe, or vertical bar).</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceTimeout</maml:name>
					<maml:description>
						<maml:para>Specifies the number of seconds the Analysis Services engine waits before ending the trace (if you specify the –TraceFile parameter). The trace is considered finished if no trace messages have been recorded during the specified time period. The default trace time-out value is 5 seconds.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>TraceLevel</maml:name>
					<maml:description>
						<maml:para>Specifies what data is collected and recorded in the trace file. Possible values are High, Medium, Low, Duration, DurationResult.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">TraceLevelOption</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>

		</command:syntax>

		<!-- Cmdlet parameter section  -->
		<command:parameters>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
				<maml:name>Query</maml:name>
				<maml:description>
					<maml:para>Specifies the actual script, query, or statement directly on the command line instead of in a file.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>InputFile</maml:name>
				<maml:description>
					<maml:para>
						Identifies the file that contains the XMLA script, MDX query, or DMX statement.You must specify a value for either the –InputFile or the –Query parameter when you use the Invoke-AsCmd. If you specify no –InputFile or –Query parameter, or specify both of these parameters, an error is generated.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Server</maml:name>
				<maml:description>
					<maml:para>
						Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
						For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>localhost</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Specifies the database against which an MDX query or DMX statement will execute. The database parameter is ignored when the cmdlet executes an XMLA script, because the database name is embedded in the XMLA script.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
				<maml:name>Credentials</maml:name>
				<maml:description>
					<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				<dev:type>
					<maml:name>PSCredential</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>ConnectionTimeout</maml:name>
				<maml:description>
					<maml:para>Specifies the number of seconds before the connection to the Analysis Services instance times out. The timeout value must be an integer between 0 and 65534. If 0 is specified, connection attempts do not time out.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				<dev:type>
					<maml:name>int</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>30</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>QueryTimeout</maml:name>
				<maml:description>
					<maml:para>Specifies the number of seconds before the queries time out. If a timeout value is not specified, the queries do not time out. The timeout must be an integer between 1 and 65535.</maml:para>

				</maml:description>
				<command:parameterValue required="true" variableLength="false">int</command:parameterValue>
				<dev:type>
					<maml:name>int</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>30</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>Variable</maml:name>
				<maml:description>
					<maml:para>Specifies additional scripting variables. Each variable is a var = value pair. If the value contains embedded spaces or control characters, it must be enclosed in double-quotation marks. Use a PowerShell array to specify multiple variables and their values.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">string[]</command:parameterValue>
				<dev:type>
					<maml:name>string[]</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>TraceFile</maml:name>
				<maml:description>
					<maml:para>Identifies a file that receives Analysis Services trace events while executing the XMLA script, MDX query, or DMX statement. If the file already exists, it is automatically overwritten (except for the trace files that are created by using the -TraceLevel:Duration and –TraceLevel:DurationResult parameter settings). File names that contain spaces must be enclosed in quotation marks (&quot; &quot;). If the file name is not valid, an error message is generated.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>TraceFileFormat</maml:name>
				<maml:description>
					<maml:para>Specifies the file format for the –TraceFile parameter (if this parameter is specified). The available options are text or csv. The default value is &quot;csv&quot;.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>csv</dev:defaultValue>
				<dev:possibleValues>
					<dev:possibleValue>
						<dev:value>csv</dev:value>
						<maml:description>
							<maml:para>the file is written in comma-separated format. The default column delimiter is | (pipe, or vertical bar)</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>text</dev:value>
						<maml:description>
							<maml:para>The file is written in a text format.</maml:para>
						</maml:description>
					</dev:possibleValue>
				</dev:possibleValues>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>TraceFileDelimiter</maml:name>
				<maml:description>
					<maml:para>Specifies a single character as the trace file delimiter when you specify csv as the format for the trace file that use the –TraceFileFormat parameter. Default is | (pipe, or vertical bar).</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>TraceTimeout</maml:name>
				<maml:description>
					<maml:para>Specifies the number of seconds the Analysis Services engine waits before ending the trace (if you specify the –TraceFile parameter). The trace is considered finished if no trace messages have been recorded during the specified time period. The default trace time-out value is 5 seconds.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">int</command:parameterValue>
				<dev:type>
					<maml:name>int</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>5</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="true" globbing="false" pipelineInput="false" position="named">
				<maml:name>TraceLevel</maml:name>
				<maml:description>
					<maml:para>Specifies what data is collected and recorded in the trace file. Possible values are High, Medium, Low, Duration, DurationResult.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="true">TraceLevelOption</command:parameterValue>
				<dev:type>
					<maml:name>TraceLevelOption</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>High</dev:defaultValue>
				<dev:possibleValues>
					<dev:possibleValue>
						<dev:value>High</dev:value>
						<maml:description>
							<maml:para>Records all trace events </maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>Medium</dev:value>
						<maml:description>
							<maml:para>Records all trace events except the ProgressReportCurrent and Notification events.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>Low</dev:value>
						<maml:description>
							<maml:para>Records only those trace events that contain "End" or "Error" in the event.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>Duration</dev:value>
						<maml:description>
							<maml:para>
								Records no trace events, but instead determines the duration of the execution of the script, query, or statement by the cmdlet. Writes a single entry into the trace file that includes the current time, duration, execution text, database, and server name.
							</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>DurationResult</dev:value>
						<maml:description>
							<maml:para>
								Records the same information as the Duration setting and also records the result of the execution in the last column of the trace file.
							</maml:para>
						</maml:description>
					</dev:possibleValue>
				</dev:possibleValues>
			</command:parameter>

		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name>PSObject</maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>
		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>
		<!-- Error section-->
		<command:terminatingErrors />
		<command:nonTerminatingErrors />
		<!-- Notes section  -->
		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>

				</maml:para>
			</maml:alert>
			<maml:alert>
				<maml:para></maml:para>
			</maml:alert>
		</maml:alertSet>

		<!-- Example section  -->
		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Invoke-ASCmd -Server:localhost -Query:"&lt;Discover xmlns='urn:schemas-microsoft-com:xml-analysis'&gt;&lt;RequestType&gt;DBSCHEMA_CATALOGS&lt;/RequestType&gt;&lt;Restrictions /&gt;&lt;Properties /&gt;&lt;/Discover&gt;"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>The above XMLA script displays the list of databases present in local Analysis Server.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Invoke-ASCmd -Database:&quot;Adventure Works DW 2008R2&quot; -Query:&quot;SELECT {[Measures].[Internet Sales Amount]} ON COLUMNS, BOTTOMCOUNT(NONEMPTY(DESCENDANTS( [Customer].[Customer Geography].[All Customers], [Customer].[Customer Geography].[Customer]), ( [Measures].[Internet Sales Amount] ) ), 10, ( [Measures].[Internet Sales Amount] )) ON ROWS FROM [Adventure Works] WHERE ( [Date].[Calendar].[Calendar Year].&amp;[2008] )&quot;
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>The above MDX statement displays the bottom 10 customers with the lowest sales in 2008 that were not null.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 3 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Invoke-ASCmd -Database:&quot;Adventure Works DW 2008R2&quot; -Query:&quot;SELECT MODEL_CATALOG, MODEL_NAME, ATTRIBUTE_NAME, NODE_NAME FROM [Forecasting].CONTENT&quot;
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>The above DMX statement returns information about the mining model schema rowset for the Forecasting mining model</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 4 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Invoke-ASCmd -Database:&quot;Adventure Works DW 2008R2&quot; -Query:&quot;&lt;Discover xmlns='urn:schemas-microsoft-com:xml-analysis'&gt;&lt;RequestType&gt;DISCOVER_DATASOURCES&lt;/RequestType&gt;&lt;Restrictions&gt;&lt;/Restrictions&gt;&lt;Properties&gt;&lt;/Properties&gt;&lt;/Discover&gt;&quot;
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>The above Discover XMLA query returns available data sources for the Analysis server and information required to connect to them. </maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 5 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Invoke-ASCmd -InputFile:"C:\MyFolder\DiscoverConnections.xmla"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Retrieves the list of active connections on the server. In the above example DiscoverConnections.xmla should have the following XMLA script.</maml:para>
					<maml:para>
						&lt;Discover xmlns=&quot;urn:schemas-microsoft-com:xml-analysis&quot;&gt;
						&lt;RequestType&gt;DISCOVER_CONNECTIONS&lt;/RequestType&gt;
						&lt;Restrictions /&gt;
						&lt;Properties&gt;
						&lt;PropertyList&gt;
						&lt;Content&gt;Data&lt;/Content&gt;
						&lt;/PropertyList&gt;
						&lt;/Properties&gt;
						&lt;/Discover&gt;
					</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

		</command:examples>
		<!-- Link section  -->
		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>SQL Server Books Online</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>

	<!--Add-RoleMember-->
	<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">
		<!--Generated by Help Cmdlet Editor-->
		<command:details>

			<command:name>
				Add-RoleMember
			</command:name>

			<maml:description>
				<maml:para>Adds a member to a specific Role of a specific database.</maml:para>
			</maml:description>

			<maml:copyright>
				<maml:para />
			</maml:copyright>

			<command:verb>Add</command:verb>
			<command:noun>RoleMember</command:noun>
			<!--Add Dev version info here.-->
			<dev:version />
		</command:details>

		<maml:description>
			<!--This is the Description section-->
			<maml:para>
				The Add-RoleMember cmdlet adds a valid member to a specific Role of a specific database depending upon the input values.
			</maml:para>
		</maml:description>

		<command:syntax>
			<command:syntaxItem>
				<maml:name>Add-RoleMember</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>MemberName</maml:name>
					<maml:description>
						<maml:para>Name of the member who should be added.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>Database name to which the Role belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
					<maml:name>RoleName</maml:name>
					<maml:description>
						<maml:para>Name of the Role to which the member should be added.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Add-RoleMember</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
					<maml:name>DatabaseRole</maml:name>
					<maml:description>
						<maml:para>Microsoft.AnalysisServices.Role object to which the member should be added.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisSevices.Role</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>MemberName</maml:name>
					<maml:description>
						<maml:para>Name of the member who should be added to the role.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>
		</command:syntax>


		<command:parameters>
			<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
				<maml:name>MemberName</maml:name>
				<maml:description>
					<maml:para>Name of the member who should be added to the role.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Database name to which the Role belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>RoleName</maml:name>
				<maml:description>
					<maml:para>Name of the Role to which the member should be added.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
				<maml:name>DatabaseRole</maml:name>
				<maml:description>
					<maml:para>Microsoft.AnalysisServices.Role object to which the member should be added.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >Microsoft.AnalysisSevices.Role</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
		</command:parameters>


		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>					
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->						
					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>

		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name>None</maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>

		<command:terminatingErrors>
		</command:terminatingErrors>

		<command:nonTerminatingErrors>
		</command:nonTerminatingErrors>

		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para />
			</maml:alert>
		</maml:alertSet>

		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLServer:\SQLAS\machine\instance\Databases\DB1\Roles\&gt;$roles=dir
					PS SQLServer:\SQLAS\machine\instance\Databases\DB1\Roles\&gt;$roles[0] | Add-RoleMember -MemberName:"memberName"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						In the above examples all the roles available in Database DB1 are retrieved and stored in a temporary variable roles. The membername will be added to the first role object available in the roles collection.
					</maml:para>
				</dev:remarks>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					Add-RoleMember -MemberName "foo\user1" -Database "DB1" -RoleName "myRole"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						In the above example user1 of foo domain is added to the role myRole belonging to database DB1.
					</maml:para>
				</dev:remarks>
			</command:example>
		</command:examples>

		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>
					<!-- Any related links goes here -->
					SQL Server Books Online:
				</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>

	<!--Remove-RoleMember-->
	<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">
		<!--Generated by Help Cmdlet Editor-->
		<command:details>

			<command:name>
				Remove-RoleMember
			</command:name>

			<maml:description>
				<maml:para>Removes a member from the specific Role of a specific database.</maml:para>
			</maml:description>

			<maml:copyright>
				<maml:para />
			</maml:copyright>

			<command:verb>Remove</command:verb>
			<command:noun>RoleMember</command:noun>
			<!--Add Dev version info here.-->
			<dev:version />
		</command:details>

		<maml:description>
			<!--This is the Description section-->
			<maml:para>
				The Remove-RoleMember cmdlet removes an exsisting member from a specific Role of a specific database depending upon the input values.
			</maml:para>
		</maml:description>

		<command:syntax>
			<command:syntaxItem>

				<maml:name>Remove-RoleMember</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>MemberName</maml:name>
					<maml:description>
						<maml:para>Name of the member who should be removed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>Database name to which the Role belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
					<maml:name>RoleName</maml:name>
					<maml:description>
						<maml:para>Role name from which the member should be removed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Add-RoleMember</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
					<maml:name>DatabaseRole</maml:name>
					<maml:description>
						<maml:para>Microsoft.AnalysisServices.Role object from which the member should be removed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisSevices.Role</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>MemberName</maml:name>
					<maml:description>
						<maml:para>Name of the member who should be removed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>
		</command:syntax>


		<command:parameters>
			<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
				<maml:name>MemberName</maml:name>
				<maml:description>
					<maml:para>Name of the member who should be removed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Database name to which the Role belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>RoleName</maml:name>
				<maml:description>
					<maml:para>Role name from which the member should be removed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
				<maml:name>DatabaseRole</maml:name>
				<maml:description>
					<maml:para>Microsoft.AnalysisServices.Role object from which the member should be removed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisSevices.Role</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
		</command:parameters>


		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>

		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>

		<command:terminatingErrors>
		</command:terminatingErrors>

		<command:nonTerminatingErrors>
		</command:nonTerminatingErrors>

		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>
				</maml:para>
			</maml:alert>
		</maml:alertSet>

		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLServer:\SQLAS\machine\instance\Databases\DB1\Roles\&gt;$roles=dir
					PS SQLServer:\SQLAS\machine\instance\Databases\DB1\Roles\&gt;$roles[0]|Remove-RoleMember -MemberName:"foo\user1"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						In the above examples all the roles available in Database DB1 are retrieved and stored in a temporary variable roles. The membername will be removed from the first role object available in the roles collection.
					</maml:para>
				</dev:remarks>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLServer:\SQLAS\machine\instance\Databases\DB1\Roles\&gt;Remove-RoleMember -MemberName "foo\user1" -Database "DB1" -RoleName "myRole"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlet removes the role member user1 of foo domain from the myRole belonging to the database DB1.
					</maml:para>
				</dev:remarks>
			</command:example>

		</command:examples>

		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>
					<!-- Any related links goes here -->
					SQL Server Books Online:
				</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>

	</command:command>

	<!--Invoke-ProcessCube-->
	<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">
		<!--Generated by Help Cmdlet Editor-->
		<command:details>
			<command:name>
				Invoke-ProcessCube
			</command:name>
			<maml:description>
				<maml:para>Conducts the Process operation on a specified Cube of a specific database with a specific ProcessType value.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para />
			</maml:copyright>
			<command:verb>Invoke</command:verb>
			<command:noun>ProcessCube</command:noun>
			<!--Add Dev version info here.-->
			<dev:version />
		</command:details>
		<maml:description>
			<!--This is the Description section-->
			<maml:para>
				Conducts the Process operation on a specific Cube of a specific database with a specific ProcessType value depending upon the input values.
			</maml:para>
		</maml:description>

		<command:syntax>
			<command:syntaxItem>
				<maml:name>Invoke-ProcessCube</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>Name of the Cube that has to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>Database name to which the Cube belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Services ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Invoke-ProcessCube</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
					<maml:name>DatabaseCube</maml:name>
					<maml:description>
						<maml:para>Microsoft.AnalysisServices.Cube object that is to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisSevices.Cube</command:parameterValue>
				</command:parameter>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Services ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>
		</command:syntax>

		<command:parameters>
			<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Name of the Cube that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Database name to which the Cube belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>ProcessType</maml:name>
				<maml:description>
					<maml:para>Analysis Services ProcessType value.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
				<dev:possibleValues>
					<dev:possibleValue>
						<dev:value>ProcessFull</dev:value>
						<maml:description>
							<maml:para>Processes an Analysis Services object and all the objects contained within it. When Process Full is executed against an object that has already been processed, Analysis Services drops all data in the object, and then processes the object. Note that this type of processing is required when a structural change has been made to an object, for example, when an attribute hierarchy is added, deleted, or renamed. This processing option is supported for cubes, databases, dimensions, measure groups, mining models, mining structures, and partitions. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessAdd</dev:value>
						<maml:description>
							<maml:para>Performs an incremental update. Can be used for dimensions and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessUpdate</dev:value>
						<maml:description>
							<maml:para>Forces a re-read of data and an update of dimension attributes. Flexible aggregations and indexes on related partitions will be dropped. For example, this processing option can add new members to a dimension and force a complete re-read of the data to update object attributes. This processing option is supported for dimensions and mining models. Can be used for dimensions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessIndexes</dev:value>
						<maml:description>
							<maml:para>Creates or rebuilds indexes for all processed partitions. This option results in no operation on unprocessed objects. This processing option is supported for cubes, dimensions, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessData</dev:value>
						<maml:description>
							<maml:para>Processes data only without building aggregations or indexes. If there is data is in the partitions, it will be dropped before re-populating the partition with source data. This processing option is supported for cubes, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessDefault</dev:value>
						<maml:description>
							<maml:para>Detects the state of the object to be processed, and performs whatever type of processing (such as Full or Incremental) that is needed to return it to a fully processed state. This processing option is valid for databases, dimensions, cubes with measure groups and partitions, and mining structures with mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClear</dev:value>
						<maml:description>
							<maml:para>Removes data, aggregations, and indexes. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessStructure</dev:value>
						<maml:description>
							<maml:para>If the cube is unprocessed, Analysis Services will process, if necessary, all of the cube's dimensions. After that, Analysis Services will create only cube definitions. This allows users to start browsing the cube. If this option is applied to a mining structure, it populates the mining structure with source data. The difference between this option and the Process Full option is that this option does not iterate the processing down to the mining models themselves. This processing option is supported for cubes and mining structures. Can be used for cubes and mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClearStructureOnly</dev:value>
						<maml:description>
							<maml:para>Removes all training data from a mining structure. This processing option is supported for mining structures only. Can be used for mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessScriptCache</dev:value>
						<maml:description>
							<maml:para>Rebuilds the MDX script cache if the cube is already processed. An error will be generated if the cube is not already processed. Can be used for cubes.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessRecalc</dev:value>
						<maml:description>
							<maml:para>ProcessRecalc is a special processing type to process calculated columns, relationships, hierarchies, etc. It can only be issued for the database.</maml:para>
						</maml:description>
					</dev:possibleValue>
				</dev:possibleValues>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
				<maml:name>DatabaseCube</maml:name>
				<maml:description>
					<maml:para>Microsoft.AnalysisServices.Cube object that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >Microsoft.AnalysisSevices.Cube</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
		</command:parameters>


		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>

		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>

		<command:terminatingErrors>
		</command:terminatingErrors>

		<command:nonTerminatingErrors>
		</command:nonTerminatingErrors>

		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>
				</maml:para>
			</maml:alert>
		</maml:alertSet>

		<command:examples>
			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Cubes\Cube1&gt; Get-Item .| Invoke-ProcessCube -ProcessType:ProcessDefault
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlets retrieves the specified cube object and processes it.
					</maml:para>
				</dev:remarks>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Cubes&gt; Invoke-ProcessCube -Name "myCube" -Database "Db1" -ProcessType "ProcessDefault"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlet processes the cube myCube available under database Db1.
					</maml:para>
				</dev:remarks>
			</command:example>
		</command:examples>

		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>
					<!-- Any related links goes here -->
					SQL Server Books Online:
				</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>

	</command:command>

	<!--Invoke-ProcessDimension-->
	<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">
		<!--Generated by Help Cmdlet Editor-->
		<command:details>
			<command:name>
				Invoke-ProcessDimension
			</command:name>
			<maml:description>
				<maml:para>Conducts the Process operation on a specific Dimension of a specific database with a specific ProcessType value.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para />
			</maml:copyright>
			<command:verb>Invoke</command:verb>
			<command:noun>ProcessDimension</command:noun>
			<!--Add Dev version info here.-->
			<dev:version />
		</command:details>
		<maml:description>
			<!--This is the Description section-->
			<maml:para>
				Conducts the Process operation on a specific Dimension of a specific database with a specific ProcessType value depending upon the input values.
			</maml:para>
		</maml:description>

		<command:syntax>
			<command:syntaxItem>
				<maml:name>Invoke-ProcessDimension</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>Name of the Dimension that has to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>Database name to which the Dimension belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Service ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Invoke-ProcessDimension</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
					<maml:name>DatabaseDimension</maml:name>
					<maml:description>
						<maml:para>Microsoft.AnalysisServices.Dimension object that has to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisSevices.Dimension</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Services ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>
		</command:syntax>

		<command:parameters>
			<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Name of the Dimension that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>The database name to which the Dimension belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>ProcessType</maml:name>
				<maml:description>
					<maml:para>Analysis Services ProcessType value.</maml:para>
				</maml:description>
				<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
				<dev:possibleValues>
					<dev:possibleValue>
						<dev:value>ProcessFull</dev:value>
						<maml:description>
							<maml:para>Processes an Analysis Services object and all the objects contained within it. When Process Full is executed against an object that has already been processed, Analysis Services drops all data in the object, and then processes the object. Note that this type of processing is required when a structural change has been made to an object, for example, when an attribute hierarchy is added, deleted, or renamed. This processing option is supported for cubes, databases, dimensions, measure groups, mining models, mining structures, and partitions. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessAdd</dev:value>
						<maml:description>
							<maml:para>Performs an incremental update. Can be used for dimensions and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessUpdate</dev:value>
						<maml:description>
							<maml:para>Forces a re-read of data and an update of dimension attributes. Flexible aggregations and indexes on related partitions will be dropped. For example, this processing option can add new members to a dimension and force a complete re-read of the data to update object attributes. This processing option is supported for dimensions and mining models. Can be used for dimensions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessIndexes</dev:value>
						<maml:description>
							<maml:para>Creates or rebuilds indexes for all processed partitions. This option results in no operation on unprocessed objects. This processing option is supported for cubes, dimensions, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessData</dev:value>
						<maml:description>
							<maml:para>Processes data only without building aggregations or indexes. If there is data is in the partitions, it will be dropped before re-populating the partition with source data. This processing option is supported for cubes, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessDefault</dev:value>
						<maml:description>
							<maml:para>Detects the state of the object to be processed, and performs whatever type of processing (such as Full or Incremental) that is needed to return it to a fully processed state. This processing option is valid for databases, dimensions, cubes with measure groups and partitions, and mining structures with mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClear</dev:value>
						<maml:description>
							<maml:para>Removes data, aggregations, and indexes. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessStructure</dev:value>
						<maml:description>
							<maml:para>If the cube is unprocessed, Analysis Services will process, if necessary, all of the cube's dimensions. After that, Analysis Services will create only cube definitions. This allows users to start browsing the cube. If this option is applied to a mining structure, it populates the mining structure with source data. The difference between this option and the Process Full option is that this option does not iterate the processing down to the mining models themselves. This processing option is supported for cubes and mining structures. Can be used for cubes and mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClearStructureOnly</dev:value>
						<maml:description>
							<maml:para>Removes all training data from a mining structure. This processing option is supported for mining structures only. Can be used for mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessScriptCache</dev:value>
						<maml:description>
							<maml:para>Rebuilds the MDX script cache if the cube is already processed. An error will be generated if the cube is not already processed. Can be used for cubes.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessRecalc</dev:value>
						<maml:description>
							<maml:para>ProcessRecalc is a special processing type to process calculated columns, relationships, hierarchies, etc. It can only be issued for the database.</maml:para>
						</maml:description>
					</dev:possibleValue>
				</dev:possibleValues>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
				<maml:name>DatabaseDimension</maml:name>
				<maml:description>
					<maml:para>The Microsoft.AnalysisServices.Dimension object that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true">Microsoft.AnalysisSevices.Dimension</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>

		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>

		<command:terminatingErrors>
		</command:terminatingErrors>

		<command:nonTerminatingErrors>
		</command:nonTerminatingErrors>

		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>
				</maml:para>
			</maml:alert>
		</maml:alertSet>

		<command:examples>
			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Dimensions\Dimension1&gt; Get-Item .| Invoke-ProcessDimension -ProcessType:ProcessDefault
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlets retrieves the specified dimension object and processes it.
					</maml:para>
				</dev:remarks>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Dimensions&gt; Invoke-ProcessDimension -Name "myDim" -Database "Db1" -ProcessType "ProcessDefault"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlet processes the dimension myDim available under database Db1.
					</maml:para>
				</dev:remarks>
			</command:example>

		</command:examples>

		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>
					<!-- Any related links goes here -->
					SQL Server Books Online:
				</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>

	<!--Invoke-ProcessPartition-->
	<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">
		<!--Generated by Help Cmdlet Editor-->
		<command:details>
			<command:name>
				Invoke-ProcessPartition
			</command:name>
			<maml:description>
				<maml:para>Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and a MeasureGroup name with a specific ProcessType value.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para />
			</maml:copyright>
			<command:verb>Invoke</command:verb>
			<command:noun>ProcessPartition</command:noun>
			<!--Add Dev version info here.-->
			<dev:version />
		</command:details>

		<maml:description>
			<!--This is the Description section-->
			<maml:para>
				Conducts the Process operation on a specific Partition of a specific database having a specific Cube name and a MeasureGroup name with a specific ProcessType value.
			</maml:para>
		</maml:description>

		<command:syntax>
			<command:syntaxItem>
				<maml:name>Invoke-ProcessPartition</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>Name of the Partition that has to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>Database name to which the Partition belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Services ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="3">
					<maml:name>CubeName</maml:name>
					<maml:description>
						<maml:para>Cube name to which the MeasureGroup belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="4">
					<maml:name>MeasureGroupName</maml:name>
					<maml:description>
						<maml:para>MeasureGroup name to which the Partition belongs to.</maml:para>
					</maml:description>
					<command:parameterValue required="true">System.String</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Invoke-ProcessPartition</maml:name>
				<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
					<maml:name>DatabasePartition</maml:name>
					<maml:description>
						<maml:para>Microsoft.AnalysisServices.Partition that has to be processed.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisSevices.Partition</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
					<maml:name>ProcessType</maml:name>
					<maml:description>
						<maml:para>Analysis Services ProcessType value.</maml:para>
					</maml:description>
					<command:parameterValue required="true">Microsoft.AnalysisServices.ProcessType</command:parameterValue>
				</command:parameter>
			</command:syntaxItem>
		</command:syntax>

		<command:parameters>
			<command:parameter required="true" globbing="false" pipelineInput="false" position="0">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Name of the Partition that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="1">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Database name to which the cube belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true">System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>CubeName</maml:name>
				<maml:description>
					<maml:para>Cube name to which the MeasureGroup belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true">System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>MeasureGroupName</maml:name>
				<maml:description>
					<maml:para>MeasureGroup name to which the Partition belongs to.</maml:para>
				</maml:description>
				<command:parameterValue required="true">System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
			
			<command:parameter required="true" globbing="false" pipelineInput="false" position="2">
				<maml:name>ProcessType</maml:name>
				<maml:description>
					<maml:para>Gets or sets a valid ProcessType value.</maml:para>
				</maml:description>
				<command:parameterValue required="true" >System.String</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" globbing="false" pipelineInput="true (ByPropertyName)" >
				<maml:name>DatabasePartition</maml:name>
				<maml:description>
					<maml:para>Microsoft.AnalysisServices.Partition object that has to be processed.</maml:para>
				</maml:description>
				<command:parameterValue required="true">Microsoft.AnalysisSevices.Partition</command:parameterValue>
				<dev:type>
					<maml:name> </maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
				<dev:possibleValues>
					<dev:possibleValue>
						<dev:value>ProcessFull</dev:value>
						<maml:description>
							<maml:para>Processes an Analysis Services object and all the objects contained within it. When Process Full is executed against an object that has already been processed, Analysis Services drops all data in the object, and then processes the object. Note that this type of processing is required when a structural change has been made to an object, for example, when an attribute hierarchy is added, deleted, or renamed. This processing option is supported for cubes, databases, dimensions, measure groups, mining models, mining structures, and partitions. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessAdd</dev:value>
						<maml:description>
							<maml:para>Performs an incremental update. Can be used for dimensions and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessUpdate</dev:value>
						<maml:description>
							<maml:para>Forces a re-read of data and an update of dimension attributes. Flexible aggregations and indexes on related partitions will be dropped. For example, this processing option can add new members to a dimension and force a complete re-read of the data to update object attributes. This processing option is supported for dimensions and mining models. Can be used for dimensions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessIndexes</dev:value>
						<maml:description>
							<maml:para>Creates or rebuilds indexes for all processed partitions. This option results in no operation on unprocessed objects. This processing option is supported for cubes, dimensions, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessData</dev:value>
						<maml:description>
							<maml:para>Processes data only without building aggregations or indexes. If there is data is in the partitions, it will be dropped before re-populating the partition with source data. This processing option is supported for cubes, measure groups, and partitions. Can be used for dimensions, cubes, measure groups, and partitions.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessDefault</dev:value>
						<maml:description>
							<maml:para>Detects the state of the object to be processed, and performs whatever type of processing (such as Full or Incremental) that is needed to return it to a fully processed state. This processing option is valid for databases, dimensions, cubes with measure groups and partitions, and mining structures with mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClear</dev:value>
						<maml:description>
							<maml:para>Removes data, aggregations, and indexes. Can be used for databases, dimensions, cubes, measure groups, partitions, mining structures, and mining models.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessStructure</dev:value>
						<maml:description>
							<maml:para>If the cube is unprocessed, Analysis Services will process, if necessary, all of the cube's dimensions. After that, Analysis Services will create only cube definitions. This allows users to start browsing the cube. If this option is applied to a mining structure, it populates the mining structure with source data. The difference between this option and the Process Full option is that this option does not iterate the processing down to the mining models themselves. This processing option is supported for cubes and mining structures. Can be used for cubes and mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessClearStructureOnly</dev:value>
						<maml:description>
							<maml:para>Removes all training data from a mining structure. This processing option is supported for mining structures only. Can be used for mining structures.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessScriptCache</dev:value>
						<maml:description>
							<maml:para>Rebuilds the MDX script cache if the cube is already processed. An error will be generated if the cube is not already processed. Can be used for cubes.</maml:para>
						</maml:description>
					</dev:possibleValue>
					<dev:possibleValue>
						<dev:value>ProcessRecalc</dev:value>
						<maml:description>
							<maml:para>ProcessRecalc is a special processing type to process calculated columns, relationships, hierarchies, etc. It can only be issued for the database.</maml:para>
						</maml:description>
					</dev:possibleValue>
				</dev:possibleValues>
			</command:parameter>
			<!-- Other parameters description goes here -->
		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>

		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->
					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>

		<command:terminatingErrors>
		</command:terminatingErrors>

		<command:nonTerminatingErrors>
		</command:nonTerminatingErrors>

		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>
				</maml:para>
			</maml:alert>
		</maml:alertSet>

		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Cubes\myCube\MeasureGroups\myMeasureGroup\Partitions\Partition1&gt; Get-Item .| Invoke-ProcessPartition -ProcessType:ProcessDefault
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlets retrieves the specified partition object and processes it.
					</maml:para>
				</dev:remarks>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para></maml:para>
				</maml:introduction>
				<dev:code>
					PS SQLSERVER:\SQLAS\MachineName\Instance\Databases\DB1\Cubes\myCube\MeasureGroups\&gt; Invoke-ProcessPartition -Name "myPartition" -MeasureGroupName "myGroup" -CubeName "myCube" -Database "DB1"  -ProcessType "ProcessDefault"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>
						The above cmdlet processes the partition myPartition available under measure group myGroup available inside database DB1.
					</maml:para>
				</dev:remarks>
			</command:example>
		</command:examples>

		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>
					<!-- Any related links goes here -->
					SQL Server Books Online:
				</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>
	
	<!--Backup-ASDatabase-->
	<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>
				Backup-ASDatabase
			</command:name>
			<maml:description>
				<maml:para>Enables a database administrator to take the backup of Analysis Service Database to a file.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para></maml:para>
			</maml:copyright>
			<command:verb>Backup</command:verb>
			<command:noun>ASDatabase</command:noun>
			<dev:version></dev:version>
		</command:details>
		<maml:description>
			<maml:para>
				Enables a database administrator to take the backup of Analysis Service Database to a file. If only backup file name is mentioned without the location, the default backup location specified during the installation will be considered. Database Administrator can also pass multiple databases through pipeline and perform the backup operation.
			</maml:para>
		</maml:description>

		<!-- Cmdlet syntax section-->
		<command:syntax>
			<command:syntaxItem>
				<maml:name>Backup-ASDatabase</maml:name>
				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
					<maml:name>BackupFile</maml:name>
					<maml:description>
						<maml:para>The backup file path/name where database will be backed up. If only backup file name is mentioned without the location, the default backup location specified during the installation will be considered.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>
							Analysis Services Database Name that has to be backed up.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>AllowOverwrite</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether the destination files can be overwritten during backup.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>BackupRemotePartitions</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether remote partitions will be backed up or not.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>ApplyCompression</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether the backup will be compressed or not.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>
				
				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>FilePassword</maml:name>
					<maml:description>
						<maml:para>
							The password to be used with backup file encryption
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Locations</maml:name>
					<maml:description>
						<maml:para>
							The locations where the backup will be stored.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.BackupLocation[]</command:parameterValue>
				</command:parameter>
				
				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Backup-ASDatabase</maml:name>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByValue)" position="named">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>
							Analysis Services Database object that has to be backed up.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.Database</command:parameterValue>
				</command:parameter>
				
				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>AllowOverwrite</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether the destination files can be overwritten during backup.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>BackupRemotePartitions</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether remote partitions will be backed up or not.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>ApplyCompression</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether the backup will be compressed or not.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>FilePassword</maml:name>
					<maml:description>
						<maml:para>
							The password to be used with backup file encryption.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Locations</maml:name>
					<maml:description>
						<maml:para>
							The locations where the backup will be stored.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.BackupLocation[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>

		</command:syntax>

		<!-- Cmdlet parameter section  -->
		<command:parameters>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
				<maml:name>BackupFile</maml:name>
				<maml:description>
					<maml:para>The backup file path/name where database will be backed up. If only backup file name is mentioned without the location, the default backup location specified during the installation will be considered.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Analysis Services Database Name that has to be backed up.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>AllowOverwrite</maml:name>
				<maml:description>
					<maml:para>Indicates whether the destination files can be overwritten during backup.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				<dev:type>
					<maml:name>SwitchParameter</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>BackupRemotePartitions</maml:name>
				<maml:description>
					<maml:para>Indicates whether remote partitions will be backed up or not.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				<dev:type>
					<maml:name>SwitchParameter</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>ApplyCompression</maml:name>
				<maml:description>
					<maml:para>Indicates whether the backup file will be compressed or not.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				<dev:type>
					<maml:name>SwitchParameter</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>FilePassword</maml:name>
				<maml:description>
					<maml:para>The password to be used with backup file encryption</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">SecureString</command:parameterValue>
				<dev:type>
					<maml:name>SecureString</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
			
			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Server</maml:name>
				<maml:description>
					<maml:para>
						Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
						For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>string</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>localhost</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Credentials</maml:name>
				<maml:description>
					<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				<dev:type>
					<maml:name>PSCredential</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Locations</maml:name>
				<maml:description>
					<maml:para>The locations where the backup will be stored.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.BackupLocation[]</command:parameterValue>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.BackupLocation[]</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
			
			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>
						Analysis Services Database object that has to be backed up.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.Database[]</command:parameterValue>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.Database[]</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
			
		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.Database</maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>
		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>
		<!-- Error section-->
		<command:terminatingErrors />
		<command:nonTerminatingErrors />
		<!-- Notes section  -->
		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>

				</maml:para>
			</maml:alert>
			<maml:alert>
				<maml:para></maml:para>
			</maml:alert>
		</maml:alertSet>

		<!-- Example section  -->
		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Backup-ASDatabase mydb.abf mydatabase
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Backup the database 'mydatabase' to a file 'mydb.abf'. The backup file will be available at the default backup location specified during Analysis Service installation.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Backup-ASDatabase "D:\MyFolder\mydb.abf" mydatabase -AllowCompression
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Backup the database 'mydatabase' to a file 'mydb.abf' at the location 'D:\MyFolder\' and compresses the backup file.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 3 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Backup-ASDatabase "D:\MyFolder\mydb.abf" mydatabase -AllowCompression -FilePassword:$pwd
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Backup the database 'mydatabase' to a file 'mydb.abf' at the location 'D:\MyFolder\'. This compresses and encrypts the backup file.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

		</command:examples>
		<!-- Link section  -->
		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>SQL Server Books Online</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>
	
	<!--Restore-ASDatabase-->
	<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>
				Restore-ASDatabase
			</command:name>
			<maml:description>
				<maml:para>Restores a specified Analysis Service database from a backup file.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para></maml:para>
			</maml:copyright>
			<command:verb>Restore</command:verb>
			<command:noun>ASDatabase</command:noun>
			<dev:version></dev:version>
		</command:details>
		<maml:description>
			<maml:para>
				Enables a database administrator to restore the Analysis Service Database from a backup file. If only backup file name is mentioned without the location, the default backup location specified during the installation will be considered. 
	</maml:para>
		</maml:description>

		<!-- Cmdlet syntax section-->
		<command:syntax>
			<command:syntaxItem>
				<maml:name>Restore-ASDatabase</maml:name>
				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
					<maml:name>RestoreFile</maml:name>
					<maml:description>
						<maml:para>Name of the backup file to restore.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>
							Analysis Services Database Name that has to be restored.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>AllowOverwrite</maml:name>
					<maml:description>
						<maml:para>
							Indicates whether the database will be overwritten, if it exists.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Locations</maml:name>
					<maml:description>
						<maml:para>
							Remote location of the partitions to be restored on the same server.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.RestoreLocation[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Security</maml:name>
					<maml:description>
						<maml:para>
							Indicates the security settings for the restore.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.RestoreSecurity</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Password</maml:name>
					<maml:description>
						<maml:para>
							Password to decrypt the restoration file.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">System.SecureString</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>StorageLocation</maml:name>
					<maml:description>
						<maml:para>
							The Database storage location.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				</command:parameter>
		 
				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							-Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>     
		</command:syntax>

		<!-- Cmdlet parameter section  -->
		<command:parameters>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
				<maml:name>RestoreFile</maml:name>
				<maml:description>
					<maml:para>Restores a specified Analysis Service database from a backup file.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Analysis Services Database Name that has to be restored.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>AllowOverwrite</maml:name>
				<maml:description>
					<maml:para>Indicates whether the destination files can be overwritten during resetore.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">SwitchParameter</command:parameterValue>
				<dev:type>
					<maml:name>SwitchParameter</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Locations</maml:name>
				<maml:description>
					<maml:para>Remote location of the partitions to be restored.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.RestoreLocation[]</command:parameterValue>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.RestoreLocation[]</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>  

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Security</maml:name>
				<maml:description>
					<maml:para>Represents security settings for the restore operation.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.RestoreSecurity</command:parameterValue>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.RestoreSecurity</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			<dev:possibleValues>
				<dev:possibleValue>
					<dev:value>CopyAll</dev:value>
					<maml:description>
						<maml:para>
							Restores the database roles contained in the backup file, as well as the user accounts associated with the roles.
						</maml:para>
					</maml:description>
				</dev:possibleValue>
				<dev:possibleValue>
					<dev:value>SkipMembership</dev:value>
					<maml:description>
						<maml:para>
							Restores the database roles contained in the backup file, but does not restore the user accounts associated with the roles.
						</maml:para>
					</maml:description>
				</dev:possibleValue>
				<dev:possibleValue>
					<dev:value>IgnoreSecurity</dev:value>
					<maml:description>
						<maml:para>Excludes the entire security information during the Restore operation.</maml:para>
					</maml:description>
				</dev:possibleValue>
			</dev:possibleValues>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Server</maml:name>
				<maml:description>
					<maml:para>
						Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
						For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
		</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>localhost</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Credentials</maml:name>
				<maml:description>
					<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				<dev:type>
					<maml:name>PSCredential</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>
		 
			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>StorageLocation</maml:name>
				<maml:description>
					<maml:para>
						Database storage location.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>
		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>
		<!-- Error section-->
		<command:terminatingErrors />
		<command:nonTerminatingErrors />
		<!-- Notes section  -->
		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>

				</maml:para>
			</maml:alert>
			<maml:alert>
				<maml:para></maml:para>
			</maml:alert>
		</maml:alertSet>

		<!-- Example section  -->
		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Restore-ASDatabase mydb.abf mydatabase
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Restore the backup file 'mydb.abf' to database 'mydatabase'. The backup file will be available at the default backup location specified during Analysis Service installation.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 2 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					Restore-ASDatabase "D:\MyFolder\mydb.abf" mydatabase -Password:$pwd
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Restore the backup file 'mydb.abf' to database 'mydatabase' using the password that was specified when the backup file was created.</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

		<command:example>
			<maml:title>
				-------------------------- EXAMPLE 3 --------------------------
			</maml:title>
			<maml:introduction>
				<maml:para>C:\PS&gt;</maml:para>
			</maml:introduction>
			<dev:code>
				Restore-ASDatabase "D:\MyFolder\mydb.abf" mydatabase -Security:CopyAll
			</dev:code>
			<dev:remarks>
				<maml:para>Description</maml:para>
				<maml:para>-----------</maml:para>
				<maml:para>Restore the backup file 'mydb.abf' to database 'mydatabase'. While Restoring the database restores all the roles and the corresponding members from the backup database to new database.</maml:para>
				<maml:para></maml:para>
				<maml:para></maml:para>
				<maml:para></maml:para>
				<maml:para></maml:para>
			</dev:remarks>
			<command:commandLines>
				<command:commandLine>
					<command:commandText></command:commandText>
				</command:commandLine>
			</command:commandLines>
		</command:example>
		
		</command:examples>
		<!-- Link section  -->
		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>SQL Server Books Online</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>
	
	<!-- Merge-Partition-->
	<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>
				Merge-Partition
			</command:name>
			<maml:description>
				<maml:para>This cmdlet merges the data of one or more source partitions into a target partition and deletes the source partitions.</maml:para>
			</maml:description>
			<maml:copyright>
				<maml:para></maml:para>
			</maml:copyright>
			<command:verb>Merge</command:verb>
			<command:noun>Partition</command:noun>
			<dev:version></dev:version>
		</command:details>
		<maml:description>
			<maml:para>
				This cmdlet merges the data of one or more source partitions into a target partition and deletes the source partitions.
				Partitions can be merged only if they meet all the following criteria:
					Partitions are in the same measure group.
					Partitions are stored in the same mode (MOLAP, HOLAP, and ROLAP).
			</maml:para>
		</maml:description>

		<!-- Cmdlet syntax section-->
		<command:syntax>
			<command:syntaxItem>
				<maml:name>Merge-ASDatabase</maml:name>
				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
					<maml:name>Name</maml:name>
					<maml:description>
						<maml:para>Name of the target partition to where the source partitions data will be merged.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
					<maml:name>SourcePartitions</maml:name>
					<maml:description>
						<maml:para>
							Source partition names from which data is merged to target partition.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>
							Name of the Analysis Server database where the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Cube</maml:name>
					<maml:description>
						<maml:para>
							Name of the cube under which the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>MeasureGroup</maml:name>
					<maml:description>
						<maml:para>
							Name of the Measure Group under which the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							-Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>

			<command:syntaxItem>
				<maml:name>Merge-ASDatabase</maml:name>
				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named">
					<maml:name>TargetPartition</maml:name>
					<maml:description>
						<maml:para>Target partition object to where the source partitions data will be merged.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.Partition</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
					<maml:name>SourcePartitions</maml:name>
					<maml:description>
						<maml:para>
							Source partition names from which data is merged to target partition.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Database</maml:name>
					<maml:description>
						<maml:para>
							Name of the Analysis Server database where the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Cube</maml:name>
					<maml:description>
						<maml:para>
							Name of the cube under which the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>MeasureGroup</maml:name>
					<maml:description>
						<maml:para>
							Name of the Measure Group under which the partitions exist.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Server</maml:name>
					<maml:description>
						<maml:para>
							-Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
							For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
						</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				</command:parameter>

				<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
					<maml:name>Credentials</maml:name>
					<maml:description>
						<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
					</maml:description>
					<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				</command:parameter>

			</command:syntaxItem>
		</command:syntax>

		<!-- Cmdlet parameter section  -->
		<command:parameters>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="0">
				<maml:name>Name</maml:name>
				<maml:description>
					<maml:para>Name of the target partition to where the source partitions data will be merged.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
				<maml:name>SourcePartitions</maml:name>
				<maml:description>
					<maml:para>Source partition names from which data is merged to target partition.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String[]</command:parameterValue>
				<dev:type>
					<maml:name>System.String[]</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Database</maml:name>
				<maml:description>
					<maml:para>Name of the Analysis Server database where the partitions exist.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">string</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Cube</maml:name>
				<maml:description>
					<maml:para>Name of the cube under which the partitions exist.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>MeasureGroup</maml:name>
				<maml:description>
					<maml:para>Name of the Measure Group under which the partitions exist.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Server</maml:name>
				<maml:description>
					<maml:para>
						Specifies the Analysis Services instance to which the cmdlet will connect and execute. If not server name is specified, the cmdlet will try to connect to localhost.
						For default instances, only specify the computer name: &quot;MyComputer&quot;. For named instances, use the format &quot;ComputerName\InstanceName&quot; For IIS Server, use the format http[s]://server[:port]/virtualdirectory/msmdpump.dll.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">System.String</command:parameterValue>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue>localhost</dev:defaultValue>
			</command:parameter>

			<command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
				<maml:name>Credentials</maml:name>
				<maml:description>
					<maml:para>If this parameter is specified, the user name and password passed will be used to connect to specified Analysis Server instance. If no credentials are specified default windows account of the user who is running the tool will be used.</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">PSCredential</command:parameterValue>
				<dev:type>
					<maml:name>PSCredential</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

			<command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true" position="named">
				<maml:name>TargetPartition</maml:name>
				<maml:description>
					<maml:para>
						Target partition object to where the source partitions data will be merged.
					</maml:para>
				</maml:description>
				<command:parameterValue required="true" variableLength="false">Microsoft.AnalysisServices.Partition</command:parameterValue>
				<dev:type>
					<maml:name>Microsoft.AnalysisServices.Partition</maml:name>
					<maml:uri/>
				</dev:type>
				<dev:defaultValue></dev:defaultValue>
			</command:parameter>

		</command:parameters>

		<!-- Input - Output section-->
		<command:inputTypes>
			<command:inputType>
				<dev:type>
					<maml:name>System.String</maml:name>
					<maml:uri/>
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:inputType>
		</command:inputTypes>
		<command:returnValues>
			<command:returnValue>
				<dev:type>
					<maml:name></maml:name>
					<maml:uri />
					<maml:description />
				</dev:type>
				<maml:description>
					<maml:para>
						<!-- description  -->

					</maml:para>
				</maml:description>
			</command:returnValue>
		</command:returnValues>
		<!-- Error section-->
		<command:terminatingErrors />
		<command:nonTerminatingErrors />
		<!-- Notes section  -->
		<maml:alertSet>
			<maml:title></maml:title>
			<maml:alert>
				<maml:para>

				</maml:para>
			</maml:alert>
			<maml:alert>
				<maml:para></maml:para>
			</maml:alert>
		</maml:alertSet>

		<!-- Example section  -->
		<command:examples>

			<command:example>
				<maml:title>
					-------------------------- EXAMPLE 1 --------------------------
				</maml:title>
				<maml:introduction>
					<maml:para>C:\PS&gt;</maml:para>
				</maml:introduction>
				<dev:code>
					$sources = "customers_2006","customers_2007","customers_2008"
					Merge-Partition -Name:Customers_2005, -SourcePartitions:$sources -Database:"AdventureWorksDW" -Cube:"Adventure Works" -MeasureGroup:"Internet Customers"
				</dev:code>
				<dev:remarks>
					<maml:para>Description</maml:para>
					<maml:para>-----------</maml:para>
					<maml:para>Merges the Partitions "customers_2006", "customers_2007" and "customers_2008" into the partition "customers_2005".</maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
					<maml:para></maml:para>
				</dev:remarks>
				<command:commandLines>
					<command:commandLine>
						<command:commandText></command:commandText>
					</command:commandLine>
				</command:commandLines>
			</command:example>

		</command:examples>
		<!-- Link section  -->
		<maml:relatedLinks>
			<maml:navigationLink>
				<maml:linkText>SQL Server Books Online</maml:linkText>
				<maml:uri/>
			</maml:navigationLink>
		</maml:relatedLinks>
	</command:command>
	
</helpItems>
