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

Adding a calendar webpart

Hi,I am working on a script to create a Calendar in SharePoint site and then add it to a publishing page as part of site provisioning. By using the similar to what is shown in this forum, i am able to...

View Article


Is it possible to implement the attribute ValueFromPipelineByPropertyType?

Is it possible to implement the attribute ValueFromPipelineByPropertyType? Hope someone can give me some suggestions. Thanks.

View Article


Some PowerShell commands for Windows Azure BizTalk Services

When working / playing with Windows Azure BizTalk Services, you will find out that there are some things that are not exposed through the portal.  For these things, PowerShell comes to the rescue.This...

View Article

Windows Installer PowerShell Module 2.2.0 Released

Years ago I released PowerShell cmdlets (“command-lets”) that make querying product and patch information easy and robust. Windows PowerShell is a powerful shell that pipes objects – not simply text –...

View Article

How to Extract ZIP Files Using PowerShell

Windows includes the ability to unzip archives and even exposes this functionality programmatically via COM. Here is how to do it.Read More

View Article


Cracking Credit Card Hashes with PowerShell

As penetration testers, we are frequently engaged to do penetration tests for PCI compliance. As a part of these penetration tests, we look for cardholder data (Card Numbers, CVV, etc.) in files,...

View Article

Move Mailbox

HII very new to powershell, so go easy on meI need to move mailbox from one exchange to another exchange and I would like to know if this can be done by PS scriptI would like to have a txt file read by...

View Article

Image may be NSFW.
Clik here to view.

Create a windows with System.Windows.Forms

Hi, I need to create a scrip that will pop up a windows in one section I will put user name press "OK" and he will show me his email address in the right side of the same windows .how i'm getting the...

View Article


The specified path, file name, or both are too long

HiHoping someone can help, I've been running a script to delete files/folders and it's been running great, however recently some of the folder names have become very long and the script cannot delete...

View Article


Image may be NSFW.
Clik here to view.

Regex question

I want to search in a file and match numbers in format (?:[0-9]{1,3}\.){3}[0-9]{1,3} with some exceptions, which means <any string><followed by any characters except a '.' or '=' or '\'...

View Article

Windows Server 2012 Essentials Update Rollup 2

Microsoft this week issued its second Update Rollup for Windows Server 2012 Essentials. Like the previous Update Rollup, UR2 is a collection of previously-released updates for Microsoft’s small...

View Article

Snap Creator PowerShell Toolkit: Getting started

A new feature of Snap Creator 4.0 is a complete API layer on the rewritten server.  Snap Creator thrives in clouds, which are typically highly automated environments.  We envision cloud administrators...

View Article

How to add servers to Windows 2012 Server Manager in a workgroup

With Windows Server 2012 you can manage multiple remote servers by using a single Server Manager console. Servers that you want to manage by using Server Manager can be running Windows Server 2012,...

View Article


Installing a SQL server on a remote system using Powershell 3

Hello, I am trying to make a skript which installs the SQL Server (2013 Express) remote on another mashine (Server 2012). The first thought was, to use the Invoke-command:Invoke-Command  -ComputerName...

View Article

returning a value from a drop-down

Hello,I'm writing a script to create new users through a form (the normal user creation process is long and complex and therefore prone to human error), but I'm having issues capturing values from a...

View Article


returning a value from a drop-down

Hello,I'm writing a script to create new users through a form (the normal user creation process is long and complex and therefore prone to human error), but I'm having issues capturing values from a...

View Article

New-Object -ComObject

HI, I have a small query, we have -comobject parameter for new-object command. Now -comobject has some parameters like, excel.application, internetexplorer.application, shell.application. Now my doubt...

View Article


RUN POWERSHELL THROUGH BATCH JOB

Can somebody help with how to run powershell script with Batch job & the output path is been hardcoded into the file

View Article

split & paste the lines in different pattern/custom transposed pattern

I want  to split & paste the lines in different pattern , filter the lines which starts with # or junk data present in it this is my text file .tlprdhwa base atlas3 #ggasbkdjkddddbdb tlprdhwb base...

View Article

Get a List of Software Installed on Your PC with a Single Line of PowerShell

Suppose someone asks you for a list of applications you have installed on your computer. To get this information, what’s the first thing you would think to use? Third-party program? Not us, we have...

View Article
Browsing all 8583 articles
Browse latest View live