An issue regarding time zones of Date and Time values retrieved from Exchange...
Hello folks,I need your help as I'm pretty new in MS Exchange and Power Shell technologies.So here is my question...How can I retrieve Date and Time values listed below in UTC using Exchange Power...
View Articlemoving old email
Hi, I have an issue that I need help.I have email mailbox with thousand of messages in "INBOX" folder, I need to reduce this number.I need a script that move all email to sub-folder and will leave only...
View ArticleScript 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 Articleprogress bar/ group of aliases
I wrote a script that imports a list of user alias' s, each alias then runs through the pipe and begins a new mailbox move to a specific server and database. What I want is a script that queries just...
View ArticleAppending to a Displayname in Exchange 2007
I am trying to append ***Disabled*** to 387 user's Displayname using the import-csv command. The csv contains Displayname, Alias. Any idea on how i can script this so i don't have to do it individually?
View ArticleExporting Distribution Group Members
I am trying to run the following script but it gives me a message about Input being NULL. What am I missing? $report=foreach($i in Get-DistributionGroup | where {$_.Name -like '*equity*'}) {...
View ArticleSending each item of array as new line.
I want to send each item in that array as new line:$str = Get-Service -DisplayName Windows* | foreach {$_.DisplayName} | Out-Stringif I run that script:$str = Get-Service -DisplayName Windows* |...
View ArticleConneting to Exchange 2010 from win7(different domain)
Hello All,Client: Win 7 EnterpriseClient Domain:ds.swin.edu.auHost server: Windows 2008 R2 EnterpriseSever domain: ex.swin.edu.auExchange: 2010How do I connect to Exchange 2010 with powershell...
View ArticleHelp with automation of email address policy PS script
I have a need to pull information from a file and automate the process of adding Email Address PoliciesI am trying to run a script but I'm hitting dead endsThe first part of the script need to launch...
View ArticleScript to find SMTP addresses with #2 after them
Good Day all, I am running Exchange 2010 in my environent and as you know if you create an address for a user that already exists it will create the account with First.Last2@my domain.com.Is there a...
View ArticleEmail address to Userr ID
HiIm trying to use powershell to obtain the users samid based on their email address (SMTP)Can someone please help as im new to powershell.
View Articlepowershell script for assigning \changing ownership of a shared mailbox
Can someone please tell me shell script for assigning or changing ownership to a mailbox ?!I am new to powershell, I have to update ownership of 200 shared mailboxes and would really prefer to run a...
View ArticleScript to find new accounts created on or after a specified date
Can anyone tell me how to get all new accounts created on or after a specified date and display the email name, first name and last name?
View ArticleImport multiple PST files to archive database
I need to create some script for import pst users archives to EXCHANGE 2010 sp1 database.Mail archives stored on single file server \\FILE-SERVER\PST\%Username%\An amount and name of files is different...
View ArticleSuggestions for improvement/A little help
Hi, First time posting, so let me know if you need any more information. I haven't been using PS for long, so bear with me. I have this code, which repeats 12 times in a script for different match...
View ArticleBatch files for Powershell
If i have this in my batch file:cd /d %~dp0powershell.exe -File Build_01\sp_script.ps1powershell.exe -File Build_02\sp_script.ps1pauseHow do I stop the execution of the batch if Build_01\sp_script.ps1...
View Articlequestion about $
Hi expertsI needed to find a script that modifies a file on a lot of servers.anyway I found something,modified it alittle.It works and allbut just out of curiousity I want to understand what a certain...
View ArticlePower Shell vs AutoIT
How does Power Shell compare to AutoIT in terms of:1. functionality2. complexity 3. learning curveCurrently my interest is for non-GUI functionality, especially for disk/folder/file management, PC...
View ArticleGet-content of files in different folders and compare if any difference
Hi,Have been stuck on this for awhile. I have a script that outputs ipconfig/routes/linkspeed, etc... to a text file in one location. After network changes, we would like to run the script again to get...
View ArticleNeed PowerShell Script to Deploy Multiple Application (.exe and .msi both)
Hi Team,I am new to PowerShell and this forum, currently I am using MDT task sequence to deploy multiple Application (.exe and .msi both) after the operating system. But I am getting Error code 1618...
View Article