Quantcast
Browsing all 21975 articles
Browse latest View live

Code injected into my powershell script.

I have a short powershell script which I copy/paste from Notepad into the Windows Powershell(4) tool Version 2.0. When the script is pasted, mysterious junk appears appended to one of the lines:Coded...

View Article


Remove shared calendar permissions

I have successfully followed another post which added permissions to view calendars of other users in an Office 365 environment.  I now need to clear out these permissions from 60-70 email addresses....

View Article


RemoteApp Webfeed Shortcut

A little background about what I'm trying to do and why.  We are slowly migrating from using a local copy of office on our end users Win7 machines to publishing office through RDS 2012. With 2012 you...

View Article

New to powershell scripting

I'm trying to write a powershell script to search for an "error message" in a directory that contains a list of txt files.  Since I want the script to run daily, it should only look at the files that...

View Article

"Add-PSSnapin : No snap-ins have been registered for Windows Powershell...

Hello Community    I have installed window 2008 Enterprise Server on a Hp8100 I7 computer (I realize it is not an actual server).    Now I want to use Powershell 2.0     I have added Powershell thru...

View Article


Windows 8.1 - How to enable "Require additional authentication at startup"...

I need help to do this using powershell scripts on Windows 8.1?OS : Windows 8.1 Enterprise TPM Chip : NoneEnabling bitlocker on OS drive with a password at boot time is a 2 step process.1) Edit the...

View Article

Run multiple robocopy jobs in parralel and view streaming results from...

hi all I have to launch parallel jobs 120 copies of a central server with powershell remote sites. headquarters data is loaded from a csv file with the following statement Import-Csv $file_csv |...

View Article

Check duplicate SamAccountNames across multiple domains?

I have not managed to get my script working and i'm not sure why.  I have not been given any errors when i run this script using PowerGUI.  Please help as i am trying to get an output that identifies...

View Article


list all items of ALL subfolders within subfolders

Hi,I'm trying to find a way of looping through all items and sub-items in  a folder and list them.for example:Get-ChildItem -path c:\testnow lets say c:\test has 2 folders in it.test_2test_3and lets...

View Article


Image may be NSFW.
Clik here to view.

Tried to force delete a folder

I tried to delete a folder earlier from Windows GUI but it wouldn't let me as it said that the folder was still in use by another program (or something along those lines) I thought  that I'd try to...

View Article

Powershell/Powershell Studio 2012 - Help with Global Variables!

Hello,I tried searching through the forums and Google, but could not find what I wanted, but if someone knows of a thread/article, please post!Problem:  In Powershell Studio 2012, I would like to set a...

View Article

Comparing two arrays (ip values ranges/subnets etc)

I'm trying to use two arrays to compare ipsubnets and ip-ranges but can't seem to work out why when I try comparing say "192.168.0.10 - 192.168.10 against "10.152.0.1-10.152.0.10 the script reports a...

View Article

unable to connect to sql databse using powersehllv1.0 scheduler task

Hi,I have a developed a powershell script which connects to database and fetch some data and  do some operations in sharepoint.But the script is working fine when i run in powershell managemnt shell...

View Article


Retrieve list of office365 users in Batches

Hi,   I want to retrieve all the users list in batches through powershell. Suppose say that i have some around 1000 users on office365 but i want to get a list of users in batch of 100 for 10 batches....

View Article

Confusion with strings and invoke-expression

Hi,I am trying to write a script that will change 3 DNS records on a DC in our domain and then i want to push the change to all other DCs.Changing the DNS record:#first delete the DNS record...

View Article


Problems working with Japanese characters found in filenames to determine...

Hi, I have written a script that uses test-path to query whether or not *.LNK shortcut files have valid Target Paths to determine whether or not the LNK files should be kept if invalid or contain...

View Article

Installing executables with Powershell DSC

I am trying to install Visual Studio 2013 using PowerShell DSC but I'm running into a few issues and hoping that you guys could clear it up for me. Is DSC capable for rebooting the node and then...

View Article


a litttle help formatting output from powershell?

Hi all, I am working on a software inventory project and am (as will become obvious) a novice at powershell.  I have the script running so I get what I need, but the formatting is borderline...

View Article

Basic excel script: HELP

I want a script to write to excel. But when I start with the basic it won't work.I'm running this on Win7.I have looked for hours, and tried diffrend commands, but result is always the same. Can't...

View Article

PowerShell Studio

Is there any other product like Powershell studio in the market?Please suggestAbraham ----------------------------- Knowledge is Power

View Article
Browsing all 21975 articles
Browse latest View live


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