0

I am trying to use Azure Flex powershell function to execute remote WinRM scripts. It is working in windows based consumption function. But I want to see if this works from flex which is linux based. I am facing the below issues,

  1. No Kudu console for flex function so i am not able to get access the linux terminal
  2. Keeping the PSWSMan module as part of managed dependency (keeping the modules as a folder in the application code folder), this did not work it is not showing the module as installed when I check Get-Module -ListAvailable
  3. I managed to install the module with Install-Module -Name PSWSMan -Confirm:$False -Force command in runtime, but this is not ideal.
  4. Even after installing the module I need to run Install-WSMan as root to enable the WSMan, this I am not able to do it in runtime.

Please if someone has attempted this WSMAN on Azure Flex, help me.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.