PowerShell One Liner for Count of all Documents in SharePoint 2010 Farm
Last week I had a client reach out to me asking for a count of all documents in their SharePoint 2010 internal farm. They are planning on implementing Metalogix StoragePoint and were working on...
View ArticleShow-CurrencyGroupSeparator.ps1
SYNOPSIS; This script demonstrates the use of the CurrencyGroupSeparator .DESCRIPTION; This script is a re-write of an MSDN sample, using PowerShellRead More
View ArticleGet-Zip.ps1
SYNOPSIS; This script demonstrates the use of the Zip lib in .NET .DESCRIPTION; This script is a re-write of an MSDN sample, using PowerShellRead More
View ArticleQuick Tip: Batch SVN Rename of files through Powershell
I’m trying to use Powershell more and more, and today I ran into a directory in one of my projects that had a lot of files that needed renaming. Here’s the trick on how to do it in Powershell.Read More
View ArticlePassing CIMInstance as arguments to methods using 'Invoke-CimMethod'
I want to invoke CIM class method and pass CIM instance as argument to the method. The below scripts executes properly but the argument is not reaching the provider. I have put the traces in provider...
View ArticleEpisode 236 – PowerScripting Podcast – MVP Don Jones on PowerShell Desired...
Tonight on the PowerScripting Podcast, we talk to Don Jones about PowerShell Desired State ConfigurationRead More
View ArticleDownload Free PowerShell Quick Reference Guides from Microsoft
Are you just getting started with learning PowerShell or tired of looking up less frequently used commands? Then this terrific set of PowerShell quick reference guides from Microsoft is just what you...
View ArticlePowerShell and lots of Screen Savers
The environment I work in has quite a few policies around the use of IT aimed at security.One of these is that screen savers MUST be enable, and must kick in automatically after 5 minutes at most.Once...
View ArticleGPO restricted groups
Hello,How do I configure a restricted group from a existing policy.I will add a new group to the GPO restricted groups.I tried with Set-GPRegistryValue, without success, any idea ?Thanks
View ArticleManage Network Adapters with PowerShell: Configure an Adapter
Over my last few articles I’ve been demonstrating how to use PowerShell to manage network adapters in Windows Server 2012 (and since the code base is the same – though to a lesser degree – Windows 8...
View ArticleStorage and File Services Powershell Cmdlets Quick Reference Card For Windows...
Hi, my name is Roiy Zysman and I’m a senior Program Manager in the Hybrid Storage Services team.Last year, with the introduction of Windows Server 2012, we published a File and Storage Services...
View ArticlePowerShell Basics: Take Advantage of the PowerShell Integrated Scripting...
If you've been using Windows PowerShell for a while, you already know what a valuable tool it can be for working with information from a wide range of sources. At times, however, PowerShell's command...
View ArticleChanging recovery model on SQL Server 2000 DB
I'm trying to write a script that will be run as a scheduled task a couple times a week. It will check the RecoveryModel property on the various databases, and set them to simple if they have changed...
View ArticleXenapp application
Can powershell show how many users are using applications in a xenapp farmLike Outlook 3Excel 22
View ArticleScript to return/capture all properties but not display all properties to screen
I am writing a script that return drive size/freespace/path,volume,etc. for Exchange database drives and returns output like so:.\GetExchangeDrive.ps1 Database : DB1Type : DatabaseDroveServer :...
View Articlemerge for out put
want to merge both scripts (i.e for uptime of all servers and and hostname and disk script for all servers)the out should be like ip address days hours mins sec...
View ArticleTurning off Windows 7 Automatic Driver Installation and Windows Automatic Update
I am writing a Powershell script (and I am brand new to Powershell) to automatically build Windows 7 PCs. I've gotten pretty far along, but am NOT finding anything on how to turn off Windows 7...
View ArticleBuild a lab in Windows Azure for Learning PowerShell – Part 2 of 3 – Create...
I have decided to use Windows Azure as my lab environment because it is the fastest and most accessible way for me to work on this from anywhere in the world. I travel a lot so I want to be able to...
View ArticleUsing CSOM and PowerShell to query SharePoint Online or on-premise
Recently I released the SharePoint Client Browser (preview) that provides inside in a remote SharePoint site by using the Client Side Object Model (CSOM). The tool only reads data and shows it in a...
View ArticleManaging Active Directory in PowerShell 3.0 with Out-GridView
How do I manage Active Directory in PowerShell with Out-Gridview?Read More
View Article