Quantcast
Channel: PowerShell.org » All Posts
Browsing all 13067 articles
Browse latest View live

Granular Administrative Permissions with DSC

I would like to learn more about using DSC to get very granular with administrative permissions on desktops. At TechEd one of the presenters mentioned you could really lock down most admin...

View Article


Reply To: Granular Administrative Permissions with DSC

What you're looking after is the "Just Enough Administration" (JEA) toolkit. Jeffrey Snover's TechEd 2014 session, available on Channel 9, would be a good starting point.

View Article


Reply To: Granular Administrative Permissions with DSC

PERFECT! Thanks!

View Article

Reply To: Powershell + HTML

see attached.. Attachments:You must be logged in to view attached files.

View Article

Reply To: Powershell + HTML

I try to use an in document style sheet, but it all depends on your comfort with CSS, here is an example I use on the Inactive AD Computer Report I generate. $HTMLhead = @"       Inactive Computer...

View Article


Reply To: Powershell + HTML

thanks guys. that worked perfectly

View Article

Data entry scripting – an interesting challenge

The company I work for recently a week-long outage of a ticket system that resulted in a lot of wasted time and energy to recover the backlog of tickets. I have been tasked with implementing a system...

View Article

Suggestion: EnhancedHTML2: Highlighting a single cell in a row

Hi I use EnhancedHTML2 and needed the ability to highlight only a single cell within a row. To achieve this I edited EnhancedHTML2 as follows: Replaced: if ($prop.ContainsKey('css')) { $cell_css =...

View Article


Reply To: Data entry scripting – an interesting challenge

Few questions: - What's your ticketing system? Is it something like Remedy, or Service Manager, or . . . and what version? I need to know that to identify how and where data is stored. For example,...

View Article


Image may be NSFW.
Clik here to view.

Reply To: European Summit sales are live

Hi Kieran! I just registered and got the confirmation email. It's my first Powershell Summit. Looking forward to meeting like-minded PowerShell enthusiasts and having a great time in the evening. Best...

View Article

Question: Running Powershell script remotely with custom parameters

Hello Guys/Girls, I am trying to run this script remotely from a Windows 2008 R2 # ##################################################################################### # SCRIPT_NAME: runJMXClient.ps1...

View Article

Reply To: Question: Running Powershell script remotely with custom parameters

Look at the -Argument parameter of Invoke-Command. There's a defined mechanism to do what you're after.

View Article

List of all GPO's with their links.

I'm brand new to PS, and have tried using the various helps for both the Get-ADOrganizationalUnit and Get-GPO cmdlets, but I can't seem to get what I need. I found a script online which (I export to a...

View Article


Reply To: Suggestion: EnhancedHTML2: Highlighting a single cell in a row

I guess I'm a bit confused; the CSS property used by EnhancedHTML2 accepts an expression. That expression should output a CSS class name, based on whatever logic you put into the expression. You then...

View Article

Reply To: List of all GPO's with their links.

Get-ADOrganizationalUnit returns an OU. OU objects don't know anything about linked GPOs. Get-GPO returns a GPO object – e.g., a representation of the file on disk. It has no idea where it's linked....

View Article


Reply To: List of all GPO's with their links.

Thanks for the info. Regarding the first link, I am able to register the cmdlet and successfully run it against my domain. However, it only seems to do one path at a time (top-level OU for example). I...

View Article

Reply To: List of all GPO's with their links.

I'm also having the same issue with the SDM cmdlets in the second link. I can get everything to run if I specify the OU or CN, like this, Get-SDMgplink -scope "OU=Servers,DC=example,DC=com" However, I...

View Article


Reply To: Suggestion: EnhancedHTML2: Highlighting a single cell in a row

Hi Don Yes you can apply different css to each field and it works fine. However, I didn't want to create multiple expressions (one for each field). My solution works by allowing a single expression to...

View Article

get-childitem output

I'm trying to get people to clean up old files. Never an easy job. To help them out, I want to generate reports of their department folders. One report would list their Powerpoint files, another PDFs...

View Article

Reply To: Suggestion: EnhancedHTML2: Highlighting a single cell in a row

I see. You're just not wanting to put an If construct into each property definition. Sure… I think it makes the code a bit harder to follow, but that's just a personal aesthetic. What would perhaps be...

View Article
Browsing all 13067 articles
Browse latest View live