VBA Outlook to get the user name of who modified an entry in a shared public...
Can someone help advise how I can locate using VBA for Outlook the user name of who modified an entry in a shared public folder for contacts?I can easily get the contact details for everything else...
View ArticleNotification by mail when a TCP printer toner is low
How Can I receive notification by mail when a TCP printer toner is low?Note: I have configured all printers on my computer.HeeeeelpThanks
View ArticleReturn in IF statement and Function Powershell What is C# equivalent?
Function updatedataset { param ($ds) $ds = $dataset $da = New-Object system.data.sqlclient.sqldataadapter $ds.ExtendedProperties["sql"], $ds.ExtendedProperties["connectionstring"] $cb = new-object...
View ArticleShowing attributes in AD with powershell
hi, I want to list one of the attributes in my AD with powershell codethe problem is, this attribute seems an attribute that created by my company, and I dont know how to list it, since if it were a...
View Articlepowershell script to obtain diretories older than x days
I must process all directories older than x days . This test-statement is ok: Get-Childitem -path $InputPath -recurse | where-object { $_.LastWriteTime -lt (get-date).adddays(-7) -and $_.PSIsContainer...
View ArticleIncreasing timeout of a webservice call in powershell.
Hi All,I have a script that calls an asmx web service written in c#.The only problem is that when i go to execute the line in the script that invokes a method in the web service - I get a timeout...
View ArticleNeed a VBScript that calls a batch file to run on remote computers
Ok..!! I ve searched about it a lot and have decided to ask in scripting guys... Actually , I have a batch file which when executed will map a network drive and executes some applications on the...
View ArticleUsing Powershell to update EmployeeNumber
Hi,I've using a powershell script to take a Oracle extract (csv format) and update Active Directory objects with the information therein. All fields get updates no problem (sn, givenname,...
View ArticleDelete Home directory for disabled users question
I need a script which delete the home directory of disabled users after a specific time ( say 120 days) .For that i have got a script which connects to an OU and deletes all disabled user's home...
View ArticleCheck if any elements in one array exist in the other
Is there any way I can check to see if one array, say $arrayOne, contains any elements from $arrayBase? They may not necessarily contain the same elements, and may be in a different order, so iterative...
View ArticleActive directory memberof and nested memberof groups
hello , do you know how can i extract group memberof and nested memberof in a list.csvfor one group = $group = [ADSI]"LDAP://CN=GG_ADM_BULL_SIAM,OU=GG,DC=ho,DC=fr,DC=wcorp,DC=carrefour,DC=com"...
View ArticleThis common Vbscript returns directory names which are all lowercase...
Hi all,This stock standard MS script below returns the first level directory listing. However, it does not return it the way it is in the actual directory. It alters the case which I desperately want...
View ArticleVBScript Command Prompt - wscript
Hello,I'm very new to scripting and need assistance creating one.I need to create a command line prompt on a Wyse terminal server using Windows XPembedded.What needs to happen is for a cmd window to...
View ArticleSet existing directory with permissions via powershell with CSV
Hi all.Long time lurker and first time poster! There is some great stuff here and i'm hoping someone can help.I have found heaps on creating new directories and setting permissions with powershell and...
View ArticleRename user accounts in AD from file (e.g., .CSV)
We have Windows Server 2008 R2 Domain Controllers.We have user accounts in an OU called "Students", which in turn have child OUs separating the students by graduating years (e.g., 2014, 2015, 2016)....
View ArticleHow do I change a file accociation with a script?
I'm trying to write a script that will open all .TIF and .TIFF with Microsoft Office Document Imaging. We are running Server 2003, so we don't have the luxury of using GPO or side extensions. We just...
View ArticlePowerShell - Out-Gridview
How do you display the result for the below PS to Out-Gridviewclear #$SqlServer = read-host "SQL Server Name" #$SqlCatalog = read-host "SQL Database" $SqlServer = "evanvuuren-dv7" $SqlCatalog =...
View ArticlePowershell - Add string to variable with no line breaks
I am trying to do what I thought would be very simple and join a few strings together in a powershell script. Here's what I have tried so far.Example1: $userprofile = "C:\users\" + $user +...
View ArticleZip some, delete some, keep some - script, help needed
Hello,We've got a HUGE folder where we keep copies of databases, contracts, documentation etc etc for years and years. The data we generally receive or store as .zip files, but from time to time...
View ArticleAutomation USER ID/ PASSWORD using DOS batch files
Hi,Hope somebody can help me.I am calling an application's exe file inside a DOS batch (.bat) and provide the password when the application launches, by typing manually. But I want to include the User...
View Article