How To Ping the Serves From List and Parse the Output to Store Selected...
Hi there!Would you be so kind to compose a PowerShell script which does the following? I am trying to do it by myself, but having really hard time with it :(1.There is a file which contains a list of...
View ArticleQuery AD for All Users with Attribs but excludes?
Hello--I am new to PowerShell and I have been working on a script which isn't yet functional or close to right. I have to query AD to get "All users, several attributes of the users, but also exclude...
View ArticleFailed job steps in SQL Server
Hi there,I have some SQL Server jobs, and I want to be able to report all failed job steps within a date range. How can I do that in PowerShell?Thanks so much!
View ArticleDisable user script check
Created a script that can be used to quickly disable a user. But can someone check the script and give me advice on how to improve the script? There's always room for improvement...
View ArticleTrying to run a file on a local computer
Hello guys, I am starting to lean a little scripting and have been successful in the past with .vbs stuff, but I'm trying to do this in powershell and really, I haven't taken any classes yet just...
View ArticleAnother newbie searching for scripting nirvana
Hey community New to the whole powershell use. Found a reason to learn it at work and dug in trying to address a real world issue. Found a script that looked applicable, made some tweaks, saved it...
View ArticleInstall multiple applications in one powershell script
Hi,I'm having issues with trying to run a powershell script for program that requires mutliple steps. I can run the each step separately in powershell just fine, but if I put them in one, they wind up...
View ArticleHow Can I Move Files Based on Values in the File Name?
So I have came across this a few time now and I can not figure out a way of resolving this.Problem:I have a bunch of file and I need to move based on the file name. Current file...
View ArticleNewbie - Needs help with AD import from CSV with adding security group to user
Hello, ive been given the task at work to speed up the new user creation into AD at my local NHS Trust we have 3000+ users.Powershell is new to me, ive created HTA's and made a few websites etc before...
View ArticleOutput to email not working
Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4Hi All This is whitespace report works as an email attachment but not as an email e.g. information in capacity.html not...
View ArticleHow to rename a file using get-childitem
Hello,I am new to this website and powershell.I would like to know how I can rename a file using the get-childitem. For example, I would like to go from ABC.BAK to 123.BAK. The problem that I am...
View ArticleHow To Use PowerShell To Retrieve Basic System Information
Also create a script that will allow you to pick and choose which information you want to receive.Read More
View ArticleTrigger Actions On-Premises from Azure Auto
Q: Can I trigger actions on-premises from Azure Automation?A: Azure Automation is essentially PowerShell Workflows running in Azure, which means any endpoint that's accessible from PowerShell via the...
View Articlesend results of ping sweep script via email
HiI found this great script , and trying to pipe the results into the body of email.However after spending many hours, i cannot figure it out!here's the script$Subnet = "192.168.0"$MinAddress =...
View ArticleRegex help
Hi all Pro,I got a log file showing all the information, how am I take only email and the error out from the log?Example log an expected result:Example...
View ArticleHow to split one big text file into multiple files in powershell - update
Hello this is an updated question to this one http://powershell.com/cs/forums/p/18455/38721.aspxA couple months ago BOB has helped me to create this super fast code for splitting one big file into...
View ArticleProblems with creating a Windows Server 2008 R2 Failover Cluster Remotely...
Hi guys,I am trying to remotely setup a cluster (Windows Server 2008 R2 Failover clustering) from a single central server. So in my scenario, I have 3 servers. My central script server and my 2 cluster...
View ArticleResize Hyper-V VHD Disk Files with PowerShell
I’d like to think that we plan ahead and build Hyper-V virtual machines with adequate disk space. But sometimes our best plans can quickly fly out the window. Or you might have a legacy virtual machine...
View ArticleSend Click and Keys to RDP session
I am trying to automate to RDP a computer and start a program. I am trying it with WASP from www codeplexIdeally my aim is to -RDP to a server and Click OK to Legal Notice windowClick on start menu...
View Article