Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

locally run script into running on multiple server

Hi, I have a PS v2 script that was created to run against one server at a time. Its used as a quality control to check if it server installed properly. Mainly does validation with if statements and...

View Article


Check Internet speed

I m trying to write a powershell script but i am facing some problem.Script-I need Powershell script for measure internet speed for multiple computers.o.s.-Windows 7,Windows 8,vistaKindly help me ASAP.

View Article


To receive email alert when each new PC join to Domain

I need a script for receive email notification if there is a PC joined into Domain Please help.THanks

View Article

Batch files for Powershell

If i have this in my batch file:cd /d %~dp0powershell.exe -File Build_01\sp_script.ps1powershell.exe -File Build_02\sp_script.ps1pauseHow do I stop the execution of the batch if Build_01\sp_script.ps1...

View Article

Powershell Script for getting OS Info for servers in a network range

Hi Friends,We've scripted the below PowerShell script for getting OS info like "server-name, OS Description, Build-Version, Service Pack details" from a list of servers (Ip ranges is gven in...

View Article


Import user from a csv file to field department

HyCan somebody help me I have a csv file inside I have Samaccountname and department and I would like to put the information in the AD for everyusers I have in my csv fileThanks Nathalie

View Article

Suggestions for improvement/A little help

Hi, First time posting, so let me know if you need any more information. I haven't been using PS for long, so bear with me. I have this code, which repeats 12 times in a script for different match...

View Article

Export empty fields

Hi everybody, I have to export the users who don't have anything in the department field ? How can I do this please?Get-ADUser -Filter * -Properties * | Select-Object -Property...

View Article


Need help with creating local user accounts from Excel spreadsheet by using...

Hello,I am new to Powershell and I am currently working as a coop student. I need to know the correct script of how can I read the spreadsheet containing user accounts by Powershell scripting. I don't...

View Article


Send Multiple Outputs to same HTML in Powershell

Friends,Can you please help me with PowerShell script to Send Multiple Outputs to same HTML (in a single table stretch)  in PowerShell . I have a made a script , but it gets the details in Different...

View Article

get free space on mount points

Hi thereI have this idea of creating a script that will give me a quick glimps of free space on specific mount points for exchange database.the big idea is since I have a lot I don't want to see it all...

View Article

Parsing file with vertical grouped text

I am looking for help in creating a PS script to parse a file with vertical grouped text.  I have a file that contains the output of a query of catalog information.  My goal is to take this vertical...

View Article

Drop non-matching records in TXT file

Hello sir,I need some help with manipulating the data in a txt file. here is an example ; File 1:ProductNameAAAABCCCCDEEE File 2:ProductNameUPC, QuantityAAAA 123, 100CCCC 234, 200D 456, 300FF 678, 500...

View Article


Need one Powershell script to move the files

Hello... need one powershell script for below requirement.1st we need to copy the file in one FTP location and then we need to Cut & Paste (move) all the files from below folder to another shared...

View Article

Help needed to execute a remote powershell exchange command

Hi guys, I'm a french girl, and a newbie into scripting domain, so if I just don't understand some of the things you explain me, please just be cool :)So, I want to execute a remote powershell script...

View Article


script to install network image scanner

Afternoon,Does anyone have a script to install a network image scanner via it's IP? I have multiple locations with multiple PC's which are all being upgraded to Win7 and each location has it's own HP...

View Article

Strangeness with looping through flowlayoutpanel controls

So I have a PowerShell tool that uses WinForms GUI.The GUI has one main flowlayoutpanel that in turn has roughly dozen flowlayout panels as child-items. These flowlayoutpanels contain groupboxes that...

View Article


Image may be NSFW.
Clik here to view.

How to enter password in the Sharepoint Login Popup

Hi,I am trying to automate the login for SharePoint currently. This is my code - $pwd = Read-Host 'Enter password' -AsSecureString #gets password from userStart-Sleep -Milliseconds 1000$ie = New-Object...

View Article

formatting issue

I have this code which works.  But the format is not what I want.  The format has distinguishedName, description and displayname on separate lines.   $sourceOU1 = "OU=Physicians,OU=MGH...

View Article

export-csv not working as I expect

I have the following code that I thought was going to write the values of the array of arrays or the array but in both cases, the results I'm getting are confusing to me (results look like attributes...

View Article
Browsing all 6937 articles
Browse latest View live