Quantcast
Channel: PowerShell General
Browsing all 10624 articles
Browse latest View live

Creating a New Email address policy for users in another Domain with Exchange...

Hi EveryoneIs it possible to create a new-emailaddress policy with Exchange 2013 Powershell, for users within OU´s located on another different domain/forest than where Exchange 2013 is installed?...

View Article


set custom attribute15 valuse for all recipients in one DL

I need to set the custom attribute15 valuse as "Green" for all recipients in one Distribution list by powershell script. I am having exchange 2007 environment. some one can you help on this? 

View Article


Script to get mailbox size for users by department

I need assistant getting mailbox size for a group of users that belong to a specific department.  Does anyone know how to use the Department field as a parameter in a script.  Ideally I would like to...

View Article

Need some direction here

HiI am wondering how could I achieve this idea:I just finished cleaning items in deleted items folder older than 90 days.now I want to know if the items left are older than lets say 100 days but like...

View Article

Exchange 2003 and Powershell v1 help

Hi All,Heres the situation:Exchange 2003, PowerShell v1I'm looking to get the following information -- UserName, Mailbox Size, Last logon date and time and if I can get the last logon time filtered to...

View Article


move mail to a pst

I don't know if I am in the right place but here goesI found this script on the goolge to move emails in Outlook to a PST.  I get an error and I am clueless on how to get to to work. Here is the...

View Article

Retrieve List of Mail Enabled AD Accounts that are not a member of a Specific...

We need to find all mailboxes that are not a member of the group "EV Users 5 Years".  So we can then sift through and add all our remaining users into EV with exceptions.  I've worked at it for hours...

View Article

MS-exchange script to extract mail-admin audit logs

I have script logic as follows:- - check if the folder is empty - If **yes** Use the same command with exception time period of last 30 days. i.e StartDate etc       - If folder not empty get / extract...

View Article


Export all users to exel in exchange 2007

Our new Parent company wants all exchange users exported to .csvNow, I can do some powercli in VMware, but being a VMware guy makes this a challenge to me.We are running exchange 2007the following...

View Article


How can I log the result of a Powershell script?

Hi,I'm using the script below to change around 1000 MailboxFolderPermissions. I want to know how I can log the results in a txt-file. I tried to add ">D:\log.txt" and on the following row...

View Article

Report on individual mailbox.

I have written a Powershell command:Get-MailboxFolderStatistics 'Mailbox1' |select name, foldersize, itemsinfolder |Export-CSV C:\Mailbox1reportWhich works fine, I want to drill down a little more and...

View Article

Find Users Without Email Addresses

Hi -I am trying to pull a list of students that are in our AD, but not yet mail-enabled. There are certain criteria I need to filter to obtain the correct students.I'm looking for something like...

View Article

Get-mailboxfolderstatistics question

hello,How do I setup a powershell script to filter for the inbox item count for 2 specific Exchange 2010 mailboxes? Thank youGordon

View Article


Mailbox Search

Search-Mailbox -Identity "Joe Healy" -SearchQuery 'Subject:"Project Hamilton"' -TargetMailbox "DiscoveryMailbox" -TargetFolder "JoeHealy-ProjectHamilton" -LogLevel FullAbove command return all messages...

View Article

Reverse lookup on archive mailbox

Hi All, hope you're well.Wondering if anyone knows how to do a reverse look up on a an archive mailbox.So if you do a Get-Mailboxstatistics-Database DatabaseNameon a mailbox database that has Exchange...

View Article


how to recreate undelivered email report?

anyone have script to create undelivered emails report? I am looking for daily report for yesterday with sender and failed receipent.now i can view them from message tracker by doing DSN search and...

View Article

Exchange 2013 Dynamic Distribution Lists

I've been looking all over for a possible answer to this, and hoping I can find some help here. We use Exchange 2013 Dynamic Distribution lists in the environment (quite heavily too), to simplify user...

View Article


how to find what a Url has been changed to

I am new to Powershell and I have a script that I inherited.  The script opens a URL link and downloads files from the web site to a local path.  The problem is that each month, the URL changes so I...

View Article

Using Power Shell to run scripts on a remote computer

I have been tasked with a job of creating a power shell script that can be run from the command prompt that will make use of Microsoft Word (2013) to open a specified word document and save it as a PDF...

View Article

Coding output file

I am wanting to code an output file for the following script.  If the user is not found, I want to put the user(s) into a txt file.$List = Import-CSV "path-location"$Step1 = New-MsolLicenseOptions...

View Article
Browsing all 10624 articles
Browse latest View live


Latest Images