Powershell terms not recognized
Am I the only person on the planet that can't get powershell to work? I have never been able to use it successfully. My biggest problem is I get "The term 'xxxxx' is not recognized as the name of a...
View ArticleExecute multiple stored procedures in one PowerShell Script.
Hello all, I have a task to schedule a PS script to run multiple stored procedures in a single PS script.Essentially it will call a proc that displays table row count. Truncate those tables. Run the...
View ArticleRemote into Lync 2010 Server and Disable User Powershell
I am trying to run a powershell script that will automate the process of terminated users.The current piece I am working on is trying to disable a Lync user.Here is the code I currently have, it runs...
View ArticleProblem Splitting Strings
Good evening fellow spice heads, hopefully it's not too late in the day to get some help.I have a powershell script that sifts through logs, well when I originally wrote it each log was only 3 lines...
View ArticlePowershell Game :)
Its a Sunny, warm Friday, needed something to peak my attention http://www.twentysidedblog.com/a-powershell-snake-game/
View ArticleMake Noc team member's work easier
Couple of days back I started atopicWe have strict back plans we store files and folder backs in BDR devices that has 2 sets and are named as BDRSET01 and BDRSET02 assuming Saturday and Sunday are...
View ArticlePowershell.org's 2016 Powershell Heros
http://powershell.org/wp/2016/04/03/announcing-our-2016-powershell-heroes/Congratulations Martin and Matt.
View ArticlePowershell Change Value in Column
Hi,I'm not very experienced with Powershell but can write and read it ok. I'm trying to write a script that creates user accounts in AD. After it runs through the CSV and creates the accounts I want it...
View ArticlePowerShell vs. Bash in Windows 10: What's the future of PowerShell?
Last week, Microsoft broke ground when it announced that Bash, the GNU project's shell, will benatively integrated into Windows 10with the upcoming release of the operating system's anniversary update...
View ArticleUsing PowerShell to send an email based on an SQL Query output.
We use ControlM for scheduling of all our maintenance. This means we need all of our jobs to have some sort of output that our monitoring can interpret. Case in point. I have a script to call an SQL...
View ArticlePresentation looping
Hi all,been a long time lurker and first time posting here.I need to write a PS script that will copy *.pptx files from RemotePath to LocalThen this script should cycle trough copied files, opening...
View ArticleCorrect way to write a complex script
So I have the workings of a good script to create new AD users and setup their mail and a bunch of other things.Now I am thinking of ways to improve this script and looking for the "Correct" way to...
View ArticlePowerShell script to install MSI and Configure Endpoint
Hello!I'm not experienced with PowerShell and I'm trying to install an MSI and configure the service on HTTP Endpoint.For example Node js MSI to be installed on a remote server and configured on HTTP...
View ArticleMass Install Printer Script
I am having trouble getting this script to work properly. If I do not use the invoke command, it works great to install a local printer. This is a function to install the printer driver once the driver...
View ArticleCopy - Compare then Remove - Powershell
I'm trying to accomplish this part of my user termination script. (I'm new to powershell, but enjoy it a lot and want to learn more)Archive Home Folder, Profile and RDS Profile.Copy each archive to a...
View ArticlePowershell Get-WmiObject Win32_VideoController Multiple Graphics Cards
I am trying to collect Graphics and driver information from all of our computers along with a bunch of other information but I have removed the additional information from the below script for...
View Articlepowershell stop-computer error handling
I am working on a powershell script to shut down all of the computers in an office every night for a customer. So far, I have the script working to read the computer list from a text file and shut down...
View ArticleSort IP addresses
I just happened across this article on a brilliant hack to easily sort IP addresses in Powershell. This really is a great example of that out-of-the-box thinking that my parents always told me...
View ArticleCreating an AD User From Template Powershell
I am getting the following error so I am assuming I am missing something. The template account is also set to disabled. PowershellNew-ADUser-SamAccountName"jjones"-Name"Jim...
View ArticleResolving data from outputted data.
Hi all.I have a script that I am writing to monitor DFSR backlogs. Currently it looks at the current backlog (if any) and then exports that data to html which will then be sent via email.My issue is,...
View Article