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

Automating Active Directory Certificate Services with Windows PowerShell –...

Hello again, this is Greg Blaum. I am a Program Manager on the Windows Server and System Center CAT team. This is part 1 in a 4 part series on utilizing Windows PowerShell to automate key functionality...

View Article


SCCM 2012 R2 PowerShell module Import\Export Collections

A PowerShell module is build for export and importing SCCM collections. Default SCCM PowerShell cmdlts can export and import collections but this will be mof files. This PowerShell module can export...

View Article


The Truth About Windows Azure PowerShell

The truth about Windows Azure PowerShell is that I should have paid more attention to it. As new features make their way to General Availability (GA) on Windows Azure, they are accompanied by cmdlets...

View Article

question about errorcontinue

Hello,I am preparing a script that it should help identify TCP and ICA listenner which they are down.For that I am using Powershell Terminal Services module...

View Article

Image may be NSFW.
Clik here to view.

Including Task result in the output

Normal 0 false false false EN-IE X-NONE X-NONEHi All, I am running this script on a daily basis and getting the correct output.  Is there any way of getting the below script to include the task...

View Article


Redirect StdOutput failure 2>&1

I know I saw a video once on this but I don't remember what the trick is when using PowerShell.  PS T:\> Get-Service -Name UPS 2>&1 C:\scripts\outputx.txtGet-Service : A positional parameter...

View Article

Searching for files less than 1 day old

Hi all,I am trying to get all files from a folder that are 24 hours old or less.Its currently pulling all files in the folder, from months ago, but i only need files from the previous 24 hours onlyCan...

View Article

Exchange 2013 Powershell Connection

Use the commands below to connect to an Exchange 2013 server using Powershell.Read More

View Article


Asymmetric Encryption of Text using x.509 Certificates in PowerShell

I’ve been requested to encryption sections of my script (user name/password) using a certificate issued by a trusted CA.  No problem.Read More

View Article


Tridion 2011 PowerShell profile to quickly manage your Tridion services and...

Read More

View Article

How to schedule a PowerShell script

Here is how I schedule PowerShell scripts to run via task scheduler.I routinely like to update account info to match the OU they are in. This is just to save some work when we move users. Read More

View Article

UE-V 2.0 PowerShell Cmdlet Reference

With the R2 version of MDOP released, you knew it wouldn't be long before Microsoft made available the reference guide for the integrated PowerShell Cmdlets.Read More

View Article

Issue in adding a Global domain group to computer Local Grop., Please help me...

Hi, This is rohit. I am currently trying to add domain global group (Desktopgr) to my local group (Localgr).Let me pricise this in more details:I had a machine 2008 server (LDAPCLIENT, ip...

View Article


PowerShell Newbie and Remoting Issues

I have read chapter 13 of the :Month of Lunches" book, and I have a pretty good understanding of the "Remoting Concepts" however I would like a bit of clarification from an expert. I have a "HomeGroup"...

View Article

WMIExplorer

I downloaded it WMIExplorer Chapter 14 of "Month of Lunches 2nd Ed, now how do I start it? This is Win 8 Pro and I get no icon or anything to launch other than the install, what is the rookie doing...

View Article


Secure Parameter Validation in PowerShell

Parameter validation in PowerShell is an extremely useful and easy way to alert a user as early as possible that incorrect input was provided to a function or cmdlet. The following attributes are...

View Article

PowerShell : Active Directory User Password Email Reminder Script

Hi,I you are a system administrator, and managing Active Directory, the most annoyed things are when users forget to change their password as per password expiration days set to AD and they logged...

View Article


Logging DMVs from Microsoft SQL Server with PowerShell

Some systems are easy to monitor and diagnose – just Splunk the log file or performance counter and you are pretty much done. Others take a little more work. Take, for example, Microsoft SQL Server....

View Article

PowerShell for Microsoft SharePoint 2010 : Special Operators

Windows PowerShell includes special operators that you can use to perform tasks that cannot be performed by the other operators. Special operators in Windows PowerShell allow you to perform tasks such...

View Article

Configuration Manager 2012 R2 Developer Excel Sheet

This Excel sheet contains following things:Read More

View Article
Browsing all 8583 articles
Browse latest View live