rUNS CUBES VIA POWERSHELL

 

 

Create an XMLA file with the cube information:

clip_image001

Create a powershell script to process the XMLA file:

Code: Invoke-ASCmd -server AXPRODANA01\PROD -inputfile “C:\Scripts\Process_AX_Retailcube.xmla”

clip_image002

Create a basic task that runs the powershell script:

clip_image003

The user who run’s the job has to have LogOnAsBatch rights on the server.

See: https://social.technet.microsoft.com/Forums/windowsserver/en-US/760ee186-8074-40a5-95b0-35d17c2bdfab/log-on-as-batch-job-right

Dumps folder

You can configure Vista and higher to always generat and save a dump file.
Taget fra: http://msdn.microsoft.com/en-us/library/windows/desktop/bb513638(v=vs.85).aspx

LocalDumps\DumpFolder or LocalDumps\[Application Name]\DumpFolder

REG_EXPAND_SZ

The directory path. The default value is %LOCALAPPDATA%\CrashDumps. If the default is not used, the application must ensure that the folder has a sufficient ACL.

Windows Vista:  The registry values under the LocalDumps key are not supported. Note that this behavior changed with Windows Server 2008 and Windows Vista with Service Pack 1 (SP1).

The path where the dump files are to be stored.

Note that per-process settings will override any global settings that exist For more information, see Collecting User-Mode Dumps.

This setting is not supported in the HKEY_CURRENT_USER registry hive.

Yet another admins blog