Adding Pictures to AD
Okay I need help scripting the following. First the script needs to query AD to find AD accounts in one OU that do not have pictures, retrieving their employeeNumber. Then the script needs to match...
View ArticleCopy folders and subfolders to another destination
Hi,I am trying attached script but it doesn’t work well. Everything is OK except line with Robocopy.I don’t know what parameters I should use.I need copy the newest file from each folder and subfolders...
View ArticleGetting error when using the operation" getElementById:String"
Hi,When trying to run a script to login to site using credentials, I get an error message saying"You cannot call a method on a null-valued expression.At line:11 char:28+ $ie.document.getElementById...
View ArticleMultiple Login Challenge
Here is a challenge...Picture a setup with lots of computers driving lots of screens. In this case a simulator, using lots of projectors to provide the visuals. Policies dictate that machines must have...
View ArticleTechnical Analysis: VIM, PowerShell and Signed Code
Abstract: In the UNIX and Linux world, vi and EMACS have long held positions as the best-developed editors for handling large amounts of code or other text. More recently, an improved vi clone has...
View ArticlePowershell - Post Method - Server not Accepting the Cookie
Hi,I am trying to download the contents of an ASP page by using HTTP POST method in Powershell.Initially to get the SessionId, I request the webpage with default GET method. I extract the SessionId...
View ArticleDeleting every other file in directory with name signature
I'm trying to thin out backup files. We are accumulating too many backups but want to keep every other one older than a certain age.For some reason, I get the files I need in my GetChildItem, but I'm...
View ArticleJust remove Everyone Full from Root folder level and copy the perms out
So, i'm not quite sure where i'm going wrong here... Or if I am at all..I want to just remove everyone full control from root of filesystem share.. so for example \\share\share$ .. Not share NTFS...
View ArticleScript to get the file size in a folder and check the active directory for...
Hello experts,I have requirement to get the below details.scenario- There are folders (shared folder) with name of users login ID. Each folder consists of users' PST. I want get the DirectoryName,...
View ArticlePass SQl Query parameter for Powershell Script
Hi,I have following parameters being passed from SQL Stored procedure to Powershell.----------PowerShell Start param( [string] $server = "SQL2", [string] $database = ("Utils"), [string]...
View ArticleInvoke-Command for RoboCopy in Powershell
I've got an issue I'd love a bit of help with. I have a Powershell Script that is supposed to use robocopy to copy items from one server to multiple servers simultaneously. We used to just sync in a...
View ArticleRead remote registry - service woes
I want to read the remote registry using PowerShell which I know will require [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey()Firstly though, I need to ensure the RemoteRegistry service is running....
View Articlemailbox size exchange 2007
Hi,I have Exchange 2007, I get a list of users in TEXT file and I need to get a table like this:display name mailbox size(MB) Issue Warning Quota(MB)user1 25...
View ArticleShutdown\Startup Guest VM
Windows Server 2008 R2 host running A Hyper-V Windows 2000 Server guest VM.I am looking for a simple way (either batch, VBS or PowerShell command) to shutdown the guest VM and then start it up at a...
View Article.key and .crt certificate conversion to .pem format in PowerShell
Hello, During my work with openssl I came across a problem related to entity certificate and key conversion in .crt and .key format to .pem which is required by my application. Is there any possiblity...
View Articletrying to compare regestry
Im trying to give a computer usb exception but in my company some users already have USB exception what im trying to do is add a "if" statement to tell me if the user is already set up with usb...
View ArticleTrying to un-register and then re-register an OCX file.
Hi All,As in the title, I'm trying to un-register and then re-register an OCX file using powershell.This needs to be done on a remote machine.So far I have: # declare the local target path...
View Articlereplica watches for sale wu467 2014 ford f350 pickup truck free classifieds...
2014 Ford Taurus SEL Berline56000 km approximativement pneux d' t? en bon tat transmission automatique a six rapports Berline four portes moteur V6 three,5L 7 L/100 Km sur la grande route 11,replica...
View ArticlePowershell module review
Hi I wanted to know if there is a way to get an expert opinion about a powershell module I wrotethanks
View ArticlePowerShell and WPF: Checkboxes
Continuing on with my series on PowerShell and WPF, I am going to talk about using checkboxes in a form.Checkboxes are a great way to allow a user to select a specific item or items prior to moving on...
View Article