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

combine and output arrays?

I have two arrays, and would like to combine them and output them with column headers.  Example as follows:$Guys = @("Jim","Joe","John")$Gals = @("Jane","Jill","Joceline")$Guys + $Gals | ft...

View Article


Need to clean up my output with single headings and then the data...

I have this script for pulling Serial No and Mfg. from a text file of remote machines.I am trying to get the output to look a little cleaner, I would even prefer it to goto a txt or csv file, but when...

View Article


Creating a user inputted array for user profiles.

Hi All,I'm currently trying to create a read-host array that will take in user names typed in and exclude them from a command that will be ran within an OU. Here is what I have so far: #Start of...

View Article

Finding the number(.count) of passwords

Iwant to find outhow manyusersare using the defaultpassword has not been.the default passwordis called"Password"can youhelp me here?Greetingsfrom theWorld ChampionCountryMarek

View Article

how do I get the dynamic WAN (PPP/SLIP) Interface number in a powesrhell...

I am a newb to Powershell scripting so I can take no credit for the code here as it has all been borrowed from what I have found online. I would like to use a powershell script to add a route bound to...

View Article


I want to run a script on multiple servers(nearly 40-50 servers) parallely

I'm trying to execute an existing script on a remote server and capture the output in a local filefavorite$Username = "user"$Password = "Password" $servers = get-content "c:\temp\servers.txt" $sb =...

View Article

import-csv ignore ,

Hi therei have a script that will enable lync users based on a list that will be imported from csv filelike this:lastname,firstnameproblem is the command im using to enable the users will take the...

View Article

Image may be NSFW.
Clik here to view.

Get few installed apps version number from a list of Computers?

I m still trying to get my script working. What i m trying to do is gathering few installed apps version number from a list of computers and output as below. The format of output must be this way..I...

View Article


How to confirm your script worked?

I have this code which works.  $computers = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDComputerName $GetOU = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDDomainOUName$dom =...

View Article


CHANEL包包 bqyl4b6ks

要不是 Adidas信得過奉孝你的人品, Ray ban 也不會將這東西拿出來。 …… Ray ban 剛才說過,只要你願意出山助 Ray ban ,便還有一物送與你!不過這東西還有一兩年才能夠成熟。其功效容 Ray ban...

View Article

ray ban paaxnu063

ugg5803可以理解為,傳授這信息情報區太過於機密,不得不使用的手段。古怪老頭簡單的話語糊弄解釋。 ugg 不在意,尤子浩更不在意,自己在意的只是得到名為:天地信息情報區。小化身,天地信息情報區。尤子浩試想這npc論壇,應該和玩家的論壇召喚差不多。所以 ugg 也有樣學樣地試著召喚。當古樸泛黃的界面出現,尤子浩知道自己蒙中了。尤子浩正要迫不及待進入的時刻。古怪老頭提醒說道:最好別使用...

View Article

POWER SHELL UPDATE!!

Should I update power shell,  I have this message "vaio-shell has stopped working" since my version is v.1  and  v 2.0 I have both of them and my OS is  windows 7 home premium sp1. I wish I could...

View Article

issue to silent install pidgin 2.10.9

I am not sure it is the script issue or the software doesn't have silent installer in it. It just doesn't work with silent installation.Notes:  I used GPO to deploy script and software on local c:\temp...

View Article


How do I arrange mutilple foreach loops into a single loop for each item?

I have written this script to find out who has access to an Exchange Distribution list.  They are locked down so staff can’t spam the whole business with their latest request to sponsor them for...

View Article

.key and .crt certificate conversion to .pem format in PowerShell

Hello, During my work with openssl I came across a problem related to entity certificate and key conversion in .crt and .key format to .pem which is required by my application. Is there any possiblity...

View Article


Monitor a folder that the number of files grows and shrinks and create GUI form.

I am trying to create a Powershell script that will do the following:I need to monitor a folder that the number of files grows and shrinks. 1. Display a GUI form that contains a label that displays the...

View Article

How to generate report - AD users with right to create AD objects

Hi.How can I generate a report that lists AD Users, groups with the right to create AD objects? I cannot figure out where to start. RegardsCarsten

View Article


Managing Windows Azure Resources Using PowerShell

Microsoft has put a great deal of effort into designing a framework for Windows Server that can be utilized by any Windows role as well as features to implement command-line functionality. Most of the...

View Article

#PSTip Functions and SQL filtering, Part 2

Adding support for easy filtering on individual table columns is great, but the fact that user would have to use SQL wildcard syntax rather than wildcards that he is used to, makes it feel like a...

View Article

What is another way to verify a machine is offline other than using...

This is the script that I have Import-Module activedirectory$rtn = $null$time = (Get-Date).AddDays(-30)Get-ADComputer -Filter {modified -lt $time -and OperatingSystem -like 'Windows 7*'}|ForEach-Object...

View Article
Browsing all 8411 articles
Browse latest View live