IT Professionals are Invited to Complimentary Webinar on Advanced Scripting...
NetCom Learning announces a forthcoming free webinar on Advanced Scripting Using PowerShell and SharePoint Online. The interactive webinar will take place on Friday, June 21, 2013 from 1:00 – 2:00 PM...
View Articleselect lines which contains date & copy them to a new .csv file
I want to filter csv file on the basis of the lines which starts with date copy them to new .csv file...
View ArticleReplace numbers in stings with another number by adding fixed amount to it
I am a beginner, sorry.I think I can replace numbers in a file called "Test.txt" like this (correct me if wrong)(Get-Content C:\Scripts\Test.txt) | Foreach-Object {$_ -replace "start=\"20\"",...
View Articlefind number of drafts per document in sharepoint?
i´m trying to help a colleague of mine with some sharepoint administration, i dont know alot about sharepoint and she doesnt know a lot about powershell (neither do i, but i know more then her at...
View ArticlePowershell for SQL Script Execution
I am new to powershell. Even I dont think I know the basics..But now I am assigned a work to do the execution of sql scripts residing in a remote server. 1) we have to connect to that particular...
View ArticleExport-Mailbox exchange 2007
Hi, I wrote a script that get users from group in AD, and delete all mails in those users mailbox until specific date. the script is working fine.In the end the command "Export-Mailbox" generate report...
View ArticleRemoving Insecure Wireless Connections with PowerShell
All devices let you "forget" a network when you are in range, and Windows 7 (and before) even had an interface that let you delete networks when they were out of range.This dialog was removed in...
View ArticleInstalling a SQL server on a remote system using Powershell 3
Hello, I am trying to make a skript which installs the SQL Server (2013 Express) remote on another mashine (Server 2012). The first thought was, to use the Invoke-command:Invoke-Command -ComputerName...
View ArticleDeleting Active Directory User Accounts with Remove-ADUser
Account deletion is a task to approach very carefully, and PowerShell gives us a safe method. Read More
View Articlesplit & paste the lines in different pattern/custom transposed pattern
I want to split & paste the lines in different pattern , filter the lines which starts with # or junk data present in it this is my text file .tlprdhwa base atlas3 #ggasbkdjkddddbdb tlprdhwb base...
View ArticleIt's In the Mail Part 2: Sending Rich Messages
Last time we looked at using Send-MailMessage to distribute PowerShell data through email messages. In the first part we looked at essentially plain text messages. But where's the fun in that? Why not...
View ArticleDesired State Configuration in Windows Server 2012 R2 – Online hands on lab
I am sure you all must have already looked at the Desired State Configuration (DSC) feature announcement by Jeffrey Snover and Kenneth Hansen at TechEd 2013. This exciting change is coming up in...
View ArticlePowerShell Command Line Introduction
Here’s a slick PowerShell 3.0 one-liner. If you want to pull down an RSS feed from a blog, displaying only the title and publication date try:Read More
View ArticlePowerShell script to download TechEd NA 2013 slides and recordings
I had a blast last week at TechEd but because of scheduling conflicts, and me sleeping in the Resource Center I missed some of the sessions I wanted to see. Fortunately this morning my Twitter and blog...
View ArticlePowerShell Scripts for Cluster Management
Release NotesPowerShell Scripts for HDInsight Cluster ManagementRead More
View ArticleRelease: AWS Tools for Windows PowerShell 1.1.3
This release adds a new Amazon EC2 cmdlet to easily get the latest AMI images using filter name and adds consistent cross-service aliases for parameters that control paging of service results.Read More
View ArticleFinding Path of file and copy it to the right path
I'm trying to figure out how to determine the full path of files from a compare-object cmdlet.. Here's some of my code:[xml]$LHotFixes=Get-Content"E:\WSU_REPO\Hotfixes1.xml"#This command parses an XML...
View ArticleList AD Users and All Groups in Excel
I Need a Script which lists all AD Useres with all their Groups and all ADGroups "not Member of" in one row in the same order. So the result is like a Matrix I did a Script with a Hashtable, which...
View ArticleMessage Age and Count Report Needed
I just found this forum so bare with me please.My manager has requested an archive count/size prediction report, due today of course, on message count and size where messages are over 365 days old. We...
View Articlereplace XML tag have datestamp with current datestamp using power shell
<ConfigurationConfiguredType="Property"Path="\Package.Variables[User::ConfigFilePath].Properties[Value]"ValueType="String"><ConfiguredValue>\\server\S_Repository\P_name\P_Dependencies_03152...
View Article