Quantcast
Channel: Windows PowerShell Forum
Browsing all 2562 articles
Browse latest View live

What Script I can use to install Powershell on any machine in network through...

--What Script I can use to install Powershell on any machine in network through Powershell?--How can I run any script on any machine in network without interrupting or enabling powershell remote...

View Article


Image may be NSFW.
Clik here to view.

Populate website form with data from excal

for example in excel I have001     100092     500098     250091     400and on website there is a form like001w091092098and have to populate welue in Plan 1 for each number in Korisnicko ime  Nikola...

View Article


PSdrive to connect to multiple AD forest and query for users

Hello,I need to check on several forest for Active Directory.I create 2 psdrive for each forest.Then In powershell shell I can do PRP: then get-aduser -identity "user" and it works.But in script not....

View Article

Monitor Network Traffic from a port using Powershell

I need to find the network traffic sending/receving from a known port. Can it be done through powershell commands. Which command or script to be used to get this done.Please help.

View Article

Powershell Compare Files Script Help

I am having a problem with a powershell script I am trying to write. I want to compare multiple .txt files to a master .txt file. If the user are in the master .txt file remove it from the .txt file....

View Article


Promote a 2012 DC using PowerShell 3.0 workflow hangs on Install-ADDSForest

Hi,seeing the value in PowerShell 3.0 workflow for machine / classroom installation I am trying to automate the entire installation of a SharePoint 2013 machine. First steps include making the server a...

View Article

Question on int32 and read-host

Got a wierd issue but I'm sure someone can answer me:So the following powershell is used:$a = 20mb $a.gettype() outputs an int32BUTIf I do a read-host, example below:$b = read-host 20mb$b.gettype()...

View Article

Powershell - Rename AD user "Department" based on the OU it is in?

Hey everyone.. I'm fairly new to Powershell scripting and still working to understand a few of the basics--so sorry if this is a dumb question. I've found a few similar scripts out there that are...

View Article


How Can I hide Everything in an Additional Mailbox Except the Inbox

Hi, I am running Exchange 2010, with Outlook 2007 Clients.I am trying to hide certain things in Outlook additional mailboxes for example:I have a "Sales" email account set up and added to multiple...

View Article


Urgent - USB Device List

I have 1500 Thinclient that use Linux that have a printer attached to them via USB.  I need to get list of all or more of the printers .  I am unable to get information on windows using vbs but not...

View Article

Image may be NSFW.
Clik here to view.

Parse XML with Xpath for DFSR Reports

Hi - this is my first attempt at attempting to automate our DFSR environment reporting.  Based off of the generated XML health report, I'm getting hung up on the syntax of traversing through to...

View Article

Windows PowerShell Web Access - Connect through PSSession

I was just wondering is it possible to connect to Windows PowerShell Web Access thrugh an New-PSSession from a client on the internet, or is it only available thrugh the webinterface?

View Article

Silent Install of WCF Data Services 5.0 in PowerShell Issue

 I am trying to Silently install WCF Data Services 5.0 in PowerShell running as an admin but I keep getting a open file - security warning dialog box which will not run the install until I click RUN....

View Article


updating files

I have a file that I need to check to see if a certain line is in it and if so I do nothing but if it is not there I have 5 lines I need to insert in specific places.is there an easy way to do this?

View Article

Running invoke-command does not call executable in master script....

Ok here's the scenario.Domain-based network.Computer running invoke-command is also a domain member.Powershell v2 is installed on domain member computer.Powershell v2 is installed on the domain member...

View Article


How to speed up powershell script that utilizes .csv files

I have used this script several times to bulk import users into AD, but now it seems to slow down considerably.  It works fine as the information is correct.  I am typically importing around 300-400...

View Article

Image may be NSFW.
Clik here to view.

PowerShell - Parsing XML & Output to Excel

I'm making a script that will parse through 2,000 XML files for data & then output it to an Excel file. Here's what I have so far:#Get XML File $path = Get-ChildItem...

View Article


Best way to Compare 2 CSV Files of User Information, then use results to...

I'm just learning powershell, so I'm not always aware of the best cmdlets to use. My current task:I've got a daily CSV file that's generated containing a header username,first,last,email and about...

View Article

Access denied on remote script - Newbie

First off I apologize but I am a complete newbie and powershell.I have written a PS script that looks through a server's event logs and parses out WARNING/ERRORS and writes them to a text file on my...

View Article

What is the value returned by read-host when the cancel button is pressed

I though the value would be $null, but is not. What value is returned when I click cancel in the read-host windows prompt. It gives me an error when i click on cancel.thanks

View Article
Browsing all 2562 articles
Browse latest View live


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