scripting
I am trying to extract time write from some text file 12 folders and 30 txt files in each, I don't know enough to find the info and extract some maybe delete some dates. Most of all just...
View ArticlePowershell Filter For Active Directory Groups Only.
I am trying to automate a network wide (about 2.4 million folders) search for those folders, what Active Directory groups have access to them, and what type of access that is. I have code that does the...
View ArticleHow to know vbsscript itself show state?
VBScript:How to know vbs itself show state?I can use "run" to run a vbs with SW_HIDE(0), but how to let vbs know itself show stateDIM objShell set objShell=wscript.createObject("wscript.shell")...
View ArticleExtract Variables in Powershell
Hi,I try to calculate disk usage but stuck how to extract data from a recordset:The command:$Capacity = Get-ClusterSharedVolume -Cluster "Clus1" | select -Expand SharedVolumeInfo | select...
View Articlehow to list In active mailboxes in exchange 2010
how to list In active mailboxes in exchange 2010
View ArticleVBScript for parsing multiple text files
Hi,I have around 175 text files that contain inventory information that I am trying to parse into an Excel file. We are upgrading our Office platform from 2003 to 2010 and my boss wants to know which...
View Articleerror inrun bach file in policy
hi i have a bach file run .bat this is in network \\dc\databut wen run this file of this way , not run i must map this way and run it to correctnow i create setup.bat and it whole======net use t: \\...
View ArticleImport-RecipientDataProperty
I have a script that I use to upload photo's into AD and Exchange. I'm wanting to know if it is possible to automate the script to do the following:1. Check to see if the AD account has a photo, if...
View ArticlePipeline Input Help!
Hi guys,I'm having a bit of difficulty turning a script of mine into a re distributable tool and I've spent the best part of two days on it so here I am looking for some guidance.Basically I am using...
View ArticlePowershell There is no disk in the drive. Please insert a disk into drive D:
If I run my powershell script from the ISE it runs properly but if I run this as a stand-alone ps1 file I get the messageThere is no disk in the drive. Please insert a disk into drive D:.This happens...
View ArticlePrestage Computer Object in Subdomain
Trying to precreate a computer object in a subdomain. It works sometimes (1 in 15) with a "Directory Object Not Found" error. I'm doing this through a powershell workflow (for WAP/SMA - hence the...
View ArticleBatch IP pinging and displaying names.
Hi, I've found a great text file in an older thread located here -...
View Articlehow to list local admins in AD as a txt file which has a name as date of the day
Hello, I have a script which lists local admins of all hosts in Active Directory:$Searcher = New-Object DirectoryServices.DirectorySearcher([ADSI]"") $Searcher.Filter = "(objectClass=computer)"...
View ArticleScript to query DHCP server for computer name if IP address is known
I run vulnerability scans of my company’s network. After scanning my network I have a lists of IP addresses with no computer names. Most of them appear to be VTC or telephony systems so they are don’t...
View ArticlePowershell will not update-help
Update-help doesn't work. Update-help -sourcepath "D:\update help" also doesn't work. I manually downloaded the files and put them in that folder since the live update fails, but even that won't work....
View ArticleChanging Users Home directory Via powershell getting Z: instead of intended...
So, changing users home directory path - users are moving to a new server.I am trying to change the path by using the commandset-aduser $user -homedirectory \\blahblah\user\username -homedrive Fthe...
View Article"RCL" folder in all hard drives
Can someone help creating a batch file?I want to locate "RCL" folder in all hard drives on a computer and copy few important files and folders from this directory.It needs to be DOS batch file.
View ArticleConverting PowerShell Script Into Parallel Runs
I have been doing a bit of research on PowerShell "parallel" running of code, and I'm not quite understanding how to use some code that I've got in this way. What I am trying to do is run my code...
View ArticleNeed a script to extract and copy .jpgPhoto from Active Directory user accout...
There may be other ways of doing this but it seems like if this could be accomplished in a script it would make it easier for everyone. I want to capture a user's handwritten signature, either on paper...
View ArticleConvertTo-HTML Problem
Hi,I'm writing my first script and everything is working ok.. except when i try to convert it to html. i have tried a few different ways but cant seem to get it right. the closest i have got...
View Article