How to remove orphaned SIDs from File/Folder ACL
Hi Scripting Guys,How to remove orphaned SIDs from File/Folder ACL ? We had a trust relation with an external domain. It's groups were added to file/folder permissions on our file servers. Now the...
View ArticleVBScript Help - Eliminate duplicate records in text file
Hi,Need your help!!!I have a text file.I need to check whether there are duplicate records in this file for the field'MVTJOU_NEW value".If there are the duplicate records in the file ,then that row...
View ArticleList of all historical meetings and attendants - resource mailbox exchange...
Hi,I'm an exchange admin, and i'm looking for a PS script of some sort to get a list of all the meetings held in a resource mailbox and its attendants.ie: meeting room 1 -> get a list of all the...
View ArticlePowershell - modify printer devmode
Hello!I would like modify and save more existing printer "advanced printer settings" (under Advanced -> Printing Defaults). How can i do this?
View ArticleWindows 8 Enterprise Powershell Error when performed Batch Create
Dear admin,I fresh installed a Win 8 Enterprise, installed Win Azure AD Module for Win Powershell and running a working script and received the error as below.A variable that cannot be referenced in...
View ArticleNot able to Create ActiveXObject via javascript
I am trying to trigger an email from my lotus notes using javascript. When I am trying to run the code as a .html file from my system. Its working absolutely fine. But when I include the same code in...
View ArticleInstalling printers from a VBScript HTA
Hi, I have just started with VBScript, and I'm trying to make a simple portal for printer installation. The problem is that we have a setup with different printservers, with printers with some standard...
View ArticleVBScript Logon Script to Set Users HomeDirectory/HomeDrive Attributes
Hi all,I'm trying to write a logon script that checks if the user logging on has a home directory, and if not, create one. The problem I'm having is that as the script is running under the user...
View ArticleScript needed to query last logon for users within an AD security group
Hi all,I'm looking for a vbscript that will query a specific AD security group, and export the following information into an Excel document:1. Full name of the user.2. A timestamp of the last logon for...
View Articlecsv to xml conversion, element naming problem
Script:#Convert CSV FILES TO XML #Test if directory has and csv files, if yes then proceed if((test-path c:\temp\csv\*csv) -eq 1){ $csvpath= get-childitem c:\temp\csv\*.csv| foreach-object {...
View ArticleSet primary group in AD using PowerShell
Dear All!I need a hint :) I am creating a script that creates AD Users, creates HomeFolders with special security settings, sets their groups and creates an Mailbox (Exchange).For users from different...
View ArticlePowershell Excel Worksheet add start position
Hello , I am using a script which takes .csv file as input and create one Excel file in different worksheet.Script below:$files = get-childitem 'D:\script\' $datafiles = $files | where {$_.extension...
View ArticleAllowing specific users to view resource mailbox only
I want to add select few members to view meetings that are booked with a room. I want these users to be able to find out more information than just the time. I have one script that I know works but I...
View Articlepowershell compare two images
I have a need to compare two images. the file names are different.I have about 1000 images and about 40% of them are the same image visually.I am using PowerShell 4
View ArticleScheduling a task with powershell
Good morning,I have a powershell command that I want to schedule to run on Mondays and send an email to my email group, can someone assist me or provide a good resource to help out.The command is to...
View ArticleAlign 2 window left right
Hi folks,I had the perfect solution in Win XP but since we are upgrading to Win7, I can't find a solution.I need 1 explorer window on the left and one on the right.The user will then move data from one...
View ArticleVBScript File Directory operations
I have the following codes that will delete files that are 2 days old; keeping 2 days worth of files on the directory.For Each objFile in objFiles If objFile.DateLastModified < (Date() - 2) Then...
View ArticleWhen a server is offline send an Alert email.
Hi again, I'm having trouble sending an email when it detects a timeout or destination host unreachable.The script I have will get the content of a text file with all the IP address of my servers, it...
View ArticleBatch file to compress wildcard target to ZIP file with same name
We are not allowed to use WinZip command line, compress.exe from the Windows Toolkit, PowerShell , or anything else for that matter.I have found a few batch files that will "work", but the result is a...
View ArticleSimple loop overwriting registry key instead of creating new
I've created a ps script to create some registry keys for me, and I've run into a snag. I've dumbed it down a lot to simplify for here, and show the results I'm getting. I have a while loop, that is...
View Article