Quantcast
Channel: PowerShell
Browsing all 15370 articles
Browse latest View live

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 Article


Can'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 Article


Script 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 Article

Help 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 Article

Change 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 Article


Script 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 Article

PowerShell 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 Article

Using 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 Article


Bulk 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 Article


CSV 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 Article

Powershell 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 Article

Hey, 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 Article

Updating 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 Article


How 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 Article

Powershell 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 Article


Install 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 Article

Remove 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 Article


How 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 Article

Powershell 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 Article

script 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
Browsing all 15370 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>