Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't found information about "SmsqlJobLauncher.exe" sintax and options. Anybody has it? Thanks.
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The SMSQLJobLauncher.exe program is used to execute the powershell cmdlet for the the SMSQL job.
Aside from the new-backup command and associated parameters, there are no other parameters.
Do you need to call the SMSQL powershell commands directly?
If so, you can do it this way:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "C:\Program Files\NetApp\SnapManager for SQL Server\smsqlshell.psc1" -command "New-Backup -Server 'sql-server' -RetainBackups 6 -ManagementGroup 'weekly'"
Thanks,
Mark
3 REPLIES 3
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The SMSQLJobLauncher.exe program is used to execute the powershell cmdlet for the the SMSQL job.
Aside from the new-backup command and associated parameters, there are no other parameters.
Do you need to call the SMSQL powershell commands directly?
If so, you can do it this way:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -psconsolefile "C:\Program Files\NetApp\SnapManager for SQL Server\smsqlshell.psc1" -command "New-Backup -Server 'sql-server' -RetainBackups 6 -ManagementGroup 'weekly'"
Thanks,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, this is all I need. I was so clueless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That was a good question. You are being a bit hard on yourself. Many of our customers and partners have a need to call SMSQL commands via PowerShell script. If you could mark the question answered, that would be great.
Thanks,
Mark
