How to Deploy Scripts to large number of windows system at same time ?
Currently we use rExecute or psexec to remotely push scripts or applications to Windows. These methods are painfully slow considering these two tools execute the script on one systems after another.Can...
View ArticleHow to Batch zip a folder not in the root directory
Hi Guys.i have a database which i backup every day using sql script.in the backup folder i have 7 folders (for each day of the week, Sunday, Monday etc..)and the folders are named Sunday, Monday...
View ArticleVBScript Error Expected end of statement
I Have Been Trying To Make My Computer Greet Me But It Keeps Giving Me This Error Here Is The CodingDim speaks, speech speaks="Welcome Back Joshua,I Missed You" Set...
View ArticleSetting the "LogonWorkstations" attribute to All Computers via powershell
Hey everybody, long time reader, first time poster so I apologize if I am posting in the wrong area.I need to change the "logonworkstations" attribute for a chunk of our users to be able to log on to...
View ArticleHow to get PowerShell to perform modulus on negative numbers correctly.
For some reason, PowerShell doesn't seem to be performing modulo operations on negative numbers correctly.If I say -1 mod 5, the answer should be 4, with a quotient of -1. Verified with...
View ArticleHow to uninstall PowerShell 1.0
Hi, Please point me to instructions for uninstalling PowerShell 1.0 from XP Pro so that I can install version 2. I have read that service packs can remove the 1.0 uninstaller. Is the XP Pro...
View ArticleConfused about how to delete just the items in a folder on C Drive
I'm a newbie with the powershell coding I'm trying to write a small powershell script to delete items that are in a folder on the C drive .. C:\temp As I have another set of code that place the...
View ArticleVBScript CreateObject method help
Hello,I've been working on a script that will read the columns of an excel file and store the data into an array. Once I have the arrays I will create checkbox's using the data that they contain. The...
View ArticleUnique Column
Hi,I have a csv file which I need to read and export the data to a csv file. The resulting csv file will only include unique values for column A. The input csv file has many duplicates for column A...
View ArticleNeed to fix the bug in below script
Hi,I have a script which used to get the information of the hostname and ipaddress. But it is not working for me. Can anyone help me to fix the bug in this script.In this script I have given the IP of...
View ArticleGetting Control at Shutdown
I have some scripts I want run if the machine is about to shutdown. Is it possible to launch a task on shutdown that's executes a script? If so, how much time does it have?Ed
View ArticlePowershell Script - Sharepoint - Scheduled task fails
Hi AllI am really strugging to get a power shell script to run correctly. It runs fine in powerGUI but when I run it in Powershell or as a schedule a task it fails. The script (below) talks to AD and...
View ArticleModule not loaded from file included in $env:PSModulePath
PowerShell can only find the module if I specify the whole path:PS D:\it\ps1> $env:PSModulePathD:\My Documents\WindowsPowerShell\Modules;C:\Program...
View ArticleRecover Sharepoint deleted items by powershell script
We have a customer that had over 3500 files (documents) deleted from Sharepoint libraries due to a sync failure in Onedrive for Business.It will take up to much time recovering these one by one, so I...
View ArticleNeed network share while invoking command on remote PC cannot enable Credssp....
Is there any other solution to getting access to network shares .I am trying to disburse these long jobs on other PCs in pieces. This way each PC does a part of the load and it wraps up faster. PS...
View ArticleSelect Returned Record From Row Number
I am returning row number and name from my database. What I am wanting now is to be able to input the rownumber and have it apply to the returned name. How could I achieve such?$fullname = Read-Host...
View ArticleGet the list of all users in all Security Groups
I am trying to get the list of all users in all AD Security groups ( Windows 2008 R2) and export to .CSV file. Would someone help me with PowerShell script?Thanks in advanceTek-Nerd
View ArticleWindows XP - Powershell Script to update drivers
I am brand new at scripting and am having some difficulty. I have deployed drivers via an OSD task sequence but they are not installing. I would like to possibly use a Powershell script to basically...
View ArticlePowershell - get-aduser and exclude specific sub OU's
I've been beating my head against this and can't seem to get things working. At the simple level, I have a particular query with GET-ADUSER that seems to work fine...get-aduser -searchbase...
View ArticleAssistance needed with VBScript Process Termination
Hello,I'm using VBScript to terminate processes for a software deployment. We haven't yet converted to Powershell. I've been running into issues with Internet Explorer. The script will run once...
View Article