I currently use vRA7 powerhell on a separate Windows VM to manage Microsoft tasks such as AD-DNS.
With vRA 8, it is possible to run Powershell as ABX action, and also to import modules via a zip file.
I am not allowed to use downloadable modules (e.g. from the PSGallery).
However, dnsserver is a PS Module that can be installed in Windows Server as a Windows Feature, so without internet access.
So I took the c:\windows\system32\windowspowershell\v1.0\modules\dnsserver folder and added it into the modules folder of a zip that also contains the handler.ps1 file.
This nearly worked, but I guess the resulting error comes from the module that is not compatible with vRA:
Action 'test' in module 'com.vmware.library.powershell' failed : Wrapped ch.dunes.scripting.server.polyglot.PolyglotRunnerException: Exception calling "ProcessRecord" with "1" argument(s): "The method or operation is not implemented."
ERROR Exception calling "ProcessRecord" with "1" argument(s): "The method or operation is not implemented."
ERROR Exception calling "ProcessRecord" with "1" argument(s): "The method or operation is not implemented."
ERROR At line:3977 char:7
ERROR + $__cmdletization_objectModelWrapper.ProcessRecord($__cmdletizat ...
ERROR + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR + CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
ERROR + FullyQualifiedErrorId : NotImplementedException
Anyone any idea?