Search Rest API: LastModifiedDate to a readable Format
Hey,a call a rest search service and get my items returned.But how can i make a readable format from the datetimes?With the following datetime Modified 2013-07-06T095000.0000000Zit is not...
View Articleusing vbscript to read a remote file with alternate credentials
Hello,im writing a script with vbscript that monitors remote log files.i can easily access remote files with the "Scripting.FileSystemObject" object and a UNC path.i just use the administrative share...
View ArticleA little Powershell Help - Powershell - parse directory names on remote...
I am trying to get the $names of the most current profiles on XP hosts by using get-childitem. Then for each name returned get the size of the desktop, my documents, and *.pst"I pieced together the...
View ArticleCreating Folders based on usernames created from a .csv file using PowerShell
Hi, To preface, I am very, very new to PowerShell.I am trying to write a script that will reference a .csv file that has two columns (First Name & Last Name) and three names. I want to create a...
View ArticleScript to enable/disable Secure Boot
HelloI created an image for Dell Latitude 10 tablets, I have configured it to enable Bitlocker automatically, unfortunately Dell have release a new version of BIOS (A05) which stops me from enabling...
View ArticleTo estimate the sleep time to be given when compressing a file using windows...
Hi,I am trying to compress a file whose size is inconsistent and may vary everytime.So, each time I have to increase the sleep time for bigger size files after the script fails to zip it.below is the...
View Article[VBscript] search numbers after a CNTREF in .html.
Hello,I am very new in scripting. I have just create a script using powershell that create an .html report and send it to another server. The report contains a line with server reference “CNTREF:...
View ArticleHow to set security setting for Powershell?
When I try to set security for Powershell on Window 7 Home, referring to following linked image, I get following error messageDoes anyone have any suggestions on what wrong it is?Thanks in advance for...
View ArticleCreating New DFSR Folder Memberships
Hi, I've been trying to write some end to end Powershell scripts using the DFSR Powershell Module published by Mike Walker here. The module is great (thank you Mike), however I'm incurring an issue...
View ArticleWindows batch script FindStr to search for a string and matching line
Hi Gurus,I've been having some problem in using FIND or FINDSTR command to find a particular string in a log file and return its output with the matching string along with 1 line above and 1 line below...
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 ArticleWindows 7 will not map home folder
We are having an issue with our Personal drive not mapping through Active Directory on Windows Server 2008 R2. We use vbs scripts to map our other folders. This only happened when we introduced...
View ArticleTrying to add two scripts together and run as administrator
I am trying to put all of these scripts together and I cant seem to get it. I think it has something to do with my format. It always has an error saying it needs to be ran as admin but I cant seem to...
View ArticleProblem searching for an AD user by powershell
Hi,I'm new in Powershell scripting. I'm trying to search for a specific user to update some of his attributes from a powershell script that create this user using EMS. But I'm getting the error at the...
View ArticleStopping or changing batch script execution if no files created yesterday?
I'm looking for ideas on how to change the execution of my script if no files were written *yesterday*.I have a 3rd party system that's directing its backups to an FTP folder on our Windows system. To...
View ArticleParallel process and pop up notifications
Hi all, Anyone know of a good way to run prework notifications / work process / workdone notifications ? Need to run prework notifications and work process in parallel. I am using either new-object...
View ArticleCode to detect if NLB is enabled on NIC?
I wasnt sure where else to ask this. I have a list of 2003/2008/2008R2 servers that I was able to get and find that the 'Network Load Balancing' service was installed on the NIC(s). What I am trying...
View ArticleSend powershell generated html files to a printer via a scheduled task...
How can I script the printing of a powershell html report I have generated? The needs to be run on a box as a scheduled task.This was more difficult than I thought it would be as I found automating...
View ArticlePowershell - Copy Folders based on Date
Hello,Be thankful for help,I have a list of FOLDERS like ( first 2 digits = branch number, rest are the current date )01-20130613, 02-20130613, 03-20130613 .......25-20130613. These folders has to be...
View ArticleFind unique values in a row from 2 different columns
I have some data that looks similar to this:Column1 Column2 Column3 Column4 Column5GoodData 123 GoodData ABC GoodDataGoodData 123 GoodData...
View Article