Is there a way to automatically generate output for a publication based on a schedule, for example nightly or weekly? Furthermore, can the output from that build be automatically copied to a specified location?
Is there a way to automatically generate output for a publication based on a schedule, for example nightly or weekly? Furthermore, can the output from that build be automatically copied to a specified location?
Dear Sravan,
Looking at the information and the script snippet you provided I think you can solve your issue by removing the -IshUserName and -IshPassword from the New-IshSession command.
Some background reasoning why I propose this:
- You state in your question that you are using ADFS authentication. This means that you will log on with the credentials you used to logon to your operating system. So you should not provide any username/password.
- Using the Get-Help New-IshSession command in a powershell script window shows that the command can be invoked using only the -WsBaseUrl argument. This is referenced as the ActiveDirectoryAuthGroup arguments.
You can see this in the screenshot below
I hope this helps resolving your issue
Kind Regards,
Raf
Dear Sravan,
Looking at the information and the script snippet you provided I think you can solve your issue by removing the -IshUserName and -IshPassword from the New-IshSession command.
Some background reasoning why I propose this:
- You state in your question that you are using ADFS authentication. This means that you will log on with the credentials you used to logon to your operating system. So you should not provide any username/password.
- Using the Get-Help New-IshSession command in a powershell script window shows that the command can be invoked using only the -WsBaseUrl argument. This is referenced as the ActiveDirectoryAuthGroup arguments.
You can see this in the screenshot below
I hope this helps resolving your issue
Kind Regards,
Raf