Getting Unspecified Error when running a script
I found a script online that opens URLs in IE tabs. The example worked perfectly.I replaced the example URLs with my work URLS and it worked fine until I put in 6 URLs.Windows Script HostScript:...
View ArticleImport dword via a decimal value in a .reg script
Using a .reg file registry script to import a dword value, it is possible to specify a decimal value instead of a hex value? e.g. ...This --;Hide the page file PAGE P: (32768 = 00008000 hex)...
View Articleput the scripting language name in the title of a question
From:https://social.technet.microsoft.com/Forums/scriptcenter/en-US/ff3f3b21-8ed5-47b0-bc30-5ca3bbe91029/handy-tips-for-posting-to-this-forum?forum=ITCG"It is best to put the Scripting Language you...
View ArticleReplacing strings of text in template document, then replace source files
Good evening,I began drafting up a script that allows my team to accomplish a somewhat specific goal, but I have hit a wall since I am trying to accomplish something I have not yet scripted in my...
View ArticleNeed to Replace Active Directory Attributes from CSV File
Dear Sir,I am facing some issues in an on-going project.I am importing users in Active Directory from CSV file and after this i need to replace values of some custom attributes of all imported users...
View Articlehow to compare the numbers e.g 1.6.0.20 and 1.6.0.25
I need to compare the numbers for example 1.6.0.20 and 1.6.0.25 using vb script and i need to check which one is big number among them.Umeed4u
View ArticlePowershell to uninstall the product(MSI installer)
Hi Everyone,I require method by which we can use the PowerShell script to uninstall the MSI.My requirement is that i need to search for the specific string in the registry hive (in valuename i.e...
View ArticleJavascript/VBScript : Unable to open registry key "HKLM\\" for reading.
Hello All,I'm creating an HTML Application (HTA) using Javascript/VBScript.My task is to read a registry key "HKEY_LOCAL_MACHINE\\SOFTWARE\\<SomeKey>\\<SubKey>". I've created this...
View ArticleScript to get ad computer accounts and properties
Hello Team,The below is the script I gave to pull the computer accounts and details for AD. But I get error as "Get-ADComputer : The server has returned the following error: invalid enumeration...
View ArticleMatch user with ADgroup and remove user from group
Scripting guy,I've got a task to delete specific users from specific ADgroups. I have a csv file containing ADgroup and user that is member of this group.Column A: ADGroupNameColumn B: User account...
View ArticlePowershell Rename Files in Folders and Subfolders to Date and Time Stamp
I need a script that will rename all the files in a folder and subfolder to the file's original date and time stamp.
View ArticleAutomatically Batch Renaming files with their creation date time as a prefix
I have at folder "Z:\Testing" that has several subfolders each holding camcorder video files "*.MOD". I want to prefix the filenames of all of them with the date and time they were created so they can...
View ArticleExporting multiple mailboxes to PST from Office 365
HiI was wondering if anyone has a Powershell script that will enable me to export mailboxes to separate PST files from a specific OU or list of user accounts on Office 365.Thanks
View ArticlePopulate Shadow Group based on several OU's on remote AD using alternate...
I've been searching for a simple method to populate and maintain a shadow group of all users on several OU's on a Remote AD, while not having to install anything extra on the computer that will run the...
View ArticleStream Output For SupportsShouldProcess
Hi guys, I'm using CmdletBinding() within some of my custom Powershell Functions which I've into modules. I've just used Dave Wyatt's Get-CallerPreference to resolve the passing of common parameters to...
View ArticleNew Task with trigger options in powershell
Hello, i am trying to create a new task but i am not able to configure the advanced options like:- Trigger options: Repeat task every *** for a duration of *** I know i have to use the...
View ArticleClear Autocomplete Cache OWA 2007
Hi Guys,I'm looking for script that can clear autocomplete cache in OWA 2007, or plugin that can run inside IE and as soon as user launches OWA 2007 it will clear their cache.Thanks,Ggurvinder
View ArticlePowershell command to delete content from usermailbox Office365
Hi Folks,<o:p></o:p>i am trying to delete the items from the deleted items of user mailbox but unable to get the command.I tried Search- Mailbox - Search Query option but it will only...
View ArticlePagefile settings
I am automating the deployment of Windows Server/Hyper-V and have run into an issue with trying to modify the pagefile setting. In my deployment, I am using a VHD with native boot. Therefore, I copy...
View ArticleGet-ADUser : The server has returned the following error: invalid enumeration...
I'm running a powershell command to add the email (AD mail) attribute to users in a specific OU. It seems to work then will bomb out with the error in the title.I'm using a "scripting guy" command...
View Article