![]() WSMan is either not installed or unavailable for this system. On my Centos8.3 box, I ran into this issue: New-PSSession: This parameter set requires WSMan, and no supported WSMan client library was found. In that document, they don’t list CentOS/RHEL 8, which can be problematic, as you might run into some issues with the SSL libraries ( This blog calls one of those issues out, as well as a few others). Id Name Transport ComputerName ComputerType State ConfigurationName Availabilityĩ Runspace9 WSMan COMPUTER RemoteMachine Opened Microsoft.PowerShell Available But it works! PS /> New-PSSession -ComputerName COMPUTER -Credential -Authentication Kerberos Now, the downside is that not all PowerShell modules are available from Linux (for example, ActiveDirectory isn’t currently available). Well, yes! And this article tells you how to install it: We’ll cover that in a bit, but first… WAIT. One workaround is to use “Resource-based Kerberos constrained delegation,” where you basically tell the 3rd server to accept delegated credentials from the 2nd server via the PrincipalsAllowedToDelegateToAccount parameter in the ADComputer cmdlets. Making the second hop in PowerShell Remotin g This is a known issue with some workarounds listed here: I figured out how to get this working and rather than let that knowledge rot in the far reaches of my brain, I’m writing this up, since in my Google hunt, I found lots of people had similar issues with Linux PowerShell (not necessarily to ONTAP). As a result, they’d get “Access Denied” in their script when attempting to access the share. The issue they were having was that the credentials used to connect to the Windows client weren’t passing through to the ONTAP system. Remote Windows client uses PowerShell to authenticate against an ONTAP SMB share.Run a script from Linux that calls PowerShell on a remote Windows client using Kerberos. ![]() I recently got a question about how to perform the following scenario:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |