-1

Managed to get the PowerShell cmdlets installed and have been trying to download or list files in our bucket. I keep getting this message when I try any commands, as shown in the documentation.

Object reference not set to an instance of an object

Screenshot

When I use gsutil, I can download files just fine.

Is there a setting I may have missed?

Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328
Esuriency
  • 107
  • 1
  • 3
  • 12

2 Answers2

-1

what is you powershell version? Make sure you have latest powershell version 5.0 installed on your machine.

I was facing similar issue and could resolve by installing powershell 5.0.

I hope this helps.

Regards, Praful

-1

Read-gcsobject to download a file