Hello
Has any more seen the following issues before please? I am trying to enable PS remoting on Windows 2008 R2 SP1 x64, with SQL 2008 R2 SP2. It is a virtual Server (however not had an issue enabling PS Remoting on other virtual Servers before) PowerShell v2
Noting wrong with my C: drive did a full disk scan etc and can create other files etc in the temp folder
Any advise most welcome,
Thanks Ernie
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\Administrator> Enable-PSRemoting
WinRM Quick Configuration
Running command "Set-WSManQuickConfig" to enable this machine for remote management through WinRM service.
This includes:
1. Starting or restarting (if already started) the WinRM service
2. Setting the WinRM service type to auto start
3. Creating a listener to accept requests on any IP address
4. Enabling firewall exception for WS-Management traffic (for http only).
Do you want to continue? Yes
Yes to All
No [L] No to All
Suspend [?] Help (default is "Y"): y
WinRM already is set up to receive requests on this machine.
WinRM already is set up for remote management on this machine.
Confirm
Are you sure you want to perform this action?
Performing operation "Registering session configuration" on Target "Session configuration "Microsoft.PowerShell32" is
not found. Running command "Register-PSSessionConfiguration Microsoft.PowerShell32 -processorarchitecture x86 -force"
to create "Microsoft.PowerShell32" session configuration. This will restart WinRM service.". Yes
Yes to All
No [L] No to All
Suspend [?] Help (default is "Y"):
Register-PSSessionConfiguration : Cannot write shell configuration data into temporary file C:\Temp\lc3jarkf.s2cpsshell
.xml. Try again. Reason for failure: Could not find a part of the path 'C:\Temp\lc3jarkf.s2cpsshell.xml'..
At line:57 char:60
+ $null = Register-PSSessionConfiguration <<<< Microsoft.PowerShell32 -processorarchitecture x86 -
force
+ CategoryInfo : InvalidOperation: (:) [Register-PSSessionConfiguration], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.RegisterPSSessionConfigurationCommand
PS C:\Users\Administrator>