Solved

get-acl command

Posted on 2014-04-08
8
423 Views
Last Modified: 2014-04-29
To be able to make use of commands such as get-acl etc, aside from powershell, do I need to install anything else on my system so these commands can be run? If so where can I download these tools from?
0
Comment
Question by:pma111
8 Comments
 
LVL 18

Assisted Solution

by:Raheman M. Abdul
Raheman M. Abdul earned 167 total points
ID: 39985281
get-acl is a powershell cmdlet.  All Windows 7 and later computers comes with powershell v1.0so no need to install the powershell.
Some cmdlets unless you use them in your script need higher versions of Powershell say v2, v3, v4 which you can install freely from microsoft website.

Powershell v2.0 download from: http://msdn.microsoft.com/en-us/library/ff637750%28v=azure.10%29.aspx
Powershell v3.0 download from: http://www.microsoft.com/en-us/download/details.aspx?id=34595
0
 
LVL 3

Author Comment

by:pma111
ID: 39985349
so theres no seperate install for the cmdlets, the cmdlets are essentially preinstalled with powershell?
0
 
LVL 3

Author Comment

by:pma111
ID: 39985387
0
 
LVL 18

Expert Comment

by:Raheman M. Abdul
ID: 39985575
Powershell comes with Windows 7. If you want to use active directory cmdlets from windows 7 machine, then you need to follow the instructions given in the site you posted.

If you want to use AD cmdlets from server 2008 etc i guess its already installed on server.
Not all modules are installed on windows 7. It depends on what cmdlets you want to run on the machine.
even if you want to install them then its not difficult.

What is your plan?
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 3

Author Comment

by:pma111
ID: 39985586
My plan is to install whatever I need/is required on Windows 7 to be able to use the cmdlets in my queries. I dont have access to a 2008 server so will need to do this manually.
0
 
LVL 17

Accepted Solution

by:
Premkumar Yogeswaran earned 167 total points
ID: 39985589
for above mentioned link, it is not an comment-let.
It is an module. Once you installed the AD module, you will get additional comments added to your shell.

To get the list of command, use below command

get-command

Cheers,
Prem
0
 
LVL 18

Expert Comment

by:Raheman M. Abdul
ID: 39985604
what type of queries you have?
Are you planning to use Active Directory cmdlets from your windows 7, then you need to follow the link you posted and run from windows 7.
If you dont want to use AD in your queries you just dont need to install it.
0
 
LVL 39

Assisted Solution

by:footech
footech earned 166 total points
ID: 39986727
Just wanted to restate/clarify some information.
Vista comes with PS 1.0.
Win7 comes with PS 2.0.
Win8 comes with PS 3.0.
Win8.1 comes with PS 4.0.
There are base cmdlets that come with each version of PowerShell that can be run on any machine.  If you upgrade your version of PS to a newer version than what came with your OS (e.g. installing PS 4.0 on Win7), there will be some cmdlets that aren't available like if you were running that same version of PS on a newer OS (but that doesn't mean there isn't any advantage to installing the newer PS on older OSes).

In addition, there are cmdlets that only apply to specific functions or software (like Active Directory, Exchange, SharePoint, etc.).  To use these typically requires loading the correct module.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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

15 Experts available now in Live!

Get 1:1 Help Now