PS C:\windows\system32> Get-WindowsFeature
Get-WindowsFeature :Cannot find drive. A drive with the name '.C' does not exist.
At line:0 char:0
+ Get-WindowsFeature
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (.C:String) [], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound
Help me, please. I have encountered this problem from many operations such as "add or remove roles and features". I have searched the registry table for PowerShell to find if the drive string ".C" exists. I don't know how the drive string is ".C". The PowerShell does not permit a drive string that contains some special chars such as '/','\','.'.
I can not install or uninstall any roles and features from ServerManager. Please help me.