Script 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 ArticleNeed help with creating local user accounts from Excel spreadsheet by using...
Hello,I am new to Powershell and I am currently working as a coop student. I need to know the correct script of how can I read the spreadsheet containing user accounts by Powershell scripting. I don't...
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 ArticleAdd hebrew to powershell
My mailboxes have hebrew names. When i want to view or use hebrew at the exchange it show up as gibberish. So i cannot use many of the commands. How can i set the exchange shell to use hebrew?
View ArticleDSC vs Puppetlabs
I am pretty novice at linux, but I have been watching youtube videos about Puppetlabs and I like what I see. I see there is lots of companies using it and lots of documentation out there for...
View ArticleNeed help
I am checking particular key value exist or not from Test-Path but desire output is coming wrong so kindly give which command let we will use for...
View ArticleI need poershell script
Specification-1.1 PrerequisitesPowerShell Version 2.0 or later is installedThe device is managed by Managed Workplace MW2013R1FP3 1.2 Supported Operating...
View ArticleSecurity Eventlog Logon User on Remote server
Ive been looking for a way to search in the eventlog of a remote server.I need to query the security eventlog to find out which User login "Account Name" for auditing and output to a CVS file. Can...
View ArticleDelete last occurrence of a string in a file
Hi,I'm using PS to generate some SQL files, a bunch of them being multi-table inserts. How would I delete the last occurrence of UNION ALL in my files?Thanks
View ArticleI write powershell script for internet test speed but it is working properly...
I am given my script below-kindly change and suggest me =====================param([string] $paramSponsor,[int] $paramRepeat,[int] $paramDownload,[int] $paramUpload) $StopWatch = New-Object...
View ArticleHow can I emulate this unix command in power shell?
HiBelow is a line that runs a Symantec command that will report on tapes in my tape library that has been written onto over the past 24 hours. This unix command searches for lines that contain the...
View ArticleConvert date to string
date~b~c~d~e~Time_stamp~f~g_h~i~j22-Jan-14~1~3172~9103~101~22-Jan-14 7:05:31 AM~0~0~~788888822-Jan-14~2~3173~9103~101~22-Jan-14 7:06:04 AM~0~0~~4566666 I have few thousand text files in different sub...
View Articleneed help
Initiate Windows Update to run on the local device and install all required missing patches
View Article