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

Powershell Tips

Powershell is one of command shell alternative for handling command line based operations and scripting.Read More

View Article


System.__ComObject. How to retrieve the value

Hi, pretty new to powershell.. hoping for help with a little problem :) .. i was testing running windows update as below:$Searcher = New-Object -ComObject Microsoft.Update.Searcher$Results =...

View Article


Need script to run for each site then create site report then email to site...

All I'm currently having issues with combining multiple scripts into one. What I need is to run my script against each site ou then create the site specific csv file by site name then email it to the...

View Article

Get Displayname from samaccountname

Hey Gang, Need some help I am trying to get the display name from Samaccount this is this what I have  $user = Get-Content 'C:\Temp\User.txt' $results = @() Foreach($user in $Users) {$result...

View Article

Windows NIC Teaming using PowerShell (Part 3)

This article examines some advanced considerations for implementing Windows NIC Teaming in physical and virtual environments.Read More 

View Article


Deploying PowerShell 4 with Group Policy

PowerShell 4 includes some pretty powerful new features including Desired State Configuration. If your clients are still running Windows 7, you won’t natively have these features. To take advantage of...

View Article

Import users from CSV file

Hello,I'm trying to import users from a CSV file into AD.This is what I've got so far:Import-Csv .\test.csv | foreach-object { New-ADUser -Title $_.UID -Surname $_.Surname -GivenName $_.GivenName...

View Article

Difference between workflow and module

Hi,Can anyone please explain what is the diff between workflow in posh 3.0 and module? As far as I know, the series of commands can be grouped together as workflow. when ever needed, we just call the...

View Article


List all Active Conferences via PowerShell

Over the last few weeks I’ve been thinking about a way to assist a client in the draining of their servers for the purposes of patching.  As it is well documented, the draining process will leave...

View Article


Some tips and tricks of using SharePoint Client Object Model in PowerShell

When it comes to using SharePoint 2010 Client Object Model (CSOM) we need to be ready for certain kind of  limitations  in PowerShell.Read More

View Article

PowerShell Basics

Windows PowerShell is Microsoft's task automation and configuration management framework, consisting of a command line shell and associated scripting language built on .NET Framework. It is a valuable...

View Article

Use Windows Command Line Tools and PowerShell Cmdlets to Manage Security in...

In this article we continue with how to perform additional configuration and management tasks for WFAS with PowerShell.Read More 

View Article

Use Windows Command Line Tools and PowerShell Cmdlets to Manage Security in...

In this article we'll take a look at how to configure and manage the Windows Firewall with Advanced Security via Netsh and Powershell cmdletsRead More

View Article


Use Windows Command Line Tools and PowerShell Cmdlets to Manage Security in...

In this article we'll provide an overview of how to use Certutil.exe and PowerShell cmdlets to install and manage the Certificate Services role.Read More 

View Article

is Powershell like Perl?

Sorry for the simple question.  Seems I can't use my Perl oneliners at work anymore... but I can use Powershell...  So before i try to learn it.... So.. can i use powershell to write one liners that...

View Article


WPF Insert Absolute Path for Resource Dictionary without using 'here-string'.

After much research I have discovered a way to load dynamically the required absolute path into a separate xaml Resource Dictionary file, as PowerShell seems unable to find any relative path to this...

View Article

Powershell Script for Folder size

got a script to get folder size with robocopy .This is for overcoming 256 character limitation in windowswhen i am running it getting below error . could anyone plse helpErrorYou cannot call a method...

View Article


Looking to improve this log parser

Since iTunes doesn't really provide much in the way of logging I am looking through our IIS Logs and trying to pull out specific requests for mp3/mp4 files or podcast requests as a way of at least...

View Article

WMI Citrix License is returning error

When I was using below line in my Script I was getting the error $licensePool = gwmi -class "Citrix_GT_License_Pool" -Namespace "ROOT\CitrixLicensing" -comp "192.168.70.131" -ErrorAction Stop...

View Article

Tracking events: http requests and Lync messages

Hello everybody.I'm wondering whether it's possible to track events without 3d party monitoring software. I know about WMI events, however there are two tasks impossible to handle with WMI. These are...

View Article
Browsing all 8583 articles
Browse latest View live