So I got the requirement wrong, looks like we are trying to copy a file to the SharePoint site. we are not equipped in Powershell and that's why I am asking. Any help is appreciated. I know this thread is not related to what I am asking, but please feel free to send me a message. Thankyou!