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

An ASDI interface and Method question.

Hello AllHelloCan someone please help me with the following question? In some respects it is a little unusual and quirky.  I understand what went wrong and how to fix it, but there is an element I am a...

View Article


Powershell Hourly trigger

Hello, I have been readed this link : http://blogs.technet.com/b/heyscriptingguy/archive/2012/09/18/create-a-powershell-scheduled-job.aspx to create a scheduled job.But I did not find the answer to my...

View Article


Illegal characters in powershell parameter

Hello -I am a powershell novice, and I am seeking advice on how to prevent powershell from interpretting characters which I intend to be used inside of a variable.  My apologies if this answer exists...

View Article

Need IP address and Mac address and Names of all printers connected to domain

Dear all, I am trying to get a script which can fetch Names + IP + Mac addess of all the printers connected to Domainwe have 1600 Printers and 80 sitesI have got hold of few but I need to do the...

View Article

Formating XML Output

Hello together,I have an XML-File with a content like this:<?xml version="1.0" ?> <objects> <cn>Share1</cn> <ownership> <role type="OWNER"...

View Article


Displaying a jpg or icon image, this doesn't work.

I am trying to get this to work but it won't  $Image = [system.drawing.image]::fromfile('c:\users\Public\Public Pictures\Sample Pictures\Desert.jpg')   $form = new system.windows.forms.form...

View Article

Introduction to WMI Basics with PowerShell Part 3 (WQL and Select Data Queries)

Windows Management Instrumentation Query Language also known as WQL is the language we use to express queries against WMI to extract information from it. he language is like a stripped down version of...

View Article

Managing Hyper-V with PowerShell

There's no doubt that PowerShell is Microsoft's preferred server management tool heading into the future—and for many good reasons.Read More

View Article


Powershell and psake background file watcher

Your starting a new web project and you want to use sass/less for css and require.js for javascript dependency management. Maybe you want to use jslint/jshint to verify your javascript syntax and...

View Article


PowerShell Usage in DBA Work

One challenge in a super-multiple server (say a few hundred servers) environment is to know what sql services (SSRS/SSAS/SSIS/Engine/Agent etc) are installed and what their versions and the startup...

View Article

invoke expression with variable paramters - 7zip

I am trying to use invoke-expression to use 7zip to unzip a file.  The parameters are variable.  I seem to have a problem that stems from what I found to be the unintuitive nature of how the double and...

View Article

Need help on output

I have a script below to gather Driver Name and Version from a conputer list but can't seem to get the output format I wanted in either excel or html format belowDriverNamame                 Computer1...

View Article

Import-CSV / Export-CSV with special characters / Bug?

Is there a way to make import/export-csv work with special characters? Try this:cd $homemd öttödir | select-object Name | export-csvtest.csvimport-csvtest.csvAll special characters appear as "?".  -Tobias

View Article


Clean up old files using PowerShell

I've been working on this blog for just over 6 months now, and my most popular article, by far, is about using PowerShell to extract worksheets from an Excel file. I basically took an old script idea...

View Article

Run cmd with arguments not work

"c:\jenkins\nightbuild\Setup-Application Name-8.12-#28.exe"  /c=installCmd.xml- this is working script started automatic instalacion.Im not able start this command line using PowerShell.I tryed many...

View Article


Further filter a get- on Win32_NetworkAdapterConfiguration

Hello all!I am creating a large script that sets defaults on "Active" network adapters. I have this script that works (not uncommon at all)Get-WmiObject Win32_NetworkAdapterConfiguration |...

View Article

System Center Configuration Manager Powershell Basics

Hello Configuration Manager administrators. It’s time to get acquainted with Windows PowerShell! We’ve finally introduced native Windows PowerShell support with System Center 2012 Configuration Manager...

View Article


Setting Status using PowerShell and converting this into a custom task in...

I had a customer who had a need this week to manually force the status of service requests / activities into ‘in progress’ or ‘Completed’.The most common example I see of this is a need to...

View Article

Conversion Issues Upgrading to PowerShell 3.0

This post probably has a small audience, but there were a handful of conversion issues I ran into when I upgraded to PowerShell 3.0. It was difficult finding posts related to the errors I encountered,...

View Article

How to Get Tail Like Functionality on Windows with PowerShell

Linux power users and administrators have long used the tail utility to monitor log files, but did you know that you can do the same on Windows?Traditionally tail has been used to view the bottom X...

View Article
Browsing all 8411 articles
Browse latest View live