Need Test connection output in the csv file
Hi,I am completely newbie to Powershell.Just I am trying to ping multiple VMs using the scripts. I created a file with list of...
View ArticleImport CSV file comparing by First or Last Name
Hello,I have an Excel file which has First Name, Last Name and otherPager which we are using for our badge reading devices attached to scanners.I need to read the Excel file and then compare the name...
View ArticleTrap with EA other than stop
Hi All,I want to know if we can continue the script or command and trap each error. For example, gwmi win32_bios -computername server1,non-existing,server2. Here, I will get the output for server1,...
View Articlehow to not concern invoke commad 's return?
thanks nohandle ,i will question the net map question.now i have a new question: env:pc1/2/3 use xp , all installed powershell v2 pc1 want to use invoke pc2,pc3 for...
View ArticleCreating Groups in SCOM 2012 with PowerShell
This is a continuation of a Data Center Automation series of posts that I have been working on...Read More
View ArticleWindows Azure BizTalk Services PowerShell CmdLets
This section lists the PowerShell cmdlets for management operations on BizTalk Services. BizTalk Services also provides PowerShell cmdlets for managing BizTalk Adapter Service.Read More
View ArticleMonitoring MDT Task Sequences with PowerShell
The Microsoft Deployment Toolkit provides a Lite Touch deployment model – typically a device requires an engineer to manually start the deployment task sequence. Using PowerShell to drive MDT offers...
View ArticleUsing PowerShell Web Access to manage your Windows Azure Virtual Machines and...
PowerShell Web Access is a new feature of Windows Server 2012 which provides you a web-based PowerShell console.Read More
View ArticleReplace usernames from mapping-table.csv
Hi.I have several text-files with different usernames that has to be replaced according to a mapping-table.csv file. Does anyone know of a nice script to use?Best regards Trond
View ArticleRenaming the title of a document in a SharePoint Document Library
Hi,I have a PowerShell script that sets the document title property to the document name property when it's uploaded to a SharePoint document linrary. I would like to remove the file name extension...
View ArticleCode signing error
Dear Sir, I used a script to sign scripts. Following is the script I used. ## sign-file.ps1## Sign a fileparam([string] $file=$(throw "Please specify a filename."))$cert...
View ArticleSearch Active Directory for Locked-Out User Accounts with PowerShell
Most organizations set Active Directory Account Lockout Policy to a maximum number of three to five logon attempts. Once the threshold has been exceeded, users either need to call the helpdesk to have...
View ArticleBrowse to a directory and assign to a variable
I would like to be able to browse to a local directory and then assign the path to a variable.Ideally it would be by using the windows browse function or something similar.I would imagine this would be...
View ArticleRemove unused role and feature payload files from WS 2012
Once you’ve deployed a server, such as a DC or a File Server, chances are that you won’t need to add any additional roles and features to that server. The Features on Demand technology of Windows...
View ArticleCreating a server 2012 domain using Powershell
I am currently studying for my MCSA: Server 2012 and sometimes need to rebuild my lab domain.By using Windows PowerShell I can easily run the script below to create my domain.Read More
View ArticleDesired State Configuration via Powershell
At TechEd North America 2013 the Powershell team have showcased a new under the covers feature with Windows 8.1 and Server 2012 R2 call Desired State Configuration via Powershell. While you may...
View ArticleHow to Get All Workflow History List data from the site which is older then 3...
HI,many of admins - works for SharePoint workflow history list data status which is completed and not deleted long time. because of ids not mat .IS there power-shell scrip for huge workflow history...
View ArticleRSS -> Out-GridView as text
This works perfectly.$url='http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml'$wc = New-Object Net.WebClient[xml]$resp = $wc.DownloadString($url)$resp.rss.channel.item |Select Link,Description...
View ArticleHow The Hyper-V Extensible Switch Can Transform Your Network
Grappling with a virtualised network architecture that’s difficult to manage? The Hyper-V Extensible Switch running on Windows Server 2012 can simplify your management workload, letting you add...
View ArticleBuilding up Hash Tables avoiding key name conflicts
Hello AllCan someone please assist me with the following question :) In the past when creating hash tables I have mistakenly specified the same key name and therefore get an error saying that key name...
View Article