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 ArticleTo 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 ArticleFront 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 ArticleUsing 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 ArticleSuggestions 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 ArticleYou 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 ArticlePowershell 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 ArticlePowerShell 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 ArticleImport 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 ArticleExport 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 ArticleNeed 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 ArticleSend 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 Articleget 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 ArticleParsing 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 ArticleDrop 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 ArticleHelp 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 Articlescript 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 ArticleStrangeness 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 ArticleHow 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 Articleformatting 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