Is it possible to pass an array of filter criteria to ldap filter?
What I'm trying to do is set the filter criteria in the script below. Instead of having: $strFilter =...
View ArticleEnter-PSSession does not work
Hello everyone, I connect to a remote server using powershell when the following error: Enter-PSSession: connect to remote server failed with the error message is as follows: WS-Management service can...
View ArticleExtracting values only from PSObject
Hello AllIf there an easier way than the following to get just the values from a PSCustom object? $obj=New-Object psobject -Property @{'name'='ernie''age'= 47}$obj | gm -MemberType NoteProperty | %...
View ArticleNeed Help with Combo Box Display of Selected Value
I am looking for a way to display a selected value (i.e., "Peter") in a combo box upon form load with PowerShell. When the form loads, the combo box is blank. Also, I don't think my code is very...
View ArticleA newbie question about the default startng directory
I installed PowerShell onto my Vista system a couple of years ago and am just now getting around to learning how to use it. I am starting with the online tutorial at TechNet: "Getting Started With...
View ArticlePowerShell V4 Desired State Configuration – My Precio… ops… Desired !!!!!
So far what i am reading about PowerShell V4 what most interested me was DSC or Desired State Configuration.In simple words, DSC it is a HUGE (probably it will be) INI file that you can setup rather...
View ArticleRelease: AWS Tools for Windows PowerShell 1.1.12
Download the latest AWS Tools for WindowsRead More
View ArticleEnable single user for UM using PowerShell
Pre-requisites to perform below steps:Read More
View ArticleCitrix Partner Hubbub: “Attend the free Citrix webinar on troubleshooting...
The Citrix XenDesktop PowerShell SDK is the foundation for all interactions with a XenDesktop database and is the same SDK used by Desktop Studio.This deep dive session delivered by Shaun Wendland will...
View ArticleConfigure SharePoint 2013 Farm with PowerShell
A little PowerShell script that I often use while setting up my demo environments. There is more addition to this coming…For sake of sanity… there is a zip file attached to this post with the ps1 file...
View ArticleUsing RunAs fails
I need to run an .EXE as Administrator. Start_Process powershell -verb runas /user:administrator $ccmsetup $ cmswitch -Wait When I run this I get the following error.Start-Process : A positional...
View ArticleHow to add credentials to the Windows Vault (PowerShell)
This PowerShell script shows how add credentials for specific users.Read More
View ArticleBackup SQL Server Analysis Service database (PowerShell)
This PowerShell script will demo how to back up a SSAS database.Read More
View ArticleCreate an Azure Database using Powershell
In my presentation on Windows Azure SQL Database and SSIS I show how to create a database using the Azure Portal and using T-SQL from SQL Server Management Studio. Using the portal us about as simple...
View ArticleUse PowerShell to Handle Active Directory Paths
Add the Get-ADPathname.ps1 script to your toolbox.Read More
View ArticlePowerShell Basics: Custom Objects
A step-by-step guide on how to create custom objectsRead More
View ArticleCleaning up Active Directory Computers with Powershell
For better management of Active Directory computer objects across two domains, I had configured a scheduled Windows task to perform clean up of computer objects from a Windows 7 VM. Specifically, I had...
View ArticleWould PS Perform Well For Large File Transfers?
I’m looking for the “best” performing means to transfer a large (80GB) SQL BAK file from a processing server to a staging server. To automate this, I’m envisioning a Power Shell or batch file to...
View ArticleControlling PowerPoint with PowerShell
I have been set a challenge:Find a way to synchronise PowerPoint on several machines running the same presentation. The reason for this is that we want to run some presentations over a 10Mbps WAN. The...
View ArticleWindows Powershell 4.0 (Windows Management Framework 4.0) is now available!
IMPORTANT: Not all Microsoft server applications are currently compatible with WMF 4.0. Before installing WMF 4.0, be sure to read the WMF 4.0 Release Notes. Specifically, systems that are running the...
View Article