Windows 8 user.setpassword Access is denied
Hi,Does anyone has an idea why the following sciptSet objUser = GetObject("WinNT://CompName/UserName,User") objUser.SetPassword "test123"(under admin account, with disabled UAC) returns "Access is...
View Articleis it possible to type cmd plus a command in run menu?
hi friendsi need to know is it possible in windows to type cmd plus our desired command so that cmd be run & the command be executed & wee see the result ?for example writing something like...
View ArticleExtraction of Account Expiration to Telephone's Notes (AD)
Good day all,My objective for the following powershell script needs to satisfy the following requirements,1) Get-ADUser from an OU2) Foreach Users whose Accounts are not disabled3) Replace the "info"...
View ArticleSubscript out of Range
Hi All,Whenever I use the below script, I get an error that.E:\Files\ADScripts\EAusrrmv22.vbs(25, 1) Microsoft VBScript runtime error: Subscript out of rangeI have checked on line 25, 1, couldn't found...
View ArticleAD subnet creation by powershell script
Hi All,Can i get powershell script for AD sbunet creation and is it possible to check that the given subnet is already mapped to the different site or not.Thanks & Regards,Karthick V
View ArticleFinding Windows update MSRC no via powershell
Hi all,we have a 1000 + severs in our environment and we having monthly patching. is it possible to check MSRC no or by installation date on each server remotely via powershell or VB script.//Karthick V.
View ArticleHow to find and count value in array with powershell
Hi Guys I have a CSV file as below++++++++++++++++++++++ServerName,Contactserver01,Jackyserver02,Tommyserver03,JackyServer04,Frank++++++++++++++++++++++ How to make a script to summrize the contact...
View ArticlePowershell script to Compress log files into .zip
Dear All,I am looking for script to do the following:-1. Scan all the *.log files within one folder2. Organize all .log files in descending order3. Get all the .log files (except the 1st descended...
View ArticleRemove Item question
I have the following script written to list all the user directories on selected Terminal Servers.It outputs them into a grid view, but what I want to be able to do is select the name from the grid...
View ArticleManager users in lync 2013 with vbs
Hi all!In powershell is not so hard, but, to our company standards I need write this solution in vb script and i didnt found any usefull snipett. My need is1. add a lync user if it is member of a...
View ArticlePowershell script in autostart folder
HelloI put two scripts to alluser startupfolder C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUpa Batch file which shall start a powershell script.The result is not as expected: I want the...
View ArticleConvert excel childitems to .csv's
Hey Scripting Guy, great stuff on this blog! I have learned a ton from you and the group. I am running into a snag with a PowerShell that I hope you can help me with. I am trying to take the...
View ArticleAd-User script to check if expired password = true and email helpdesk
I have a script that runs each day and reminds my users that their password will expire. This works well.I'm having trouble creating a script to email our helpdesk once the password has expired so...
View ArticleIs it possible to add UNC paths to the favorites menu with a batch script?
Hi all,at present the office I work in uses mapped drives, this works well for people in our office but one people talk with the other offices things go south as they have no idea what a t drives is....
View Articledisplaying multiple arrays
Hi Scripting guys,I am having some problems displaying my arrays. I have various arrays containing IP addresses that I want to display like so..FAILED 1 FAILED 2 FAILED...
View ArticleExtracting date from a text file and formatting in dd/mm/yyyy
I work on OCR. We extract text from invoices automatically. When the contents of the invoice are extracted they are stored in a text file, and then we write scripts to extract the data from the text...
View ArticleLogon and do some Work in different Domains in one Forrest dosent work...
Hi together..i have the Problem that i need to maintain Groups in all Sub Locations just adding on dailybase all Users to a special Group... my Problem is that i need to maintain these Groups in 5...
View Articleneed an script to create some user account with increasing passwords
hi friendsi'm not expert in scripting.manager gave me a list of about 50 users which i must create in my windows server 2008 R2 local users & groups snap-in (Lusrmgr.msc).suppose i have this 5...
View ArticleHow do I use Get-ADUser to get just the Managers attribute? And then get rid...
Hello, I am trying to just get the Managers of my users in Active Directory. I have gotten it down to the user and their manager, but I don't need the user. Here is my code so...
View ArticleFolder Name over age and then action.
Hello,I have a script i'm trying to complete which basically should look at the C drive of a remote machine... retrieve a list a folders within a path, check the current date against the last date and...
View Article