Solved

Error: The type or namespace name 'Management' does not exist in the namespace 'System'  (are you missing an assembly reference?) - when I put 'using System.Management.Automation;'

Posted on 2009-04-03
2
2,508 Views
Last Modified: 2013-12-17
Please let me know why I get this error message,
Error: The type or namespace name 'Management' does not exist in the namespace 'System'  (are you missing an assembly reference?) - when I put 'using System.Management.Automation;'
0
Comment
Question by:kyekim
2 Comments
 
LVL 6

Accepted Solution

by:
SaedSalman earned 250 total points
ID: 24064730
are you missing an assembly reference?)
Yes, you did, you should add the reference.

To do so,
in the solution explorer windows, right click on "References" and choose "add reference"
then, move to "Browse" tap
go to this path: c:\Windows\assembly
choose the package called "System.Management.Automation" and press enter.


Regards,
Saed Salman
0
 

Author Closing Comment

by:kyekim
ID: 31566429
Thank you for the answer.  
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create and license users in Office 365 in bulk based on a CSV file. A step-by-step guide with PowerShell script examples.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now