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

Image may be NSFW.
Clik here to view.

Exchange 2010 Query

I have a very odd issue and I am not sure if it is PoSh or Exchange related but I will post it here anywayBasically I have put together a PS1 file for our administrators to use which will prompt them...

View Article


Remote remove outlook Profiles

Hi all,  another question, i want to remote remove outlook proiles on a windows 7 desktop. does anybody know a good script for this , all desktops are member of a domain.  Thanks..  you guys are a...

View Article


Help with a powershell script to use a parameter to manipulate/read in fields...

Hi Guys, I am powershell novice so asking for assistance for what is to me  a difficult problem but hopefully a quite easy solution to PS experts!!. I have and existing powershell script (not written...

View Article

Exploring PowerShell's Group-Object Cmdlet

One reason why Windows PowerShell is so flexible and maybe even a little harder to learn is that it doesn't have monolithic commands that do six different things. Instead, there are simple cmdlets that...

View Article

Using Remote PowerShell with Windows Azure VMs

I’ve been doing a little more work with Windows Azure Virtual Machines and PowerShell lately. With the PowerShell cmdlets I can create VMs and Virtual Networks in a quick and repeatable fashion.  After...

View Article


#PSTip: Using the System.Windows.Forms.FolderBrowserDialog Class

In PowerShell, it is possible to use GUI elements to allow for user input during scripts. Although it is possible to create your own forms from scratch, there are also many useful pre-built dialogs...

View Article

XenServer 6.2.0 Powershell SDK Overview

The XenServer 6.2.0 SDK includes two versions of the PowerShell language bindings:The "old" PowerShell SDK. This is the previously released XenServer PowerShell v1.0 Snap-In and as of XenServer 6.2.0...

View Article

PowerShell v4 Ping and Telnet Replacement

I have been waiting years for a good replacement for what Telnet and Ping provide me. I am thrilled to announce today I discovered a legitimate replacement has come down the line! Recently Microsoft...

View Article


Deleting and and moving machines lastlogontimestamp older than 90 days

Hi, I'm looking for some assistance,  I'm having some difficulty with one aspect of my script and would like to do the following. 1) Find computers with last logontimestamp older than 90 days within...

View Article


Reading text file with -context

Hi,I am reading file with select-string and capturing lines which I need using -context. I am stuck how to remove file name and line number in the outputPS E:\> Get-Content...

View Article

How to handle an onClick event of an HTML element in a...

Can anyone provide a simple example of how to capture the return value of a click event on an element inside a System.Windows.Forms.WebBrowser control using Powershell 2.0?

View Article

Help with Functions!!!

I am learning about functions. For some reason the scripts work as individual pieces but when placed in a function and run nothing happens. Any help would be greatly appreciated. Here is what I have so...

View Article

checking command line arguments passed to PS script are present...

Hi,I am very new to using Power Shell and I am stumped...I need to pass 4 arguments to my PS script and I am not sure of the most efficient way of checking that they have all be specified on the...

View Article


Want to add more fields

Hi ,the below scripts is working fine now i want to add some more fields in it like Host Name , Model Number , Drivers (like c,d with there space and how much is used ) plz help me with this  $servers...

View Article

want to add more field in output

By Harvinder in PowerShell for Windows Hi ,the below scripts is working fine now i want to add some more fields in it like Host Name , Model Number , Drivers (like c,d with there space and how much is...

View Article


Getting Started with PowerShell 3.0

Register today for this one-day, hands-on Jump Start designed to teach the busy IT Professionals about this powerful management tool. You’ll learn how PowerShell works and how to make PowerShell work...

View Article

IIS SSL: How To Powershell Script Client Cert Required

I recently was asked how to script the IIS SSL setting to require client certificates (see figure below) using Powershell.  We needed to automate the setting since it was part of an Azure deployment....

View Article


SCVMM – Round 2 – How to create a Private Cloud using PowerShell

Have you ever seen "A Bridge too far" movie? To not to wake up a click too far, it is good to script some tasks. Yes of course we can follow wizards, but some of us want to be warriorsJ. A small tip,...

View Article

Connect to the Active Directory Drive in PowerShell

The Active Directory drive (AD:) in PowerShell gives administrators an easy way to explore AD from the command line, in much the same way you would list the directory contents of a hard disk using the...

View Article

Windows Server 2012 R2: A First Look

Summary: The latest iteration of Microsoft's server OS is now in beta. Is this the Cloud OS on cloud time?Read More

View Article
Browsing all 8411 articles
Browse latest View live