SCVVM Command freezing in Forms
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- ITZBund_WisIT
- Posts: 13
- Last visit: Mon Apr 15, 2024 6:50 am
Re: SCVVM Command freezing in Forms
Sorry for the delay.
I've just tried a simple Form instead of a Form Project and the result is the exactly same.
I've just tried a simple Form instead of a Form Project and the result is the exactly same.
Re: SCVVM Command freezing in Forms
Many modules cannot be run in a form. This includes many Azure modules. Modules that hang like this can be run as a job in the form and will usually work correctly.
- ITZBund_WisIT
- Posts: 13
- Last visit: Mon Apr 15, 2024 6:50 am
Re: SCVVM Command freezing in Forms
I've tried implementing this now and it seems to work, even though badly.
The command finally does end after being called, which is great.
The problem is that I have to put a bunch of the code into the job and not just the Set-SCLogicalNetworkDefinition because everything i pass to it (with param or $using:) is deserialized. I can live with that, but not with the output using Receive-Job also being deserialized.
I got past the command and it already looks like another command has the same problem. I'll continue that after my vacation, so thanks for the hint with the jobs.
The command finally does end after being called, which is great.
The problem is that I have to put a bunch of the code into the job and not just the Set-SCLogicalNetworkDefinition because everything i pass to it (with param or $using:) is deserialized. I can live with that, but not with the output using Receive-Job also being deserialized.
I got past the command and it already looks like another command has the same problem. I'll continue that after my vacation, so thanks for the hint with the jobs.