Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Browsing all 8411 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


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


Front End Service Failures in Lync 2013

During a Lync 2013 deployment, a Lync 2013 Front End service could fail for a number of different reasons. I've noticed that there's quite a bit of confusion as to why this failure occurs and what to...

View Article

Using PowerShell to Live Migrate to a Computer with a Different Virtual Switch

So far this week I have shown you how to register and how to import virtual machines with configuration problems using PowerShell.  However, the question I most often hear is this one: how do I use...

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


You cannot call a method on a null-valued expression.

Hi,In my script, i'm trying to get the OU location of the computer on the domain. However for some computers, i get error "You cannot call a method on a null-valued expression." for command...

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

PowerShell script to check when the Server was last patched

Friends,Can you please help me with PowerShell script to check when the computer was last patched . I have a made a script with , but it gets the details of all the patches installed.Please advice the...

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


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


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


Latest Images