Cannot Call-Mainform_psf - Multiform
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.
- joshcollins@westfieldgrp.com
- Posts: 1
- Last visit: Mon Mar 21, 2022 4:35 am
Cannot Call-Mainform_psf - Multiform
I have a tool I am building that is multi-form and it needs variables from the Mainform. I have followed the direction on this site to add a call back to the mainform. However, it does not recognize the command Call- as being a known command.
Re: Cannot Call-Mainform_psf - Multiform
Use the Show verb instead of Call verb. It was updated to use an approved verb to comply with PowerShell best practices.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.