
Add the file create date to the file name
Oct 2, 2009 · I added a .* to that line to pick up the file's extension (which was missing in the original).
Attempting to Query Active Directory User Attribute with AD …
Sep 20, 2012 · Hello all. With the Active Directory Module for PowerShell, I am attempting to gather information from specific AD user object attributes, but no matter where I look or what I …
Declare Function from VBA to VBS - social.technet.microsoft.com
Mar 30, 2017 · In VBA I use this: Declare Function hllapi& Lib "PCSHLL32.DLL" (Func As Long, ByVal DataString As String, Lengt As Long, RetC As Long)
Robocopy overwriting newer files - social.technet.microsoft.com
Mar 21, 2012 · If they are of the same age, the copy will not be performed. There are many other switches that cry out for a little more detail. Scripting? I think you would do better to post that …
Query AD computers in text file list
Apr 8, 2011 · I am trying to find a way to query computers that I have listed in a text file. I want to get the AD description of the computer as well as the OU or container where the computer …
Batch file to copy files from DC to local workstations in a certain …
Jan 26, 2011 · They all have the same folder called X in the Netlogon share. Part of the logon routine would be a batch file that runs that will copy the contents of the X folder to a particular …
Finding VMs connected to vSwitch using wmi on win2k12 hyper-v
Sep 8, 2020 · I am working on an application where I need to find the list of VMs connected to the vSwitch on hyper-v host. The information which I am looking for is same as potput of " Get …
select-string format - new line for each string in email body
I need to change the formatting of an output so that it displays a new string on each line.
VBscript Function to Trim Domain from Username String
I've been playing with replace and trim but haven't been able to achieve the results I've been looking for. I have an SCCM task sequence script that presents an input box to users and asks …
VBS script to get users last login on domain then export to .txt file
I would need a vbscript that would scan a domain and get all users' last login (hh:mm:ss and dd:mm:yyyy), then export it to a .txt file.Also, I am posting the code I've found on the web, but I …