STDOUT in AZurePowershell
Hi Team,
I am using the CData PowerShell connector in an Azure PowerShell runbook and attempting to generate logs with the -logfile "STDOUT://"
option. However, I am unable to see any logs in the console. When I try the same configuration in PowerShell on my local machine, the logs appear in the console as expected.
Could you please assist me in figuring out how to generate logs within Azure PowerShell runbooks? Is this functionality supported? If so, please let me know the proper way to enable it.
Import the Salesforce module
Import-Module SalesforceCmdlets
Define Salesforce connection parameters
$user = "******@gmail.com"
$password = "****"
$securitytoken = "****"
$rtk="**"
$authscheme="Basic"
$logfile=""STDOUT://"
$verbosity="5"
$conn=Connect-Salesforce -User $user -Password $password -SecurityToken $securitytoken -RTK $rtk -AuthScheme $authscheme -logfile $logfile -Verbosity $verbosity