Quantcast
Browsing all 21975 articles
Browse latest View live

Set IP Phone?

I'm hoping someone here can help me; I've searched and searched and haven't been able to find an answer.I've created a program to add new users in AD.  The program generates Powershell and Quest...

View Article


In excel RemoveDuplicates() rows

Hi,I want to delete some duplicate rows in excel. I recorded a macro in excel that does the work, Now I would like to convert that macro into Powershell.Here is the...

View Article


Script Just doesn't want to run correctly.

trying to run this scriptIt applies registry values based on ($apps)Error = Missing Expression after unary operator '_'  On several linesPlease assist$app = get-childitem...

View Article

PowerShell Script to list a server's users, groups, permissions, etc.

I'm looking for a PowerShell script that will query and output all the local and AD users, service accounts, and groups on a given Windows servers. I need the script to recursively list the members of...

View Article

Retry command until it is successful

I am writing a PowerShell script that stops an IIS Application Pool, does several other operations and then starts the AppPool again.The problem is that the AppPool can take a long time to stop and if...

View Article


Active Directory user properties blank in CSV export

Hi,I'm working on a script to export some properties of user accounts and export them to CSV, but, strangely, some of these properties are blank in the output, while they are set when I display them...

View Article

Image may be NSFW.
Clik here to view.

Powershell- Exchange Online session not lasting more then 2 minutes with...

Hi,    My exchangeonline session is not longing more then 2 minutes.. I created a session as followsPS C:\>$sessionOpts=New-PSSessionOption -ProxyAccessType AutoDetect -IdleTimeout 3600000...

View Article

Help with string functions

I'm trying to figure out how to change how the table insert works.  Right now, it's just populating 2 columns.  I would like to break up the first column into several columns using substring or...

View Article


Add Users to AD and assign them office 365

Hello, Can anyone tell me please how to add 100 users to active directory and Automatically Assign Licenses to Office 365 Users ? Thank you.

View Article


Get-Counter path is not correct

I'm to get this to run but keep getting this error: Get-Counter : The specified counter path could not be interpreted.Any insight into this issue would be appreciated.param($destserver, $destDB)...

View Article

Backup-GPO cmdlet errors in Task Scheduler

I have scheduled a simple script on my Windows Server 2012 domain controller to backup my group policies (separate from the System State backup). I ran the script manually, and it works as expected. I...

View Article

Performance of powershell on 64bit on 2008 R2 v. powershell on 32bit on 2003 SP2

Converted a script written in vbscript to powershell v2.0.  When running the script in 32bit mode on Windows Server 2003 SP2 script runs in about 10 minutes and processes 6500 files.  Running the...

View Article

mapping a drive with NET USE in PowerShell using WEBDAV not working right

I am using NET USE to map a drive to a SharePoint library (using WEBDAV). When I do this in a DOS command prompt, everything works perfectly. I map the drive, the drive letter is instantly accessible,...

View Article


search for group with earliest creation date

Hello all. I have a fun little idea where I'd like to search through the domain and return the group with the earliest creation date. I'm guessing a DirectorySearcher would be in order here, except I...

View Article

Exchange 2010 - Get-Mailboxpermission and security groups

Hi all,Apologies in advance if this question has been asked before however i'm failing to find any resources online about it.I am doing a migration from Exchange 2010 > Office365 and need to run a...

View Article


Add-PrinterDriver -InfPath

Hello,I am working on managing new windows 8.1 machines with some powershell scripts. I have figured out how to add a printer, assuming that the driver already exists on the machine. However, I cannot...

View Article

Error message for Users

Hello all,My plan is to perform four hardware checks prior to the installation of some softare - the checks are:OS is at least Windows 7HDD Freespace is not less than 6.0 GBCPU is greater 4.00GhzRAM is...

View Article


Image may be NSFW.
Clik here to view.

Powershell set-executionpolicy configuration?

Why is it that when i run s script, it still ask question(highlighted part)?even though I already set the set-executionpolicy to UNRESTRICTED.How to disable it? How can i set my powershell to whenever...

View Article

Edit DNS Zone files with PowerShell

I recently spent a couple of days trying to transfer DNS server zone files from an older public DNS server (Windows 2008) to a new replacement (Windows 2012 R2) at a different IP address. This involved...

View Article

winrm - enable-psremoting error

Hello,Why am i receiving this error and how do I fix it?PS C:\WINDOWS\system32> enable-psremoting -forceWinRM is already set up to receive requests on this computer. Set-WSManQuickConfig :...

View Article
Browsing all 21975 articles
Browse latest View live


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