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

Set Azure VM Static IP Address

Q: How do I set a static IP address for a virtual machine (VM) in Windows Azure IaaS?Read More

View Article


Sort only user who begins with guichet

HiI would like a list of only the user who begins with the samaccountname guichet in my AD how can I do thst: get-aduser -filter * | where {$_.SamAccountName = "guichet*"} | Select-Object -Property...

View Article


Test-Connection and email results

OK, I'm hoping Bob or Martin can help me with this as I've seen a lot of their posts with positive results (Including modification of some of my scripts).I am trying to query AD for every server in the...

View Article

Test-Connection and email results

OK, I'm hoping Bob or Martin can help me with this as I've seen a lot of their posts with positive results (Including modification of some of my scripts).I am trying to query AD for every server in the...

View Article

Issues with copy/move script

Help would be appreciated.  I am trying to have a script that will copy to multiple locations, then move.  This script will be run every 5 minutes on multiple servers.  The script I wrote (I know is...

View Article


what is [adsi]"WinNT://$computerName"

Hi All,I have seen in some scripts like this, [adsi]"WinNT://$domainName/$computerName". What is this step? when we want to connect to local machine do we use this ? can you also suggest some  complete...

View Article

List local groups and users to CSV

Found this script submitted by Aleksandar, great script, being new to powershell writing, I am looking for a way to change the script to read a list of system names from a TXT file, listing ALL groups...

View Article

merge 2 variables as csv

hi powershell.com i trying to Consolidation of two separate line as parallel lines.... my English is no so grate Background story:I use psgetsid on all computer i got from this software Ad tidy (with...

View Article


Send Multiple Outputs to same HTML in Powershell

Friends,Can you please help me with PowerShell script to Send Multiple Outputs to same HTML (in a single table stretch)  in PowerShell . I have a made a script , but it gets the details in Different...

View Article


Need Assistance Using the Printing All PDF FIles Script

So i am building my first powershell script and ran into a hurdle.  In short, when i print the pdf files in the script below, it is printing out two files that i opened in the past instead of the files...

View Article

GroupMemberShip

Hello,I am able to find/list the AD user's groupmembership with this little function:function Get-GroupMembership{       param(        $UserName = $env:username,               $Domain = $env:userdomain...

View Article

Is this a bug with function definitions?

Can anyone explain why the below code works when saved as a script?function Get-Test { Write-Host "In function"}TestThe call to the function should be Get-Test. The above code should generate an error...

View Article

Tough one - Accessing component properties of a Task Host inside an SSIS Data...

Having some issues with getting a conversion to a COM object to work right (at least I think that's my problem).  We have a template SSIS package, within a PowerShell script I access that package, make...

View Article


Tip of the ISE-berg

The PowerShell ISE, or Integrated Script Editor, is intended as the bare-minimum scripting tool for IT Pros. Need to create a script? Don't open Notepad -- use the ISE. And even then, it is not...

View Article

PowerShell connectivity to Azure, Exchange Online and Exchange on-premises...

I use the following function in my PowerShell profile so that I can use the Microsoft Online cmdlets, the Exchange cmdlets against Exchange online and the Exchange cmdlets against on-premises all in...

View Article


PowerShell Scripts for SQL 2.0

Server administration with 20 free scripts.Read More 

View Article

#PSTip Installing and setting up AWS PowerShell Tools

I have been working with Amazon Web Services (AWS) and for me the default management tool is their PowerShell module. I have multiple computers that I use to work with AWS and I rebuild them quite...

View Article


Is the below syntax correct

I am trying to call a PowerShell script from within MS Build. Also maybe use the execution policy  unrestrict.Can you go line by line with the full correct syntax <...

View Article

How To Ping the Serves From List and Parse the Output to Store Selected...

Hi there!Would you be so kind to compose a PowerShell script which does the following? I am trying to do it by myself, but having really hard time with it :(1.There is a file which contains a list of...

View Article

What PowerShell can be used For Business Intelligence

Goal: Understand better how and why PowerShell can be used in business intelligence. Problem: I really don't understand what specific assignment what PowerShell can be used in order to complete task or...

View Article
Browsing all 8583 articles
Browse latest View live