Learn about Windows PowerShell
Summary: Here is the Mini-Scripting Games 2014 first short-answer question.
On your laptop running Windows 8.1, you opened the Windows PowerShell console and typed Get-Disk. You were greeted with an error message that says: “Get-Disk: Access to a CIM resource was not available to the client." What is the issue?
Answer to be posted next week!
Powershell was started without "Run as administrator".
Did not select "Run as Administrator" when opening the Powershell prompt.
Selected "Run as Adminsitrator" and it gave a logon prompt?
C'mon guys... Is it difficult???
"I ask only one thing: Please do not post any answers to these problems until next week. Please do not spoil the fun for your fellow scripters!"
Sorry, I missed the previous blog entry where it explicitly said don't answer till next week
That's ok... just don't do it again =p
Tip for the blog: Write that warning on every problem you post =]
Get-Disk requires administrator level privileges. After gaining Admin privileges, you will have no problem extracting information using the Get-Disk cmdlet.
You need a way to remind me to come back in a week to look up the answer :)
Robert: They do. Use RSS feeds to subscribe ;)
thanks for sharing.