6
votes
1answer
297 views

Evaluating current ACEs on NTFS ACLs with PowerShell

We have a document management system that has million of files on a NTFS file system accessed through a network share. A single service account needs full permission to all of these files and the ...
2
votes
2answers
315 views

Providing Read-only permissions to mailbox in Exchange 2010

I need to provide read access to a user in Exchange 2010. No matter how many different variances of the PowerShell I use I get a "Could not expand the folder" error in Outlook, and "Your mailbox ...
0
votes
1answer
725 views

Managing inherited mailbox permissions in Exchange 2007

Reviewing the Full Access permissions on a mailbox using Exchange Management Console (EMC) does not show you the whole picture. Example - EMC shows no permissions for the account Domain\administrator ...
0
votes
1answer
32 views

Read-only access to external mailbox exchange2010

I try set permission RO for external mailbox. I try do this with this solution http://exchangeshare.wordpress.com/2009/07/07/how-to-setup-read-only-mailbox-in-exchange-20032007 And doesn't work. I ...
0
votes
0answers
177 views

Scripting for bulk NTFS permission xcacls.vbs vs PowerShell

I have a batch file with about 1000 lines using xcacls.vbs for customizing NTFS permissions for complex folder structure (removes of grants, removes of inheritance, then grants plus some explicit ...
2
votes
1answer
773 views

How can I set audit controls on files owned by TrustedInstaller using Powershell?

I am trying to set audit controls on a number of files (listed in ACLsWin.txt) located in \%Windows%\System32 (for example, aaclient.dll) using the following Powershell script: $FileList = ...
0
votes
2answers
528 views

Set group permission on folder

I have a folder with lots of subfolders D:\Data\Subfolder1 D:\Data\Subfolder2 D:\Data\Subfolder3 D:\Data\Subfolder4 D:\Data\Subfolder5 ... I need to create three active directory groups ...
4
votes
2answers
1k views

Is it possible to list all permissions where I don't have access

I'm looking for a way to recursively go through my entire file share ( fairly large 3TB of files ) and list out all files/folders that I don't have access to. Due to a migration and some errors on ...
2
votes
3answers
947 views

Permissions Issue? Putty + Plink + Pageant + Powershell + Scheduled Task

Background I have the following components: A windows server 2008 R2 box An administrator account (mine) A service account on the domain that is an Administrator of the box An installation of ...
1
vote
1answer
1k views

SQL Agent Powershell Job Failing with Non-Admin Proxy

I'm attempting to create a SQL Agent job that will run a PowerShell script that is saved on my system. However, the job fails with the following error: A job step received an error at line 1 in a ...
0
votes
1answer
77 views

EMC/Exchange Powershell not running as administrator or without correct privs

I have an AD/Exchange 2010 setup that usually works pretty well. However, after installing Outlook 2010 on the server and choosing to "remember the password" for a user who is not an administrator, ...
2
votes
1answer
2k views

User permissions added with set-acl do not get inherited to files and subfolders

I have written two PowerShell scripts. One asks the user for a foldername. It creates a folder with that name, gives the user full control, gives the administrators group full control and strips the ...
0
votes
3answers
1k views

How can I add a custom Powershell CMDLET to Exchange 2010?

I remember reading about how it's possible to add scripts or commandlets to Exchange 2010... in a way that as soon as Powershell imports the remote commands, your custom command is available as well. ...
4
votes
3answers
10k views

NTFS Permissions Auditing with PowerShell

I am working on a project where I need to be able to audit various users and user group permissions on a NTFS formatted Windows file server. I would like to use PowerShell and have it recursively ...
4
votes
2answers
5k views

How to give a user NTFS rights to a folder, via Powershell

I'm trying to build a script that will create a folder for a new user on our file server. Then take the inherited rights away from that folder and add specific rights back in. I have it successfully ...
1
vote
2answers
552 views

How to merge two AD groups?

We have some sloppily created groups on our AD backend. We had a couple domains that were merged, and wound up with similar groups.. "Financial Aid" "financialaid" "FA" etc... I want to consolidate ...
3
votes
2answers
4k views

Running a script as administrator without login as administrator

An old mate of mine used to say "Any question is stupid. Stupid is avoid asking" I'm pretty new on Windows System Administrator (just 3/4 months) and recently i started working on powershell 2.0. ...
1
vote
2answers
7k views

Powershell script to create folders from CSV list of users

I found a powershell script that creates folders (if they dont exist) and adds appropriate permissions. Below is the PS1 file (created by someone else) ...
1
vote
2answers
2k views

Adminstrator receives PermissionDenied when issuing get-childitem in PowerShell

I am trying to backup a drive from a laptop that is defunct. This drive was pulled from the machine and mounted in an external enclosure and connected to a desktop via USB. Laptop that the drive was ...
2
votes
2answers
1k views

Powershell script to pull users from an ad group and create folder with permissions

I saw a question that was similar however the answer they got was in vbscript. (http://serverfault.com/questions/33861/powershell-command-prompt-create-folders-from-ad-group-members) I need to create ...
1
vote
1answer
3k views

Changing permissions with Pwershell recursive

I am trying to write a script in powershell, that will find folders recursivly and based on the folder name replace the ACL on the folder. I have folders already with the correct permissions. These I ...
0
votes
1answer
3k views

Elevated Powershell script

Is it possible to elevate the permissions of a powershell script so a user without admin privileges can run the script? Our network admins are trying to find more time-efficient ways to accomplish ...
4
votes
4answers
19k views

How might I grant access to everyone's calendar in Exchange 2007?

We're considering changing our users' Outlook calendar permissions for all users so that everyone has "Reviewer" access by default. Since our users primarily use their calendars for business (and can ...