Export All User Profiles to CSV - SharePoint Online Script
Hi,I have tried to use this script to export all users (UserwithProfile and User UserWithNoProfile), Script is successful but, There is no data write to the files. Only generated UserWithNoProfile...
View ArticleJavascript:void(0)
Hi Guys I was updating Java for opening Labournet site which uses Java but as soon as I open the it I get this message :javascript:void(0). Has anybody faced such error before? I am running win7 x64...
View ArticleGet-ADUser not returning MemberOf for some users
I am using a basic powershell query to obtain a user's group membership:(Get-ADUser -Identity JohnB -Properties memberof | Select-Object MemberOf).memberofThis method works great for most users, but...
View ArticlePS: Create button to enter a remote session?
Hi,I have a form which, at the top, connects to a certain pc. When connected all buttons actions/become active(available). Now I would like a button which opens a powershell with a remote session to...
View Articlescript to check websiet google analytics value
Hi Guys, I want a script to check "GA" value i.e google analytics value, which needs to check every month one time to check ga value changes notification. Please guide me ASAP.Thank you.This posting is...
View Articleadd a line of text to an Outlook signature file
First off, I am completely new to VBScript. I have a vbscript that adds a signature to Outlook from data pulled from AD and it works great. I want to add a line of text to this signature file and I...
View ArticleHelp with start/stop script for multiple services
Hello could someone please assist me in creating a powershell script to be able to Stop and start multiple services in a certain order? I would just like the format then I can edit to match what is...
View ArticleRegister-ScheduledTask is slow to register tasks
I'm working on a script that schedules server restarts but I'm finding the scheduling of the task is taking a while. Currently I'm creating around 16 scheduled tasks using Register-ScheduledJob.Is...
View ArticleHTA dialogs and HTML containing XML data islands not recognised
Hi,I am developing a SOE deployment HTA script. I have so far developed:<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"><title>Company SOE...
View ArticlePowershell to replace part of a string with another value
Hi,I have a CSV having a field primary smtp address, something like John.Smith@XYZ.com I want to replace all the values of that column with John.Smith@ABC.com. So basically i want to replace "XYZ.com"...
View ArticleNeed Skip button in the popup, background colour change of the popup,...
Dear Friend,i found the below script from internet which help with app deployment, Basically shows popup to user asking to close applications which we specified and click ok to continue1. we would like...
View ArticlePowerShell email function
Hi , I try to create a sent mail function which will be use by some looping code , it was written in PowerShell code as below , which when i fire the logic in PowerShell ISE , the body message and...
View ArticleFind and extract part of string
Hi,Powershell I got the following output in a string. EXTRACT RUNNING E_RTCRS 00:00:00 00:00:00 EXTRACT RUNNING E_RTCRSB 00:00:00 00:00:01 EXTRACT RUNNING...
View ArticleDNS and ACL
Hello,I'm trying to get all ACL for all DNS entries with Windows 2008.I don't find Powershell command and DNSCMD cannot give me the information. Can someone help me ?Thank you,Olivier
View ArticleHow Do I Mount An ISO In The Same Directory As My Script?
Hello, I need some assistance. I am trying to mount an execute a file from the same location as my script but it keeps failing. I referenced some syntax I found online but it is not working. Can...
View ArticleWhat is the best method to filter out user names that I don't want using...
So what I have is a list of user names assigned to the $UserProfiles variable like in the following:$UserProfiles = @( C:\Users\testuser1 C:\Users\testuser2 C:\Users\testuser3...
View ArticlePowershell Print job script
I'm using windows server 2008 r2 and I'm trying to figure out a way to log the print jobs through a powershell script. I've tried the GUI way by using the operational log in event viewer but that...
View Articlentservice.jse can't be found
I have recently begun getting recurrent Windows Scripting Host errors saying that a particular file can't be found the address specified. The full message says "Cannot find script file...
View ArticleHow to show results from one user that has logged on last from a computer...
Here is the code I am using:$Computers = 'Computer1', 'Computer2', 'Computer3' Foreach ($Computer in $Computers) { $Users = (Get-WmiObject Win32_UserProfile -ComputerName $Computer -Filter...
View ArticleRemoving local users with powershell script
I am working on a powershell script intended to delete all local user accounts other than 'Administrator','DefaultAccount,' and 'Guest', deployed by GPO at boot time.I have something close to what I...
View Article