Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Browsing all 6937 articles
Browse latest View live

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 Article


Enter-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 Article


Extracting 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 Article

Need 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 Article

A 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 Article


PowerShell 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 Article

Release: AWS Tools for Windows PowerShell 1.1.12

Download the latest AWS Tools for WindowsRead More

View Article

Enable single user for UM using PowerShell

Pre-requisites to perform below steps:Read More

View Article


Citrix 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 Article


Configure 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 Article

Using 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 Article

How to add credentials to the Windows Vault (PowerShell)

This PowerShell script shows how add credentials for specific users.Read More

View Article

Backup SQL Server Analysis Service database (PowerShell)

This PowerShell script will demo how to back up a SSAS database.Read More

View Article


Create 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 Article

Use PowerShell to Handle Active Directory Paths

Add the Get-ADPathname.ps1 script to your toolbox.Read More

View Article


PowerShell Basics: Custom Objects

A step-by-step guide on how to create custom objectsRead More

View Article

Cleaning 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 Article


Would 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 Article

Controlling 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 Article

Windows 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
Browsing all 6937 articles
Browse latest View live