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

Invoke msiexec on remote machine and get 0x80070005 error

Hi everyone,I'm trying to do a script in powershell that install msi files on remote machines in the same domain. When i use Invoke-Command to run simple cmdlets on remote machine everything works...

View Article


Creating TextBox objects with a Loop (Inside a function)

Hello All,So recently I've been doing some PS'ing and I've finished los of scripts with GUI's.I've encountered a problem in this script though, I've asked my Company's Senior Developer and He's...

View Article


role

PS> Import-Module ServerManager PS> Get-WindowsFeature *file*PS> Get-WindowsFeature *powershell*PS> get-WindowsFeature Web* i need server role i tried above commands its working but i need...

View Article

Manage Lync Online with Windows PowerShell

Here's further proof that anything can be managed using Windows PowerShell. Microsoft has released a PowerShell module that allows for management of Lync Online deployments and user accounts.Read More

View Article

PowerShell Start-Process without taking focus

Earlier this week I had a need to start a process from PowerShell and ensure that it did not take focus.  This doesn’t seem to be supported by the Start-Process cmdlet or any other mechanism built into...

View Article


Opscode Chef™ Delivers Robust Open Source Automation Platform for Windows...

Opscode Announces New Collaboration with Microsoft to Enable Opscode Chef Cookbooks to Take Advantage of Windows PowerShell Desired State Configuration Capabilities, New Version of Opscode Chef Adds to...

View Article

Executing (calling) powershell commands through Control-M

Hello,I am new to usage of powershell.  I am trying to execute (call) a powershell script through the BMC Control-M batch processing program via a Command Line.The command I am using is: powershell...

View Article

Conneting to Exchange 2010 from win7(different domain)

Hello All,Client: Win 7 EnterpriseClient Domain:ds.swin.edu.auHost server: Windows 2008 R2 EnterpriseSever domain: ex.swin.edu.auExchange: 2010How do I connect to Exchange 2010 with powershell...

View Article


gwmi win32_product error ONLY in win xp

Hi  All,I am creating a script to collect some system information for multiple servers. As a part of it, I am collecting softwares installed in group of machines. I am taking the list of softwares...

View Article


Import from CSV, set Dial in Tab and ad to user

Hi AllI'm going to aplogise in advance for this - its been many years since I've done any coding so am doing a crash-course in Powershell - it will be evident in what I post!I am struggling with...

View Article

Microsoft brings Remote PowerShell to Lync Online for commercial Office 365...

Microsoft today released Remote PowerShell for Lync Online. The new features are available for all commercial Office 365 customers.Read More

View Article

Mastering everyday XML tasks in PowerShell

PowerShell has awesome XML support. It is not obvious at first, but with a little help from your friends here at PowerShellMagazine.com, you’ll soon solve every-day XML tasks – even pretty complex ones...

View Article

Managing Printers Gets Easier in Windows 8

No matter how fervently I wish printers would just go away, it seems they're here to stay—with all their attendant jams, empty trays, and constant hunger for toner and ink. (Wouldn’t a Print to...

View Article


sql query to mysql

I have queried a database on the network and get the following into my variablePS C:\scripts> $aspent_on...

View Article

Image may be NSFW.
Clik here to view.

Logging user/machine and session information

Hi all,Firstly, I just wanted to say I'm an absolute Powershell newbie, and secondly that this site is a great repository of knowledge by those way smarter than me! Anyway, I am a Network Admin at a...

View Article


Verifying .NET usage

As part of a security audit, we need to:1.  Identify versions of .NET installd.2. Document any application which is using .NETThe guidelines provided to us for (1.) is to get the version of...

View Article

Looking for a script to pull Storage INQ info from multiple Windows servers

Hi,I am looking for a script that will let me pull the INQ info from multiple Windows servers.  The reason being that I need to identify which arrays various Virtual Machines are attached to without...

View Article


Invoke msiexec on remote machine and get 0x80070005 error

Hi everyone,I'm trying to do a script in powershell that install msi files on remote machines in the same domain. When i use Invoke-Command to run simple cmdlets on remote machine everything works...

View Article

Import multiple PST files to archive database

I need to create some script for import pst users archives to EXCHANGE 2010 sp1 database.Mail archives stored on single file server \\FILE-SERVER\PST\%Username%\An amount and name of files is different...

View Article

Report of members of local Administrators group

I found this here: (http://powershell.com/cs/media/p/376.aspx)cls $ErrorActionPreference="SilentlyContinue" Get-Content (ENTER PATH TO YOUR INPUT FILE HERE) | foreach {...

View Article
Browsing all 8411 articles
Browse latest View live