Hi Jordan,
I am running the latest script. If I step through the script in Debug mode of the PowerShell ISE, it hits line 278:
If (!(Get-PSSessionConfiguration -Verbose:$false) -or (!(Get-ChildItem WSMan:\localhost\Listener)))
It evaluates the Get-PSSessionConfiguration part OK and then the ISE opens Microsoft.WSMan.Management.psd1 [Read Only] and then the error is thrown.
WSMan isn't in the Get-PSDrive list:
PS C:\Windows\system32> get-psdrive
Name Used (GB) Free (GB) Provider Root CurrentLocation
---- --------- --------- -------- ---- ---------------
Alias Alias
C 35.09 4.81 FileSystem C:\ Windows\system32
Cert Certificate \
D 49.58 .41 FileSystem D:\
Env Environment
Function Function
HKCU Registry HKEY_CURRENT_USER
HKLM Registry HKEY_LOCAL_MACHINE
P 15.71 1.28 FileSystem P:\
Variable Variable
I'm thinking WinRM is corrupt on this server - any ideas how to fix that?