Tagged Content List
  • Wiki Page: How to Use VBScript to Run a PowerShell Script

    FIM ScriptBox Item Summary If you you want to run a PowerShell script by just double-clicking it, you can do this calling the PowerShell script from a VBScript. The VBScript code below shows an example for this. To use the VBScript, save the VBS file in the folder where your PowerShell script...
  • Wiki Page: Install a Service into Windows Server AppFabric by Using PowerShell

    There are a couple of different options to choose from when you want to deploy WF and WCF services into IIS and Windows Server AppFabric. Both IIS and Windows Server AppFabric ship with comprehensive PowerShell APIs which can be used to fully automate the deployment, configuration and management of...
  • Wiki Page: How to Use Test-Path in PowerShell Scripts

    You can use the Windows PowerShell cmdlet Test-Path to avoid unnecessary errors in your scripts caused by things not being where you expect them, or by another part of your script returning a “path” that isn’t valid. So, for example, we can test if $profile exists: Test-Path $profile And if...
  • Wiki Page: Quick Guide to PowerShell v2 Remoting with PSSession

    There are excellent, detailed references to all the powerful remoting features in PowerShell v2, including: Administrator's Guide to Windows PowerShell Remoting (Requires registration, but is free) A Layman's Guide to Windows PowerShell Remoting (Free PDF download, no registration) ...
  • Wiki Page: Common Exchange 2010 Cmdlets

    On this Exchange TechNet Wiki page is a list of common Exchange 2010 PowerShell cmdlets Find more common cmdlets in the Exchange 2010 Exchange Management Shell Quick Reference download. Moving Mailboxes New-MoveRequest -Identity <user ID> -TargetDatabase "DB01" Get-MoveRequestStatistics...
  • Wiki Page: PowerShell Gotchas

    Overview The purpose of this page is to capture various PowerShell "gotchas," or cases where the PowerShell design of think -> type -> execute breaks down. Note that these do not constitute bugs or feature requests; this page is simply documentation of how to leverage the PowerShell...
  • Wiki Page: How to Convert Text Output of a Legacy Console Application to PowerShell Objects

    Table of Contents Introduction One line for each object Each line as a property Objects and properties spanning on multiple lines See Also Introduction Windows PowerShell is great tool when you work with cmdlets and objects, but sometimes you need to use legacy console applications. May be sometime...
  • Wiki Page: PowerShell Examples: Range Operator

    Find an available IP address within a subnet: 1..255 | %{Test-Connection 192.168.1.$_ -Count 1} Open an RDP session with machines QA1 through QA7: 1..7 | %{mstsc /v:QA$_} Read lines from a text file and write out only lines that begin with uppercase character: Get-Content...
  • Wiki Page: Display Subject Alternative Names of a Certificate with PowerShell

    Subject Alternative Names (SANs) are stored as System.Security.Cryptography.X509Certificates.X509Extension objects in the PowerShell Certificate Provider . First you can get the cert you want to view. $cert = get-childitem cert:\localmachine\my\73844B2206C170903185E777F65E969247462741...
  • Wiki Page: Understanding Booleans in PowerShell

    PowerShell supports a data type Boolean, with two values possible $true, and $false. In general, $false evaluates to 0 (zero), and $true evaluates to 1. And (usually) any non-zero integer evaluates as $true. But PowerShell does automatic data type-casting, based on the left side of the equation, leading...
  • Wiki Page: PowerShell: Getting the Most from Trace-Command

    Link to Parent: PowerShell - Deep Dive and Best Practice This article provides details and examples of using the trace command to see what is going on behind the scenes with your command. Table of Contents Introduction to Trace-Command Parameter Sets Command Expression Tracesources Videos...
  • Wiki Page: PowerShell in 10 Minutes

    Ownership of Microsoft· Scripting language designed especially for system administrators. · Targeted for management and administration systems · Object Oriented based pipelines · Perform C #, WMI, XML, Active Directory and. NET WORK ENVIRONMENT console • Lets you run PowerShell...
  • Wiki Page: Using Pre-4.6 MSI Packages with the App-V 4.6 Client

    The App-V 4.6 client has been tested extensively with pre-4.6 sequenced packages. If you have 4.5 RTM packages which use MSI for deployment, then they will have to be updated (4.5 CU1 and SP1 MSIs are not affected by this). There are three ways to update your 4.5 RTM packages: Use the MSI...
Page 66 of 75 (1,875 items) «6465666768»