Forum Discussion

jensenjk1000's avatar
jensenjk1000
Copper Contributor
Jan 03, 2022

Reuse functions in powershell

Hi ,

I'm having this old reference on how to reuser code in powershell scripts. https://devblogs.microsoft.com/scripting/how-to-reuse-windows-powershell-functions-in-scripts/

This has been working using powershell commend line or ISE - but now I'm migrating to Visual Studio Code  and this seems not to work in VSC - any suggestions?

1 Reply

  • Schnittlauch's avatar
    Schnittlauch
    Iron Contributor
    Hi jensenjk1000 ,

    I'm not total sure but, VSC doesn't have persmissions for reading the PowerShell function drive.

    Best regards
    Schnittlauch

Resources