Check URL Script in Powershell?
I have a current cron job that checks a specific URL and emails out twice an hour if up and if down, will email an SMS email address to alert. I have been tasked with moving this to powershell and am...
View ArticleCan't seem to get the Copy Existing user of my New User script to work...
I have been using Martin's New User Automation blog post as a guide/template to get a new user script going. I think I have worked out most all of the bugs except for one that is quite the doozy!I need...
View ArticleScript to remote restart services on a server for a regular user
I do part-time support for an office with an application that has three services that frequently need to be restarted. Due to the erratic and part-time nature of my availability for them, I'd like to...
View ArticleHelp with Powershell Scirpt
I need some help with this script i've been working on. Here is what I have so far:PowershellImport-ModuleActivedirectory# Import CSV$csv=Import-CsvC:\NewStaff.txt-Delimiter','# Default...
View ArticleChange User Description in AD OU
All,I want to change the user descriptions for different OU's in AD using Power Shell. I have tried a couple of lines but it has not worked so far.TextWindows PowerShell Copyright (C) 2009 Microsoft...
View ArticleScript to run an already made contacts script on everyone's accounts?
Hi,I've found this script (see attachment) which adds everyone from the GAL to your contacts list. The reason i'm doing this is to allow caller ID to show on iPhones and have an automatically updated...
View ArticlePowerShell SFTP
Good afternoon all,I have the need to download files from an SFTP server with multiple sites.Google returns a few new and old results, but I'm interested in your opinions as to what you might use to do...
View ArticleUsing Powershell to create PrinterPorts in Windows 2012
I have a CSV file that has three columns: PrintServer, Name, HostAddress. This was created from a Windows 2003 server. I am wanting to create these same ports on a Windows 2012. It will have the same...
View ArticleBulk Service account creations and add Logon to server, add to a group using PS
Hi, I was asked to create 100+ service accounts that are to be managed by 1 person and to be added on a specific security group named Deny GPOEach service account will be created specifically to the...
View ArticleCSV Display questions
Hi, GuysSo I've written a very basic script.Powershell$Computers=("Host-A","Host-B","Host-C")$VMName=Read-Host-Prompt"Which Virtual Machine are you looking...
View ArticlePowershell on Windows 10 - Checking when the execution policy was ever changed
When one changes the execution policy from Powershell on Windows 10 does it anywhere keep a time-stamp of when the change was made?I'm testing a Windows 10 build at work and i am pretty much sure i did...
View ArticleHey, Scripting Guy! I need a way to create a .zip archive of a folder
Take a folder Source which has multiple files extensions that has more than a months older than the current date, zip it and move the zip to a Destination. Then delete the log file from the source...
View ArticleUpdating Pager for large list of users
Hi I have long list of users that needs to be manually typed a unique Pager in the Active directory, but it will take time to do for 300 users. Example: Last, First Pager numberNOTE: The pager...
View ArticleHow to zip multiple files with different extensions on quarterly
How to Package and zip the following files under the "C:\Source\" when the MM – 1 = 03 or 06 or 09 or 11 or 12 (When MM = 01, 01 - 1 <> 0, but 12) and name the package...
View ArticlePowershell add users to group based on ID
I'm trying to get Active Students into a group within Active Directory. As I found out it would be easier to export their Student ID, reference that within an AD attribute to get the sAMAccountName...
View ArticleInstall a Printer with Powershell
I am trying to create a script to install a local network printer to my Win 7 Pro computer.I found most scripts look the same when using Power Shell and have tries to modify the following. So far it...
View ArticleRemove text and split values into two colums
PowerShell Pros,I need your help once again. How can I take this field from a csv and remove the Lat: , and Lng;Lat: 41.38574, Lng: -87.462542To make it like this:41.38574 -87.462542Then I want to...
View ArticleHow to read some part of file name in Powershell
How to read the file name "MONTHLY_YYYYMM.txt" and to put in destination MONTHLY_YYYYMM.zip where YYYYMM is not a System date it created by Manually. Example: In May 2016 it has to read Apr 2016 and on...
View ArticlePowershell script - What Outlook permissions does a user have ?
The title pretty much says it all, Im wanting to run a script that details what mailbox permissions a user has on all mailboxes, if any.help, maybe? please - cheers :)
View Articlescript to copy a file into multiple folders
I would like to create a script that would allow me to copy a file into like 200 folders in our directory. How will I achieve this goal?
View Article