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

How to find the memberUid of an active directory group

Hello All,I have a question that I suspect will be pretty easy for someone, at least I hope so.  I have an active directory group.  I need to find and later modify the value of the attribute memberUid...

View Article


Can't access cluster info remotely

Can anyone tell me what happened.  I was able to access cluster information on remote servers and now I cannot.   This used to work:  Get-ClusterNode $NodeEntered | Get-ClusterGroupNow I get an...

View Article


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

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

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


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

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

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


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


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

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

Xenapp application

Can powershell show how many users are using applications in a xenapp farmLike Outlook 3Excel 22 

View Article

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


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

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


Submitng a Cosmos Scope Job

I am receiving the following error:"Cannot bind parameter 'VcPercentAllocation'. Cannot convert value "vc://cosmos09/ipe.platform.dsi" to type "System.Int32". Error: "Input string was not in a correct...

View Article

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


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

Managing Active Directory in PowerShell 3.0 with Out-GridView

How do I manage Active Directory in PowerShell with Out-Gridview?Read More

View Article

Object Type Problem

The following is a small part of code from a larger script.  I have the following: $OldGroups = @("user_one", "user_two", "aaaaxx_11000")foreach ($group in $OldGroups) {    $new_var += "`""    $new_var...

View Article
Browsing all 6937 articles
Browse latest View live