run multiple sofware installation
Dear Exprt,i wan to run multiple software installation how could i do.once first one sccuess run other via vbsSupport@Mytechnet.me
View ArticleA question about execution policy RemoteSigned
HelloI always thought from what i read in the past, that if your PoweShell execution Policy was set to RemoteSigned and you create a PowerShell script on computer-A then copied it across the network...
View ArticleNeed help with WMI code that will send output to db
'm new to WMI code writing, so I need some help with writing code that we can store on our server. I want this code to run when a user logs into their computer and talks to our server. I also want the...
View ArticleHow to run a powershell script in admin account
Hi all,I have a powershell script and this script should run under a given account credential(admin). Please send me a powershell command which will ask for credential and after giving...
View ArticleAuto email all Active directory users
Hi,Ive been trying to automate an email to 5 DL lists in my company. Ive tried stringing the lists together and all sorts but nothing seems to work until i came up with this solution:$fromaddress =...
View Articlepowershell - requirement to replace SQL INSERT text with escape character for...
I have successfully loaded a $dataSet with MS ACCESS data and need an If statement to replace apostrophes, AND other French characters with a preceding ESCAPE character to allow the building of the...
View ArticleAUTO-DISCONNECT SCRIPT FOR FILE SHARING
I am looking to find a script that will auto-disconnect users that are inactive for a certain amount of time. I have users that access files in a SQL database and when they are inactive for 1.5 hours I...
View ArticleLDAP Filter and Get-ADUser
Hello all,I was hoping you might be able to help me. I have a script that brings back all user objects that meet a set of conditions. I've written an LDAP filter and ran the query in one of my tools...
View ArticleCounting & Securely Deleting (sDelete) files that are older than 1 hour.
** Thanks in advance to anyone that contributes knowledge. Note: I am still new to PowerShell. **The goal of the script that I need help with does the following: - Keeps a count of the total number of...
View ArticleExport-CSV Not working for a user
Hi Guys,Here's a good one for you. I have a client who is trying to run the script Get-ScheduledTasks.ps1 with the option to export-csv. So he's running .\get-scheduledTask.ps1 | Export-CSV...
View ArticleConverting Bytestransferred to MB
Hi,I am trying to create a progress bar for that shows to overall progress for a batch of mailboxes moves from Exchange 2007 to 2013.I have managed to output the each mailbox size to a csv which I can...
View ArticleGet-ADComputer Exclusions Text File
I am in the process of writing a script that will pull all XP machines that are still enabled on our domain. I have a few exclusions that I know about and know that list will grow as we get closer to...
View ArticleRetrieving all users from AD using VB.NET
I am using VB.NET and searching AD for all users under a certain OU. I user ADUC and it shows 5482 and when I run my progran, under elevated or normal privileges, it only returns 5476. I am missing 6...
View ArticleCount space " "
Sir's Pls, i would find all free space in this txt-line? and after creat en second ligne. How i have to do. My beste Regards Arnold ================== cls $test = "eutururu: jfot juyyt rtre ltl djfu;...
View Articlesimple powershell help
Hi,I need to change multiple .txt file names in a folder.I have found information about renaming the files using Powershell but I do not what to rename the file. I want to add an "_Deviation" to it.I...
View Articlesimple script to zip up a bunch of files
Using Win-7 Pro, x86-64 ...This has got to be simpler than the solutions I've seen so far.I have a directory with several dozen files. I'd like to create a zip file backup of that directory on a...
View ArticleHow can I find the user that created a user account and the user who last...
How can I find out who created a user account and who last updated the account. I think that this is the same information that is displayed in the description field on the General tab.I am using ADO...
View ArticleGet computer login names
Hey Everyone,I started at a new company recently and there are a ton of computers that are not associated to users. Basically I don't have a way of knowing which computer belongs to whom unless I...
View ArticleUser Input from Text File
HelloI would like to incorporate code into this to allow the script I found on the internet to pull input from a txt file and then wait for the script to end before using the next entry in the text...
View ArticlePowershell-Automated printing to pdf of a webpage
I am trying to automate the printing of a webpage using Powershell. Everything is running perfectly except for the naming of the pdf. I am trying to make it save the file as the current date, but for...
View Article