Help with Powershell Employee Directory Script
I am trying to deploy Martin9700's Employee Directory script. (http://community.spiceworks.com/scripts/show/1652-create-employee-directory-web-page)I am not a PS expert. In fact, this is really my...
View ArticleRemote regestry fix
Hi guys I have 2 questions really...I have found a fix for a multi user problem which involves changing the value of a reg key to 0. See below. HKLM\SOFTWARE\Microsoft\Windows...
View ArticleMeasure-Object Doesn't Like Me
Blame the tool, not the craftsman, right? What I'm attempting to do is add some extra flare to my progress bars. The status bars I use now show what item number it's on and the total item count,...
View Articleread csv, add/remove share permissions using grant-smbshareaccess
New to powershell and haven't done any sort of programming for a number of years.I have several user accounts and global groups that are changing domains and I'm trying to devise a method in which to...
View ArticleIn Powershell what do the brackets mean?
I was looking at something where the script was like 14 lines and there were brackets followed by blank lines, I understand that they are used to close statements, but for some I was getting confused...
View ArticleAdding the share name to each object?
Hello,I may be going at this all wrong, but I'm trying to figure out how to add a text string to each object displayed in a list. In the end I need to be able to generate a list of hidden shares,...
View Articleanother powerhsell questions
Textget-adcomputer -Searchbase “ou=laptops,ou=ENT,dc=mydomain,dc=com” -filter * |% { write-host $_.name get-ADObject -ldapfilter “(msFVE-Recoverypassword=*)” -Searchbase $_.distinguishedname...
View ArticlePowerShell + PowerShell = Almost Awesome
I use PowerShell and call Robocopy on a few scripts. I'm struggling with the issue I posted here. That brings me back to my favorite group.I'd like to kill / stop the Robocopy on any errors it throws...
View ArticleIncorrect exception message when script run on DC, but not on workstation
Hello!! So, this is an odd one and I'm not really sure what exactly to search for, so I figured I'd ask around and see if anyone's got an idea. I'm populating an AD group with around 19,000 members,...
View ArticleStoring values in Powershell array
Hello frnds,I am using this command to store values in variable but all values are stored at single index and counting length returns value as 1 while i want each value to be in difference index of...
View ArticleUsing variable to select object
Hi guys,I'm teaching myself PowerShell and starting by making some tools using Sapiens' Powershell Studio which I'm loving!The tool I'm working on right now is a simple one to check if services are...
View ArticleLame Powershell Joke.
I hope my apathy towards sportsball doesn't disqualify me for a Yeti. Nevertheless, http://community.spiceworks.com/topic/post/4934319
View Articlepowershell wmi invalid class windows xp
I'm trying to run the below command on win xp pro SP3 however it fails with an...
View ArticleImporting users from two csv files to compare, and replace UserID field
Hi, I need to replace a UserID column with entries from another column in another csv file.Example.First File will be the app user extraction.This file for this example can be called...
View ArticlePowerShell 5 Convert-String
http://blogs.technet.com/b/heyscriptingguy/archive/2015/08/17/use-the-powershell-5-convert-string-cm...TL;DR. Take an array of things, say user full names, pipe it to an example output. If there are...
View ArticleCreate shortcut using Powershell
I am trying to make a PoSH script to create shortcuts for a bunch of Autodesk deployments, and seem to be running into an issue. I am pretty sure I am having issues escaping the "/" character...
View Articlepowershell script for message tracking exchange 2013
running command below:Get-Messagetrackinglog -Recipients: joebob@jimbo.com -EventID "RECEIVE" -Start "8/4/2015 9:00:00 AM" -End "8/18/2015 5:00:00 PM" |ft Timestamp, Source, Sender, Recipients,...
View ArticleLeveraging get-command and show-command in PowerShell
PowerShell can be complicated to learn. Perhaps that's why Microsoft had the prescience to include a few different resources to help learn PowerShell inside PowerShell. In a guide to using the...
View Articleneed script to find ALL Everyone group on all domain (servers)
Can anyone suggest a script (Powershell or other) that would find the Everyone Group on all servers across the domain?
View Articleexport a csv from a tab deliminated
I have a tab deliminated fileTextstudent_number last first pass email15232 Doe John X68ST9L 115232@domain.orgAbove is $novell in...
View Article