Opening IE tabs with powershell
I am a beginner in powershell and new to this forum. I am working on a powershell to script to open IE window with multiple tabs. Here is what the requirement is,I am keeping the request number (PPM...
View ArticleReport of members of local Administrators group
I found this here: (http://powershell.com/cs/media/p/376.aspx)cls $ErrorActionPreference="SilentlyContinue" Get-Content (ENTER PATH TO YOUR INPUT FILE HERE) | foreach {...
View Articlepowershell & mysql
I am trying to manipulate some mysql databases with powershell. I found a really informative post of a one size fits all database connector. So the connection part is working. My current crisis is I...
View ArticleGet-Unique Ip address list
I am working on some code and I thought the Get-Unique cmdlet would be a perfect match for what I am trying to accomplish. I cannot get it to work though tried many different ways to get the output to...
View ArticleImport-Csv with multiple rows and columns
I have tried to sift through the forums for answers but I am unable to find anything or I am not understanding. I have a CSV file......
View ArticleMessage Age and Count Report Needed
I just found this forum so bare with me please.My manager has requested an archive count/size prediction report, due today of course, on message count and size where messages are over 365 days old. We...
View ArticleExport-Mailbox exchange 2007
Hi, I wrote a script that get users from group in AD, and delete all mails in those users mailbox until specific date. the script is working fine.In the end the command "Export-Mailbox" generate report...
View ArticleMove Mailbox
HII very new to powershell, so go easy on meI need to move mailbox from one exchange to another exchange and I would like to know if this can be done by PS scriptI would like to have a txt file read by...
View Articlereturning a value from a drop-down
Hello,I'm writing a script to create new users through a form (the normal user creation process is long and complex and therefore prone to human error), but I'm having issues capturing values from a...
View Articlereturning a value from a drop-down
Hello,I'm writing a script to create new users through a form (the normal user creation process is long and complex and therefore prone to human error), but I'm having issues capturing values from a...
View ArticleExchange 2007 Get-mailbox
Hi,Get-mailbox have a parameter "UseDatabaseQuotaDefaults" True if it's use the default values, false if not.I need to check by IF statement if it's True or...
View ArticlePowershell Export to CSV does not match information on screen
Hi, I have created the attached PowerShell script, it runs correctly on screen but the information for the "AlternativeSMTP" details is not exporting correctly to the CSV File, it will export for some...
View ArticleScript to create user Account
We would like to have the script doing following. Please advise:The scripts searches and creates a user account with First Name Initial and Last Name.Example: John Edward Kerrythe user name will be:...
View ArticleRunning Exchange Management Shell from Excel VBS
Private Sub CommandButton1_Click()Counter = 3DoDim CommandCommand = Worksheets("table1").Cells(Counter, 1).ValueShell ("C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -PSConsoleFile...
View Articlesmtp creator in excel
$data = $null$data = @{}Select-String c:\hash2.txt -Pattern "([a-z]+).+?=.+?([a-z.]+)" | ForEach { $_.matches} | ForEach { $tokens = @($_.groups[1].value,$_.groups[2].value);...
View Articleopen EMS Powershell 2.0 from excel VBS
hithis code below running in my exchange 2013 test environment. But under Exchange 2010 with powershell 2.0 it opens only a ps session for every code line in excel and close it again.No code execute...
View ArticleExchange 2010 Query
I have a very odd issue and I am not sure if it is PoSh or Exchange related but I will post it here anywayBasically I have put together a PS1 file for our administrators to use which will prompt them...
View ArticleHelp with adding a string to an existing script
Guys, I would like to know what should i use to add a manager to a user in AD i have the below script that working just fine, i just want to add the manger filed as well. #Import ActiveDirectory module...
View ArticleNew-mailboxExportRequest and New-MailboxImportRequest in sequence
Hi.I need to export mail to .pst and when status -eq 'complete' then run import .pst to another mailbox. Does anybody know how to do this? Best Regards Trond Jenssen
View ArticleExchange 2010 Search-Mailbox Issue
I am having a problem getting "Search-Mailbox -SearchQuery" to accept a variable.There are examples in the script on how to properly format the query (not shown here).The problem appears to be the...
View Article