Quantcast
Browsing all 21975 articles
Browse latest View live

Cannot uninstall Powershell V1 From Server 2003 R2 Standard x86

I am posting this question in this forum at the recommendation of a moderator who feels this is a Powershell forum inquiry. Any help would be appreciated! I have been reading through many articles...

View Article


How to find out the actual proxy server and port

In my organization every IE has a URL specified (use automatic configuration script) which points to a CGI script. this UrL configures the proxy.The problem is that some software do not understand URL...

View Article


Log all PS activity

Hellofor a learning-curve i want to log all my PS-activity on my workstation.What can i do to log all my PS-sessions to a specific drive on my network?Thx

View Article

Adding users to AD - SetInfo error

Hi, I'm trying to import a load of users using the script below.  I've checked it against other examples and all looks fine but it keeps throwing up the followingException calling "Invoke" with "2"...

View Article

strange error from AD when using powershell

hey guys, im trying to add UPN suffixes to AD-Forest, and im using the below command for that.Import-Module activedirectory Set-ADForest -Identity domain.com -UPNSuffixes @{Add="demo23.com"}now the...

View Article


How to install and uninstall a windows service in windows 7 os

Hi All ,How  to install and uninstall a windows service using powershell.I tried below URL http://www.geoffhudik.com/tech/2012/3/22/install-a-windows-service-remotely-with-powershell.htmlit is giving...

View Article

Disable Inheritance on OU using Powershell

Hi,I am trying to use the below script to provision an OU, create 2 security groups and then disable inheritance on the OU. The script manages to create the OU and also add 2 security groups in...

View Article

Image may be NSFW.
Clik here to view.

Need to access files on a NAS (with credentials); New-PSDrive, Net Use?

I simply tried to access a Nas with "Join-Path" but sadly you can not use credentials for that. Now Powershell tells me about "New-PSDrive" to use and in the internet I find plenty of pages about "Net...

View Article


Running MySQL Query getting 'System.OutOfMemoryException'

Hi,I'm running a MySQL Query to update MS AD and output errors to a txt file. The code works fine but after a few minutes I get the error 'System.OutOfMemoryException'.Below is a short bit of the...

View Article


Error querying ADgroup

Hey all,I am pretty new to powershell and learning as i go. I have created a program that will query my AD to get some usefull information about my AD users.The things that work so far is getting all...

View Article

How to link the output from win32_diskdrive and win32_volume

Hi,I am doing some analysis on multiple servers and am looking at ways to link the output from the following 2 lines:Get-WmiObject win32_volume | Select SystemName, name, Label, DriveLetter,...

View Article

ActiveDirectory Module remote

I'm trying to make a script for a customer so he can report users in ad.The domain controller is running 2008 with Active Directory Web Services. Then we have installed AD Powershell tools on a 2008 R2...

View Article

Overnight ExecutionPolicy changed 'by itself' from RemoteSigned to...

With lots of help from you guys I've finally got a script that--until sometime last night--was running properly for several days now and sending out information emails every morning and evening. Last...

View Article


Compare computer description in AD?

So far I've managed to add serialnumber and manufacturer in the description field to most computers in the AD, but what I would like to do next is to check each computer if they have already have the...

View Article

Calling a PowerShell code from Access 2010

I had a program written in VBA which called a PowerShell script to create Exch2010 mailbox accounts for new users. Worked fabulous with Access 2003.We moved our Databases to a newer server with Access...

View Article


Disconnect-IscsiTarget insists on interactive mode..

Hi I am trying to automate disconnecting using  Disconnect-IscsiTargetbut it insists on prompting me for confirmation. Not so good when you want to use this from Orchestrator.The interaktiv...

View Article

How to import a certificate to IIS 7 or 8 with powershell

Hi Im trying to figure out how to import a certificate of type .pfx into the IIS on my server 2008r2 or 2012.I have the code for creating a certificate, importing it into my trusted root store and even...

View Article


PS script to import local security policy

Hello Everybody!I made a general local sec policy, i want to apply it to all servers W2k8 / r2, would you please help me out ??Thanks in advance!!

View Article

Remove ACL Entry from an OU

HiIs there a way I can remove a user (in this case "NT Authority\Authenticated Users") from an OU using Powershell. Inheritance is blocked.Ive attempted to the below but it doesnt seem to work: Any...

View Article

Loops & conditional navigation

I'm trying to create a custom AD user management PowerShell script for both myself and others at my organization to use.Here is the idea:#menu"C - Create User""D - Disable User""M - Migrate User""E -...

View Article
Browsing all 21975 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>