deleted 1 characters in body; edited tags; edited title
Source Link
Falak Mahmood
  • 17.3k
  • 2
  • 39
  • 67

Sharepoint SharePoint list updation using powershell script from sql trigger

I need to update a sharepointSharePoint list whenever a datachange happens in the sql cuastom table. I am trying achieve this by writting a trigger in the sqltable and calling powershellPowerShell script to update list in the trigger.

Can anyone tell me the syntax to call the powershellPowerShell script in the trigger?

i was using tthe command below for executing the powershellPowerShell script in sql

xp_cmdshell 'c:\change.ps1 -Application_Number 100'

It gives me an error c:\change.ps1 is not recoganisedrecognized as an internal or external command

Sharepoint list updation using powershell script from sql trigger

I need to update a sharepoint list whenever a datachange happens in the sql cuastom table. I am trying achieve this by writting a trigger in the sqltable and calling powershell script to update list in the trigger.

Can anyone tell me the syntax to call the powershell script in the trigger?

i was using tthe command below for executing the powershell script in sql

xp_cmdshell 'c:\change.ps1 -Application_Number 100'

It gives me an error c:\change.ps1 is not recoganised as an internal or external command

SharePoint list updation using powershell script from sql trigger

I need to update a SharePoint list whenever a datachange happens in the sql cuastom table. I am trying achieve this by writting a trigger in the sqltable and calling PowerShell script to update list in the trigger.

Can anyone tell me the syntax to call the PowerShell script in the trigger?

i was using tthe command below for executing the PowerShell script in sql

xp_cmdshell 'c:\change.ps1 -Application_Number 100'

It gives me an error c:\change.ps1 is not recognized as an internal or external command

Source Link
Anu
  • 87
  • 1
  • 2
  • 8

Sharepoint list updation using powershell script from sql trigger

I need to update a sharepoint list whenever a datachange happens in the sql cuastom table. I am trying achieve this by writting a trigger in the sqltable and calling powershell script to update list in the trigger.

Can anyone tell me the syntax to call the powershell script in the trigger?

i was using tthe command below for executing the powershell script in sql

xp_cmdshell 'c:\change.ps1 -Application_Number 100'

It gives me an error c:\change.ps1 is not recoganised as an internal or external command