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

Call Powershell script from VBA using Shell() function

Hello,I'm trying to pull a path string variable from the following VBA code into a PS script::VBA CODE:Shell("powershell.exe -ExecutionPolicy Unrestricted -File...

View Article


how to not concern invoke commad 's return?

thanks nohandle ,i will question the net map question.now i have a new question:                              env:pc1/2/3 use xp , all installed powershell v2  pc1 want to use invoke  pc2,pc3  for...

View Article


Creating Groups in SCOM 2012 with PowerShell

This is a continuation of a Data Center Automation series of posts that I have been working on...Read More 

View Article

Need Test connection output in the csv file

Hi,I am completely newbie to Powershell.Just I am trying to ping multiple VMs using the scripts. I created a file with list of...

View Article

Windows Azure BizTalk Services PowerShell CmdLets

This section lists the PowerShell cmdlets for management operations on BizTalk Services. BizTalk Services also provides PowerShell cmdlets for managing BizTalk Adapter Service.Read More 

View Article


Monitoring MDT Task Sequences with PowerShell

The Microsoft Deployment Toolkit provides a Lite Touch deployment model – typically a device requires an engineer to manually start the deployment task sequence. Using PowerShell to drive MDT offers...

View Article

Search Active Directory for Locked-Out User Accounts with PowerShell

Most organizations set Active Directory Account Lockout Policy to a maximum number of three to five logon attempts. Once the threshold has been exceeded, users either need to call the helpdesk to have...

View Article

Using PowerShell Web Access to manage your Windows Azure Virtual Machines and...

PowerShell Web Access is a new feature of Windows Server 2012 which provides you a web-based PowerShell console.Read More 

View Article


Replace usernames from mapping-table.csv

Hi.I have several text-files with different usernames that has to be replaced according to a mapping-table.csv file. Does anyone know of a nice script to use?Best regards Trond

View Article


Renaming the title of a document in a SharePoint Document Library

Hi,I have a PowerShell script that sets the document title property to the document name property when it's uploaded to a SharePoint document linrary. I would like to remove the file name extension...

View Article

Code signing error

Dear Sir,               I used a script to sign scripts.                 Following is the script I used.  ## sign-file.ps1## Sign a fileparam([string] $file=$(throw "Please specify a filename."))$cert...

View Article

Browse to a directory and assign to a variable

I would like to be able to browse to a local directory and then assign the path to a variable.Ideally it would be by using the windows browse function or something similar.I would imagine this would be...

View Article

Remove unused role and feature payload files from WS 2012

Once you’ve deployed a server, such as a DC or a File Server, chances are that you won’t need to add any additional roles and features to that server. The Features on Demand technology of Windows...

View Article


Creating a server 2012 domain using Powershell

I am currently studying for my MCSA: Server 2012 and sometimes need to rebuild my lab domain.By using Windows PowerShell I can easily run the script below to create my domain.Read More

View Article

Desired State Configuration via Powershell

At TechEd North America 2013 the Powershell team have showcased a new under the covers feature with Windows 8.1 and Server 2012 R2 call Desired State Configuration via Powershell. While you may...

View Article


How to Get All Workflow History List data from the site which is older then 3...

HI,many of admins - works for SharePoint workflow history list data status which is completed and not deleted long time. because of  ids not mat .IS there power-shell scrip for huge workflow history...

View Article

Building up Hash Tables avoiding key name conflicts

Hello AllCan someone please assist me with the following question :) In the past when creating hash tables I have mistakenly specified the same key name and therefore get an error saying that key name...

View Article


RSS -> Out-GridView as text

This works perfectly.$url='http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml'$wc = New-Object Net.WebClient[xml]$resp = $wc.DownloadString($url)$resp.rss.channel.item |Select Link,Description...

View Article

How The Hyper-V Extensible Switch Can Transform Your Network

Grappling with a virtualised network architecture that’s difficult to manage? The Hyper-V Extensible Switch running on Windows Server 2012 can simplify your management workload, letting you add...

View Article

IT Professionals are Invited to Complimentary Webinar on Advanced Scripting...

NetCom Learning announces a forthcoming free webinar on Advanced Scripting Using PowerShell and SharePoint Online. The interactive webinar will take place on Friday, June 21, 2013 from 1:00 – 2:00 PM...

View Article
Browsing all 8411 articles
Browse latest View live