Assistace with asking user from my script which location to pick up the file
Hello,I have a process whereby we daily create a file in two different (server) locations. It's a list of all VM's in each of our two Hyper-V clusters. I have a script that will read this file and...
View ArticleUninstall WYSE client and install ConfigMgr 2012 client (plus getting around
Hi,I have a problem where a few hundred Wyse terminals have been deployed with an image that contained the Wyse Configuration Manager client. However, no WDM point was setup, so all clients are...
View ArticlePowerShell Script activity basic Query
Hello, Before asking my question, Let me introduce myself.I'm very Poor @ Scripting and PowerShell related stuffs. I have a very basic Query in PowerShell, I have to execute some of the...
View ArticlePowershell - List all servers in the domain and the OU they reside in
Hi thereI am trying to list all servers in my single domain with the OU that they reside in and then export to either a .csv or txt file using Powershell. (Very new to Powershell). I have so far...
View Articlesplit Get-acl accesstostring into manageable strings
HiI am trying to report on folder access rights with get-acl. I get the folder name as well as the access list without problem, however I would like to filter the accesstostring part so that i can...
View ArticleSet Single user with reviewer access to multiple conference room calendars
Want to add a single user with reviewer access to multiple conference room calendars, used the below but it given a below error , Single user i am able to add but single user for multiple confernce...
View Articleoutput on script from this site
I'm using the script from http://gallery.technet.microsoft.com/scriptcenter/da3fee00-e79d-482b-91f2-7c729c38068fFirst, the get-wmiobject cmdlet missing the class. Added win32_logicaldisk and that...
View ArticleCorrupted file when sent through mail
Hello,I wrote a script that, among other things, sends an email with an attached binary file.This goes through an SMTP relay server.The problem is that the file gets corrupted along the way....
View ArticleHelp to Convert Powershell Script to VBScript
The script below is meant to find all PST files in my documents folder of any given logged on user and move the PST file to a location with enough space and reattach these PST files after they've been...
View ArticleHow to redirect output of the RUNAS command on a logfile ?
Hi,i would like to redirect the output of the runas command to a textfile (not the output of the application used in the runas but really the runas output like "Error 1326 : Bad password or...
View ArticleHow to use a BrowseForFolder box in my powershell script?
Hello,I have the following script where I want to ask the user to select the folder they want the script to process the instructions from. I've added a function for Select-Folder as follows:function...
View ArticleNeed help to modify vb script used in XP for Windows 7
Can somebody help me in modifying scripts that were used for Windows XP, to run on Windows 7.My friend advised me to change it to .ps1, but still some flaws..Cscript \\nologo ???? is used for what...
View ArticleInstalled Programs/Software Script
Hello everyone! My name is John, our company is currently replacing our staff's computers and each one of them have their own list of programs that they need to get their jobs done. I was wondering if...
View ArticleRemove-VMMigrationNetwork and Set-VM
I can't seem to get the syntax right on two PowerShell commands. I have to be missing somethings simple, as I've tried everything I can think of.On the Remove-VMMigrationNetwork, I constantly get the...
View Articleremove folder from all Outlook clients
Hi, Does anyone have any ideas for a script to remove a folder from all Outlook clients?Thanks
View ArticlePowershell - Extract data contained between two characters
Hello, I am looking for Powershell assistance with extracting text contained between known words.I have the script below which works for letters/number, however I need to be able search for [Section1]...
View ArticleHow to uninstall software that doesn't have uninstall.exe or an .msi in the...
I can uninstall the software fine by using the add/remove programs, but since we have several hundred computers I would like to script this. I am using Windows 7 Pro, and have tried with powershell...
View ArticleIssues with DSADD imported from CSV for bulk AD account creation
Hi, I am having some issues with a batch script I am writing using dsadd and tokens imported from a csv file. I have gotten the script to work, but what I'm trying to do is be able to import more...
View ArticleScript to create Dynamic Distribution Group based on Excel file
Hello everyone,I have an Excel sheet that contains arounds 4000 Dynamic Distribution Groups, I need to have a script that could create those groups, mail-enable them, based on AD attributes.Thanks alot...
View ArticlePowershell - Change color for matching word in a Word (.doc) document
Hello, I have a .doc file containing a report (eg. report.doc). The report is formatted similar to:****SECTION 1*****Data****SECTION 2*****More DataDoes anyone know of a Powershell method to change...
View Article