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 ArticleI 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 Articleimport-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 ArticleGet 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 ArticleHow 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 Articleissue 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 ArticlePOWER 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.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 ArticleManaging 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 ArticleWhat 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 Articlecopy-item fails
$grab = get-childitem "C:\Temp" -recurse | where {$_.extension -eq ".txt"} | % { Write-Host $_.FullName } foreach ($item in $grab) {Copy-Item $item -destination "c:\Find"} When I run that above...
View ArticleHow to update POWER SHELL V.1!!!!
Well I have been search for my version of power shell and I found it on assessories folder which says it is v.1 but web plataform installer 5.0 I have v.2 as installed so I do not know which one is...
View ArticleHow 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 ArticleHow 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 ArticleMonitor 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 ArticlePowershell to logon to the application
I am trying something which I had never tried before in the powershell scripting....My requirement states in the steps below: 1. Launch the application. 2. Enter user credentials 3. search for a text...
View ArticleCould not load file or assembly 'PresentationCore'
I've written a PowerShell script that copies an Excel range to the clipboard and exports it as an image. When I come to run it in Windows 7 with .net 4.5 it's fine, but it doesn't work in Server 2008...
View ArticleSet access control on a printer via Powershell?
I want to deletetheuserEveryone in theSecurity tabof thePowerShellandadd anotheruser.It's about aprinter.Theauthorization is tobeprint only.CanI achieve thisthrough thePowerShell 2.0 ??
View ArticlePowerShell script to list installed printers on a list of computers
Hello,I need a PS script that can list all installed printers using a list of computers. Something like what this script does but for more than 1 computer:Get-WmiObject -class Win32_printer| ft name,...
View Article