PowerTip: Mini-Scripting Games 2014 Question 1

PowerTip: Mini-Scripting Games 2014 Question 1

  • Comments 10
  • Likes

Summary: Here is the Mini-Scripting Games 2014 first short-answer question.

Hey, Scripting Guy! 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?

Hey, Scripting Guy! Answer Answer to be posted next week!

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • 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.