Forum Discussion

amitghorpade's avatar
amitghorpade
Copper Contributor
Mar 17, 2020

how to invoke command for another cli

Hi all,

I am trying below thing - Create one powershell script to execute no of steps

1. Login to PCF using CF CLI

2. select organization

3.select role

4. deploy application

 

I am able to do it using invoke-expression "cf login -a username password"

after this command moves inside CF CLI. now i am not sure how i can pass or invoke command inside this CLI

No RepliesBe the first to reply

Resources