Tagged Content List
  • Wiki Page: How to Use PowerShell as an FIM Function Library

    This page provides a set of PowerShell Functions which can be used as a shared library across PowerShell scripts or from the PowerShell prompt. Table of Contents Introduction FIMFunctionLibrary The Functions Explained Convert-FimExportToPSOjbect Delete-FimObject Prepare-FimObject > Set-FimAttribute...
  • Wiki Page: Hunting Zombies: How to Remove Orphaned IIS Web Applications

    When you run many of the AppFabric configuration commands via PowerShell or the IIS Manager, the result is a change to a web.config file. IIS configuration is hierarchical with settings being inherited from parent nodes. The implication of this is that when determining the correct settings for a web...
  • Wiki Page: Windows PowerShell: Use Proxy Cmdlets in Combination with Object Events

    Proxy Cmdlets is a new feature introduced in Windows PowerShell v2. You can read more about this feature in this article on the Microsoft PowerShell Team blog. This article will show how we can combine this feature with another feature called object events. Using the Register-ObjectEvent...
  • Wiki Page: Windows Server 2008 R2 PowerShell Backup

    The Windows Server Backup feature of Windows Server 2008 R2 includes an enhanced Windows PowerShell Snap-in that can be used to manage and control Windows Server backups. But before you can use the Snap-in, you need to enable the feature on Windows Server, and then load the snap-in. Once the feature...
  • Wiki Page: Windows Server 8 – Disk Management with PowerShell 3.0

    Before Windows Server 8 and PowerShell 3.0, to manage your local, virtual or remote disks there were no native PowerShell cmdlets. You had only below choices; - Using Diskpart (Easy for basic tasks but not flexible) - Using WMI (Flexible but hard to use) Diskpart has its own arguments and does...
  • Wiki Page: WMI Discovery using PowerShell

    Introduction This article explains how you can find WMI namespace, classes and properties and methods required for your task, without using any standalone tools. Classes It is easy to retrieve list of classes in PowerShell, just use Get-WmiObject cmdlet with -List parameter. Following command...
  • Wiki Page: Set Computer Name using PowerShell

    Yesterday I faced a problem in which I needed to change the computer name using PowerShell. First I was looking for some cmdlet which can do this job for me but there is not any inbuilt cmdlet for it. Then I searched and finally find a way by which I can do this within the PowerShell. This method...
  • Wiki Page: Export SQL Server Event Viewer Error Messages As HTML

    i use the following powershell script to retrieve all sql server error logs from event viewer and export as a html file to read easily from our web server. that is the simple version of the script that i published on the Microsoft Script Repository Site. http://gallery.technet.microsoft.com/scriptcenter...
  • Wiki Page: SQL Server: Change the Login Password using PowerShell

    Here’s a quick Article detailing a PowerShell script that can be used to change the password for a SQL Server Login . Regular readers know that I practice the philosophy of Automate Everything and DBA administrative tasks are no exception. I don’t want to be doing the same task by hand twice, if...
  • Wiki Page: How To: SQL Server Databases Backup with PowerShell

    In common SQL Server databases are backup scheduled with a maintenance plan , but the Express Edition don't provide the SQL Server-Agent service to perform a scheduled job. To backup databases time scheduled the Windows Task Scheduler can be used to start the tool SqlCmd.Exe with a T-SQL...
  • Wiki Page: Export SQL Server BLOB Data with PowerShell

    I n opposition to simple data like numbers and text, it's not possible to verify blob data for validity and correctness just by screening the binary dump. Only when the respective application is accessing data it is may pointing to be bad data. In order to examine the data for accuracy, the DBA...
  • Wiki Page: Hyper-V, PowerShell, and WMI

    Let's use this article to provide quick Hyper-V tasks in PowerShell. Get a list of virtual machines on a Hyper-V parent # This can be run locally or against a remote parent. Use "." for local $VMs = gwmi MSVM_ComputerSystem -computer "<computername>"...
  • Wiki Page: SharePoint 2010: Interacting with Site Columns using PowerShell

    Table of Contents Introduction Checking which Lists or Sites are using a Particular Site Column Targeting Specific Sites for Specific Columns Listing Fields Used in a List See Also Introduction As many of us know, one of the core building blocks for string content together within SharePoint...
Page 65 of 75 (1,875 items) «6364656667»