Print spooler startup keeps resetting to manual
NONE of the threads on Print-Spooler problems on Technet forums (or anywhere) are pertinent to my problem. My P-S service runs FINE, and there are NO problems with printing. However, EVERY time I...
View ArticleHelp with LastReboot.vbs
Hello, I was able to get the following script to work, but wanted the output to be report.csv with columsComputer, Last Reboot and Online SinceAny help would be greatly...
View ArticleWhy use Join-Path - PowerShell
So here's a question I don't understand, why use Join-Path? I see it all over the place, and it's heavily used by top competitors in the scripting games. I also see people like Don Jones using the...
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 ArticleList Active Directory Group Members and export them to a csv file.
Hi,Iam using the script made by Anthony Guimelli.I have one problem, if a users is in more than 1 one Group the output is not correct.The output would be like this:user1;groupname1;mobile;XXX;XXX;...
View ArticleIs their a script that can search through all of AD for blank "User Logon Name"
Basically my title explains it all. I was just curious if their is a script that can search through all of my users for blank fields under "User Logon Name" Thanks
View ArticleVBS script to select e-mail address from SQL table
HI All, I am having Vbs script to contact SQL table to send E-mail to different predefined group or person for certain tasks.Issue what we are facing is if there is any unknow User ( may be ID...
View ArticleHow to do I attach multiple files to a vbs email?
I have a vbs script that emails files. Most of the time only a single file needs to be attached to the email and this works fine. In some cases, multiple files need to be attached. I attach the...
View ArticlePOWERSHELL" COPY LINES WHICH CONTAINS DATE IN CSV FILE"
I want to copy /filter lines from csv file to another excel sheet or csv file which contains lines starting with dates if it starts with text I dont want to copy it.My csv file looks like thisRequired...
View ArticleHelp Modifying vbs Script
Hello Community,My first post here. This request requires someone familiar with Cisco routers.Can someone please show me how to modify the script so that after the after an event on a router triggers...
View ArticleVBscript SID Active Directory
I have an old vbscript and i want to add the SID extra in it.If you right click on an username in Active directory it gives you information this script. I would like to add the SID but no idea how to...
View Articleneed script to list folder permissions in folder tree and subfolder
Hi All, There is a parent folder that contains sub-folders. i am trying to pull out details on who has access to the parent folders including sub-folder. i used this powershell command "Get-Acl -path...
View ArticlePassing DateTime to Powershell Results in 00:00:00 Time
I have 2 basic powershell test scripts (test1.ps1 and test2.ps1)Test1.ps1 looks like this:$mytime = Get-Date Write-Host "Passing in: $mytime" $myvar = Invoke-Expression "C:\temp\Test2.ps1 -reftime...
View ArticleScript NTFS Permissions with Powershell Cmdlet Set-Acl
Hi,I´m trying to script a auto permission script with powershell, which reads foldernames, searches the appropriate group in Active Directory and writes NTFS permission on that directory.The Script...
View ArticleIssue getting VBScript to reference HTA input box
Hi!I have a script I use to reset passwords for our domain which sets them to a default password that will expire at first logon. This works fine but what I'd like to do to wrap it up in a .hta so I...
View ArticleVB Script to edit a frequently Updating file
Hi All,I have VB script which will update the first two letters of a file. This script is working fine but after updating the file, the file not getting updated automatically.This file is the log file...
View ArticleListing network printers of remote pc in domain
Trying to use a script to get a listing of printers mapped on a remote computer on a domain. When running this script using local pc name, it lists all printers both locally created (such as a office...
View ArticleWindows-based script host has stopped working error message popup coming...
Windows-based script host has stopped working error message popup coming while i executing the .vbs script file throught the wscript.exe tool at run time.here is the exception description text.Problem...
View ArticleI need a script for print queues inventory
The script is needed to:1. find all the print servers (all the print servers with a "file-print server" role)2. search for print queues on them and compile information (Queue Name|Shared...
View ArticleStrange issue executing remote comand.
Hi,I am having a very strange issue performing remote commands in some computers, from a vbs script.The remote machine has a vbs script in C:\Scripts called generatefile.vbs. That script makes some...
View Article