SharePoint 2013 multitenancy script
Helloi´ve been playing with the following script:http://www.harbar.net/articles/sp2013mt.aspx for the multitenant installation on SharePoint 2013.... Everything works right, by the way the MySites it's...
View ArticleUsing Forms with .net object to input multilple fields in powershell script
Hello, Please forgive if this question seems basic but I am new to powershell and .net. I want to write a little script that takes as input from the user several pieces of info on how they want their...
View Articlexcopy script to backup directory/file to shared drive
i'd like to create a script that users can launch by double clicking to copy a directory or file to a network drive. i can do this through command prompt: xcopy c:\users\%username%\pictures...
View ArticleRemoving blank spaces and blank lines from output
Hi All,I need a bit of a help with the script I have written . This script works on a SharePoint site, it pulls the list of the users from the group having string "owner" in their name and send them...
View ArticleExchange Object models
Hello!I am a .net developer new to powershell, and I am looking for an Exchange Object model in order to learn how to script against it.other than the pain of Guessing what object I need to use, a...
View ArticleDetermine the operating system volume automatically
Hi Guys,I have 2 different kinds of computers:PC1= DVD/CD Drive installedPC2= Without DVD /CD PlayerNow when I boot into WinPE, and list volume I received the output like this:PC1= Volume 0...
View ArticleUsing alternate credentials with a .NET Type
Hello AllCan someone please help me with the following question.Basically I want to retrieve and add certificates from a remotes computers X509 crytographic store. Now I can do this no problem for...
View ArticleCopy multiple file at once
Hi, is it possible to copy multiple file using the same progress window?I know you can do that using a loop, but I'd like to have a single copy without a loop. The purpose is to have in the progress...
View Articleclose and open again internet explore
Dear Exprt,I trying to develop script to open and close after sometime IE and again open backSet Web = CreateObject("InternetExplorer.Application") Sub Item_Open() Web.Visible = True...
View Articleget all machines in a specific site
hiis what powershell cmdlet can i get all machines in a specific site in AD?
View ArticleCommands in a .bat file
I have a small .bat file. It was created to install an application as an administrator for Windows 7. Once the setup.exe file is executed (statement below), it will ask the user to click the "next"...
View Articlescript create users
HiI have a text file with100 users:user01 P@ssword01 user02 P@ssword02 ....... user99 P@ssword99AsI canmake a script thathighusersall at onceand that theyselect theDial-intab -Network...
View ArticleCan't figure out why I'm getting this error on New-ADUser
The command is:New-ADUser –SamAccountName “TestProvider” -UserPrincipalName "TestProv@CompanyName.com” -GivenName “Test” -Surname “Provider” -DisplayName “Test Provider” -Name "Test Provider" -Enabled...
View ArticleFetching Mail from a POP3 Server
Using "http://schemas.microsoft.com/cdo/configuration/" it is possible to send mail with a VBScript or PowerShell script. Is there an equivalent method to fetch mail from a POP3 server? If so, where...
View ArticleHow to correlate SMART status with drive letter?
I'm trying to manage direct-attached disks with these Cmdlets:Get-WmiObject -Namespace root\wmi –class MSStorageDriver_FailurePredictStatus | Select InstanceName, PredictFailure Get-WmiObject...
View ArticleHow to transform code in a file.bat to file.exe
Hello, I Got Very nice / resultant to work with provided user friendly batch code byBill_Stewart (xcopy c:\users\%username%\pictures \\192.5.149.6\home\%username% /p /s /w) code with in bath file. But...
View Articlehow to rename computer account using Powershell 2.0
Hi,For my Win7 deployment environment i need a script that can rename my workstation and it's Active Directory computer account.Is this possible using Powershell 2.0 included in Win7?
View ArticleUsing -like operator to select recipients for Dynamic Distribution Group
Dear Scriptor,I got few thousand of data and would like to select recipient according to the CustomAttribute1.Below is the sample data in my database.Name: User1, CustomAttribute1: aa, bb, ccName:...
View ArticleSilentlyContinue, in profile, seems to disable parameter attribute test
This was frustrating, but seems like a catch-22.If $ErrorActionPreference is set to "SilentlyContinue" in a profile, before a script is run, parameter validation, like ValidateRange appears not to work...
View Articleneed to execute a sharepoint powershell in task manager
here his my scripti named my script pascal.bat on my desktopi copied some internet samples to execute my scriptmy script is in c:\script\export.ps1for testing purposes first i open and sharepoint...
View Article