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

Can't use Get-ADUser command

I have the following code.   When I run this code on my workstation it works that is because I have the RSAT tools installed.  I read the following on the Net By default one can not import Active...

View Article


delete user accounts and their home folders

Hi,For a global firm, I need powershel command to run againt a txt file or csv file to find left users in AD and delete their accounts from AD and their home drives from globally dispensed file...

View Article


add a user as an administrator to over 100 email groups

is there any script avaiable to do this in exchange 2010 instead of manual process.I have a user that I need to make administroator of the a huge mail enabled  DL in exchange 2010.  thanks 

View Article

Converting Times from One Time Zone to Another Time Zone in PowerShell

I was doing some work with Service Manager and Orchestrator over the last few weeks and ran into a situation where I had to convert a time in a database to another time zone in PowerShell. I found lots...

View Article

Azure PowerShell Tools version 0.8.6 is available

This release has the new Azure VM DSC extension cmdlets, non-interactive login using Add-AzureAccount, a new set of cmdlets for Windows Azure Pack, and so on.Here is a list of new features and bug...

View Article


Practical PowerShell Part 5: Remoting

Our journey is almost at an end. What I've shown you is handy, but it only works on the local machine. Wouldn't it be helpful to query the same type of information on a remote computer? As you probably...

View Article

Deleting temp files on a remote server

HiI am very new to scripting world. I have written a basic code which does the job of deleting temp files under the listed folder path on a remote server. But as I see this process is taking quite a...

View Article

Unable to click link URL

   Unable to click linkusing  windows 8.1 and IE 11 and powershell .  problem is that I can't click the linkany help would be help .....THANKS  found this example online and this is the same as i have...

View Article


Starting with Powershell

Hello I would like to learn PowerShell. I would like to know the websites to learn and I have many questions. Please let me know the websites to ask many questions. I don't really need tutorials... I...

View Article


Usernames

Idk how to change my username on this website... help? (Yep off topic)

View Article

crating folder and removing files

Hi,I have a lot of logg files in a certain folder. The files creates every day. I need a script that create a folder every day. The name of the folders should be current date. Then the script shoul...

View Article

Image may be NSFW.
Clik here to view.

Learning the basics

Hello! I'm "someone's" kid so I wanna learn the basics of programming. Like uh.... how to say something on programming? (say hi? in the program I mean not saying hi wait what) [:'(] I'm pretty bad at...

View Article

running three find commands in parallel

I am just new to powershell, but have been using dos for years.I have a .bat file that executes three commands in sequence:find "aaa" combined0.txt >combined1.txtfind "bbb" combined0.txt...

View Article


Remote PowerShell - Accessing Local & Remote Files

Hello,I have a file called B-Module.psm1 on a remote server with the following function.Function DisplayContents ($ImportCsvFile,$ExportCsvFile) {$CSV = Import-CSV -Path $ImportCsvFile$Group = $CSV |...

View Article

Add an additional window with question

Hello to all, i am a beginner in powershell, maybe you can help me.This script opens a window where you can enter a licensekey, and this key will be written in a certain Reghive....

View Article


seeing what network drives are mapped for a user machine

Hello i would like to know how can i see what drives is a user mapped too, not just the physical drives but the network drives as well. I have tried enter-pssession and get-wmiobject but just give me...

View Article

Import-RecipientDataProperty

I have a script that I use to upload photo's into AD and Exchange.  I'm wanting to know if it is possible to automate the script to do the following:1. Check to see if the AD account has a photo, if...

View Article


Image may be NSFW.
Clik here to view.

Help Newbie Powershell Scripter here

Hello All,I have a csv/excell file like so:Server               Database    Usersxxxxxx\yyyyyyy zzzzz             $ISSAdxxxxxLxxxxxx\yyyyyyy zzzzz             $ITIllllllllllallllllxxxxxx\yyyyyyy zzzzz...

View Article

Read remote registry - service woes

I want to read the remote registry using PowerShell which I know will require [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey()Firstly though, I need to ensure the RemoteRegistry service is running....

View Article

Executing a SQL query using Powershell

I hope this is the place to ask "super basic" newbie questions because I have one which may have to do with script placement of the following sql query:"USE DATABASENAMEGO IF...

View Article
Browsing all 8583 articles
Browse latest View live