Import / Export PST's Commands SBS 2003 & Exchange 2010
I'm Migrating from SBS 2003 to a new domain on Server 2008r2 Exchange 2010. I'm going to test out the command below when importing the PST. As long as the alias's match, I believe it should work. Is...
View Article-append option to Tee-Object new in v3
I am glad they added a -append parameter to Tee-Object, but I just found an irregularity to using it. If an existing file is in ASCII format (not Unicode) and Tee-Object appends to it, then the file...
View Articlenot finding RDSConfiguration in Remote desktop services
when i go to cd RDS: and do DIR i see only LicenseServer not RDSConfiguration because of which i am not able to go to RDSConfiguration and change the session limits. Please refer the image for more...
View ArticleARR Reset Runtime Statistics from Powershell?
I have been trying to find out if it is possible (and if so) how I can Reset the RunTime Statistics in IIS v7.x ARR (Application Request Routing) using Powershell. My Original Question was posted here:...
View ArticleWhy do I get permissions errors on only a small subset of my DCs?
Hello,When I run the code below to all our Domain Controllers in the Forest, I get the following permission error only on 5 out of 100 DCs. All DCS are in the Forest communicating properly and I'm a...
View ArticleCannot import OUs & Users with Powershell ; Object not Found error?
Hello,This is my first time working with PowerShell so bear with me.I use Server 2008 R2 with AD.I got 2 scripts the first one to add the OUs i need and the second one to add the users to the OUs from...
View ArticleRemove Server 2003 Profiles with powershell???
Hi Guys,I am writing a script that will delete profies from servers 2008 and 2003, I have no issues with doing this for server 2008 servers but I am having trouble with removing profiles for server...
View Articlestring replace not working on multiple files
I have multiple files in c:\test with the *.msg prefix some meet criteria and some don't. If they meet criteria then it does string replace if not it's supposed to just MOVE file to targetpath. I'm...
View ArticleHow to import the scheduled task using powershell script
Hello Experts,I have an scheudled task (XML) which needs to be deployed on multiple computer as a scheduled task.Is it possible to import that scheduled task using powershell...
View ArticleGet DNS Records TTL
Hi, is there a way to query DNS and get the TTL of a DNS record?Thanks
View ArticleSearch large array created via import-csv
Hello,I've got a problem with the search I am performing in my Script.There are two large arrays imported from CSV-files, they hold DNS data likename,type,data hostname,CNAME,alias123.contoso.comI'm...
View ArticleHow to list OU for users
Hello,I have a list of usernames in a text file that I would like to query for their OU, is there a script for getting OUs for a list of users?Thanks, Chad
View ArticleReturning Value from Drop-Down Function
Good Morning Everyone,PROBLEM: Can't seem to get a value to return out of my function and be persistent.Ok, I've read a bunch of different posts on here and I am still at a loss as to what is wrong...
View ArticleSMTP Configuration
I have a powershell script to set the SMTP configuration on new servers (Server 2012) and send a test emailBut it doesn't seem to work until you open the IIS6 manager and the properties of the SMTP...
View ArticleWrite powershell commands in Windows 8 App using VS2012
Hi,Are there any ways to write powershell commands (to interact with Hyper-V VM) in a metro app using VS2012? I've researched everywhere but there seems to be no possible way to do so. If so, is there...
View Articleadd-type -assemblyName System.IO.Stream is failing in powershell script
Hi all, I am trying to do some automation using powershell scripting. I have following code in my script: add-type -assemblyName System.IO.Stream I also have this: add-type -assemblyName System...
View ArticlePowershell Get Acl
Hi I'm having trouble getting acl's for administrator, I know I have to go through all files in C drive then get acls for all files and folders. Then check to see if they match full control permission...
View ArticleProblem with function returning a hash table
Hi allI'm puzzling over a function that sometimes returns an array rather than a hash table.Here's my Powershell script# Import the module containing the function ipmo C:\Util\Powershell\StepsT4.psm1...
View ArticleCopy files to remote machine
hi all, please help me with this... in WINDOWS POWERSHELL I need to copy files to multiple computers from my computer with following specifications.. 1)I need to provide username 2)I need...
View ArticlePowershell results to SQL table
I would like to setup a Powershell script that will run 'net stats srv' against a list of servers and then insert the results into a SQL table. The SQL table has two columns: ServerName and Uptime.I...
View Article