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

Copy SharePoint views to other libraries with PowerShell

Recently I got the question if it’s possible to copy views from a source library to other libraries in SharePoint. The customer who asked me this question wanted to use one library as the source...

View Article


Exporting Windows account lockout events to an XML file.

Here's my scenario.Our users regularly lock their AD accounts because they change their AD password and something else is still using it e.g. 1: an RDP session on a server 2: A PC 3: their mobile phone...

View Article


Use PowerShell to Create a New Virtual Machine in Windows Azure Running...

In this Ask the Admin, I’ll show you how to connect to your Azure subscription using PowerShell and create a new virtual machine (VM) using the New-AzureQuickVM command.Read More

View Article

My Favorite PowerShell 4 Features (Part 2)

I highlighted some of my favorite features in PowerShell 4.0. Here are a few more. These are items that I think you might want to use immediately in your PowerShell management tasks.Read More

View Article

My Favorite PowerShell 4 Features (Part 1)

Jeffrey Hicks runs down a few of his top reasons why you should be running the latest version of PowerShell.Read More 

View Article


Configuring vGPU and GPU pass-through using the PowerShell SDK for XenServer...

The SDK for XenServer 6.2.0 Service Pack 1 is ideal for developers wishing to access programmatically XenServer’s new management features for GPU virtualization (including the new vGPU and GPU...

View Article

Nice to Know – Getting Hardware info(iLO) data using native PowerShell (and...

During my daily work (building datacenters) I normally need to inventory server information and in many cases there is no infrastructure in place, things like OpsMgr, SCCM, SCVMM and HP’s native tools...

View Article

An issue regarding time zones of Date and Time values retrieved from Exchange...

Hello folks,I need your help as I'm pretty new in MS Exchange and Power Shell technologies.So here is my question...How can I retrieve Date and Time values listed below in UTC using Exchange Power...

View Article


Output to 2 files with 1 command?

I have this code that works: gc C:\Tools\PingComputers\Input.txt |?{ (gwmi Win32_PingStatus -Filter "Address='$_'").StatusCode -eq 0 } | out-file C:\Tools\PingComputers\Pingable.txt  How would I also...

View Article


Monitoring Hyper-V Operational and Admin Event Logs with PowerShell

There is a lot that can happen to your Hyper-V server and fortunately most of these events, both good and bad, are recorded in the Windows event log. But monitoring these events can be a tedious...

View Article

Step-By-Step: Windows 8.1 Start Screen Customization via PowerShell

The Windows 8.1 Start Screen can be utilized as an important tool to all employees of respected organizations to be kept informed.  One of the challenges faced by IT Professionals is the need to...

View Article

Scan IP range and resolve DNS addresses

Here is what I have so far;1..255 | foreach-object { (new-object System.Net.Networkinformation.Ping).Send("10.0.0.$_") } | where-object {$_.Status -eq "success"} | select addressThis returnes a list of...

View Article

Delete computer accounts from AD from a text file as input

Hi All, can some please provide me a simple script to delete multiple computer accounts from AD from a given text file.. I am dying to create one... any help would be great.. 

View Article


Updating AD user information with Powershell

Ok I am very new to this. I have been watching videos and reading through various forums to learn what little powershell I currently know. Any help with this is greatly appreciated.I currently have to...

View Article

Edit shotcut target

A little background about what I'm trying to do and why.  We are slowly migrating from using a local copy of office on our end users Win7 machines to publishing office through RDS 2012. With 2012 you...

View Article


Using PowerShell to apply ODBC settings to a computer?

As I have learned so much from reading and asking questions, thanks so much for everyones help. I have another problem to solve. One of the lines in one of the textbooks, I think it was Mr. Jones (Not...

View Article

PowerShell and Filter Beans

Greetings;I'm working with this WSDL API and so far I've managed to get most of the API methods wrapped with a PowerShell function.  It's (sort of) a ticketing system and one important ability would be...

View Article


Commands to Add the SSL Certificates to the FTP Sites

Hi All              Can Any One Help Me to provide the Command to Add the SSL Certificates to the FTP Sites.Is there any Command Available in Powershell in Windows Server 2008 R2

View Article

web-scraping

Hi.  I'm brand new to this site and also new to PowerShell.  I am trying to do something which should be simple, but doesn't work for me.  I am trying to log on to a website with IE10, and create a...

View Article

ResolveName with match

Hello thereI am a beginner with this so bare with me:)I have a script that goes like this:# Environment Setup$InputFile = "servers.csv"# Read the input file which is formatted as name,type,address with...

View Article
Browsing all 6937 articles
Browse latest View live