Search found 17 matches

by vino1493
Tue Jul 24, 2018 2:19 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Automating TM1 instance monitoring v10.2.2
Replies: 4
Views: 368

Re: Automating TM1 instance monitoring v10.2.2

Thanks Orlando for the suggestion.
by vino1493
Mon Jul 23, 2018 4:07 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: DataAdmin is not working properly
Replies: 2
Views: 369

Re: DataAdmin is not working properly

I use v10.2.2 and there aren't much notable differences in the cfg files.
by vino1493
Mon Jul 23, 2018 4:04 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: TM1 perspective to send mails automatically
Replies: 4
Views: 317

Re: TM1 perspective to send mails automatically

Marwa, As you mentioned that "Action button which lanches a process that stock information in my Cube", I assume you are asked to send emails whenever the Action button gets clicked. In that case, you can update that TI process being called by the action button. I hope you have some good understandi...
by vino1493
Mon Jul 23, 2018 3:11 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Automating TM1 instance monitoring v10.2.2
Replies: 4
Views: 368

Automating TM1 instance monitoring v10.2.2

Hi All, One of my job is to check whether all the instances (12) are up and running on every Monday morning. I would normally open Architect or Perspectives and count the number of instances visible. If the count equals 12, let the users know that the instances are up and running via mail. I'm plann...
by vino1493
Mon May 14, 2018 9:34 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: DataAdmin is not working properly
Replies: 2
Views: 369

DataAdmin is not working properly

Hi All, I'm trying to explore the difference between SecurityAdmin and DataAdmin . Theoretically I understood the difference between them by going through IBM reference. I wanted to practically confirm to I provided my ID with SecurityAdmin and DataAdmin access separately and performed the test. Cas...
by vino1493
Fri May 11, 2018 7:54 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

Would like to answer my own question: Below is the code I used to pass parameters to a PowerShell script. I have not mentioned the variable declaration part. spath is the variable where I declared the Script's path\filename something like 'E:\scripts\logs.ps1' Thanks for all your support! sPsCmd = '...
by vino1493
Thu Apr 05, 2018 12:46 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

I would like to get the server and instance from control cube and pass them as a parameter to the power shell script. This script will move the log files from that server\instance\logfiles folder to a share point. the PS script I use is Get-ChildItem "\\$Instance\tm1servers$\HQ_PS_Performance\LogFil...
by vino1493
Thu Apr 05, 2018 11:01 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

I hope 'text' and 'Filepath' are mere variables and not functions. I altered my code as follows, but it doesn't work. Could you please have a look at it: TI process sServer = 'wa01095d'; sInstance = 'HQ_PS_Performance'; sCommand = 'PowerShell E:\tm1servers\Scripts\Final.ps1 -Server '| sServer |' -In...
by vino1493
Thu Apr 05, 2018 9:19 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

@lotsaram thanks for your comment, could you please share me a sample command line string for power shell scripts!
by vino1493
Thu Apr 05, 2018 7:01 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

@Wim Gielis I didn't read it anywhere, tried many trial and errors. Moreover executecommand doesn't accept parameters.

If you have any other thoughts or ideas to it. Please share it here, I would be glad to hear it. :)
by vino1493
Wed Apr 04, 2018 3:13 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Re: Is it possible to pass parameters to a powershell (.ps1) file?

@Orlando Thanks for your reply, this can be done for .exe files not .ps1, I guess I will have to hard code.
by vino1493
Tue Apr 03, 2018 7:52 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Is it possible to pass parameters to a powershell (.ps1) file?
Replies: 14
Views: 1425

Is it possible to pass parameters to a powershell (.ps1) file?

Hi, I have a ps1 code that could copy files from one folder to another, I'm trying to trigger this via TI process for which I used: ExecuteCommand ( 'PowerShell E:\powershell.ps1' , 1); What I'm trying to achieve now is can we pass the source and target folder names as a parameter via TI? something ...
by vino1493
Thu Mar 29, 2018 11:01 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Possible to send email with 'high importance'?
Replies: 2
Views: 463

Re: Possible to send email with 'high importance'?

sPriority = 'High'; # build powershell command sPsCmd = '"& { Send-MailMessage -From ' | sFrom | ' -To ' | sTo | ' -cc ' | sCC | ' -Subject ' | '\"' | sSubject | '\" -Body ' | '\"' | sBody | '\" -BodyAsHtml -Priority ' | sPriority | ' -SmtpServer ' | sSmtpServer | ' }"'; That did the trick
by vino1493
Thu Mar 29, 2018 9:27 am
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Possible to send email with 'high importance'?
Replies: 2
Views: 463

Possible to send email with 'high importance'?

I have the below code for sending email notification, but would like to send that with high importance. Is it possible? sSubject = 'WD-' | vDay | ' load completed for HQMR ' ; sBody = ' <body> Hi All, <br> <br> </body>' | 'load started '; # build powershell command sPsCmd = '"& { Send-MailMessage -F...
by vino1493
Wed Mar 28, 2018 4:07 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Possible to provide line space in comments?
Replies: 5
Views: 735

Re: Possible to provide line space in comments?

Developed the below code and it is working as expected! sSubject = 'WD-' | vDay | ' load completed for HQMR ' ; sBody = ' <body> Hi All, <br> <br> </body>' | 'load started '; # build powershell command sPsCmd = '"& { Send-MailMessage -From ' | sFrom | ' -To ' | sTo | ' -cc ' | sCC | ' -Subject ' | '...
by vino1493
Wed Mar 28, 2018 2:56 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Possible to provide line space in comments?
Replies: 5
Views: 735

Re: Possible to provide line space in comments?

Yeah that function will help, thank you so much for bringing it up.
by vino1493
Wed Mar 28, 2018 2:40 pm
Forum: IBM TM1, Planning Analytics, PAx and PAW
Topic: Possible to provide line space in comments?
Replies: 5
Views: 735

Possible to provide line space in comments?

I'm trying to send to email notification using powershell. For the email's body I wish to add line space to look something like below Hi All, Load has completed. My current code is sSubject = ' load completed' ; sBody = ' load completed'; # build powershell command sPsCmd = '"& { Send-MailMessage -F...