You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.
I was able to install WindowsCompatibility 1.0 RC1 in my Linux PS 6.1 environment. My idea was to PS Remote into a Windows machine to execute a Module there.
As the only way I have to Enter a PSSession from Linux to Windows is through Kerberos, I had to add the following line into the PSM1 file:
as a new parameter in $newPSSessionParameters hashtable, because the original script allows to enter a Credential but it does not allow to specify an authentication method.
When I ran it, the session was established, however I got an error further below, as displayed here
PS /home/[email protected]> import-module windowscompatibility
PS /home/[email protected]> $cred = Get-Credential
PowerShell credential request
Enter your credentials.
User: [email protected]
Password for user [email protected]: ***********
PS /home/[email protected]> Import-WinModule PowerClassifierForFiles -ComputerName 'w81o2010.bjtest.com' -Credential $cred -Verbose
VERBOSE: Connecting to compatibility session.
VERBOSE: Initializing the compatibility session on host 'w81o2010.bjtest.com'.
VERBOSE: The compatibility session name is '[email protected]'.
VERBOSE: Created new compatibiilty session on host 'w81o2010.bjtest.com'
VERBOSE: Getting module list...
VERBOSE: Importing modules...
VERBOSE: Loading module from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.Format.ps1xml'.
VERBOSE: Loading module from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.dll'.
VERBOSE: Exporting cmdlet 'Get-Classification'.
VERBOSE: Exporting cmdlet 'Set-Classification'.
VERBOSE: Exporting cmdlet 'Clear-Classification'.
VERBOSE: Exporting cmdlet 'Remove-Classification'.
VERBOSE: Exporting cmdlet 'Get-SelectorValues'.
VERBOSE: Importing cmdlet 'Clear-Classification'.
VERBOSE: Loading module from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.Format.ps1xml'.
VERBOSE: Loading module from path 'C:\Program Files\Boldon James\Power Classifier for Files\PowerClassifierForFiles\PowerClassifierForFiles.dll'.
VERBOSE: Exporting cmdlet 'Get-Classification'.
VERBOSE: Exporting cmdlet 'Set-Classification'.
VERBOSE: Exporting cmdlet 'Clear-Classification'.
VERBOSE: Exporting cmdlet 'Remove-Classification'.
VERBOSE: Exporting cmdlet 'Get-SelectorValues'.
VERBOSE: Importing cmdlet 'Clear-Classification'.
VERBOSE: Importing cmdlet 'Get-Classification'.
VERBOSE: Importing cmdlet 'Get-Classification'.
VERBOSE: Importing cmdlet 'Get-SelectorValues'.
VERBOSE: Importing cmdlet 'Remove-Classification'.
VERBOSE: Importing cmdlet 'Set-Classification'.
VERBOSE: Importing cmdlet 'Get-SelectorValues'.
VERBOSE: Importing cmdlet 'Remove-Classification'.
VERBOSE: Importing cmdlet 'Set-Classification'.
VERBOSE: Loading module from path '/tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/PowerClassifierForFiles.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path '/tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e.format.ps1xml'.
Import-Module : Errors occurred while loading the format data file: /tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e.format.ps1xml, Error at XPath /Configuration/ViewDefinitions/View[147] in file /tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e.format.ps1xml: A node is missing from TableControl, ListControl, WideControl, CustomControl.
/tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e.format.ps1xml, Error at XPath /Configuration/ViewDefinitions/View[147]/WideControl in file /tmp/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e/remoteIpMoProxy_PowerClassifierForFiles_3.8_w81o2010bjtestcom_9fe87038-f31a-4309-82b1-22ef8952ba1e.format.ps1xml: AutoSize and ColumnNumber are mutually exclusive.
At /usr/local/share/powershell/Modules/WindowsCompatibility/1.0.0/WindowsCompatibility.psm1:531 char:13
+ Import-Module -Name $ImportNames -NoClobber:$NoClobber @ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
PS /home/[email protected]>
The text was updated successfully, but these errors were encountered:
I was able to install WindowsCompatibility 1.0 RC1 in my Linux PS 6.1 environment. My idea was to PS Remote into a Windows machine to execute a Module there.
As the only way I have to Enter a PSSession from Linux to Windows is through Kerberos, I had to add the following line into the PSM1 file:
as a new parameter in $newPSSessionParameters hashtable, because the original script allows to enter a Credential but it does not allow to specify an authentication method.
When I ran it, the session was established, however I got an error further below, as displayed here
The text was updated successfully, but these errors were encountered: