PowerShell not enough memory

Today I was running a PowerShell script to remove all records in a SharePoint List, but I got an exception that PowerShell did not have enough memory. By default PowerShell has a memory limit of 1GB You can check the amount of memory with the following command within a Admin PowerShell window get-item wsman:localhost\Shell\MaxMemoryPerShellMB To…

Continue Reading

PowerShell behind the Proxy

Lately I was working on Windows Azure with PowerShell at a customer. As most of my customers have a proxy, I had some issues with the cmdLets to get to Azure. After searching the web I found a nice solution to use to get authenticated with the proxy for PowerShell. Start your PowerShell with the…

Continue Reading