Question : Powershell get-credential

Trying to register a managed account in SharePoint 2010 via PowerShell.  Using the standard:

$cred=get-credential
sp-newmanagedaccount -credential $cred

However it's not working.  I'm guessing it might be because my password has a ":" in it.  Is this true?  If so, how can I get around this without resetting the password?

Answer : Powershell get-credential

I just noticed the bit in the brackets of  of the error "Windows cannot determine the user or computer name. (Not enough storage is available to complete this operation. ). Group Policy processing aborted."  

I don't suppose either your C: drive or home directory drive are very close to 100% full?  You can get some very strange errors if you run out of temporary storage ..
Random Solutions  
 
programming4us programming4us