Copy-Item / Move-Item / Remove-Item Limitations
I have 1500 files having 170gb in size and want to copy/move within network. So, which is the best way: 1. robocopy, 2. Copy-Item/ Move-Item of Powershell cmdlets.
View ArticleInstall and Uninstall solution using Powershell
Proper way to install and uninstall solution in sharepoint(Farm /webapplication/ site scope).
View ArticleSync sql table string data to Sharepoint userprofile URL property
How to sync sql table string data(containing URL of Photo) to Sharepoint Userprofile pictureURL type to show picture in MyProfile. I need the powershell script for the same.
View Articleopen an application with administrator right
Currently, we set UAC enabled on PC, and need to launch an application with administrator rights. Are there ways to open an application with the 'Run as administrator' using powershell script. any...
View ArticleDisplay hash in one line
Hi, This is probably something easy, but I cannot get it figured out.... I have the following code: $Exclude =@('*.log', '*.txt')$Exclude | FW -autosize The idea is to get is displayed like*.log...
View ArticleBash-like Tab Completion in PowerShell
When PowerShell first came on the scene, Unix folks were among the first to notice. They’d enjoyed a powerful shell and a vigorous heritage of automation for years – and “when I’m forced to use...
View Article35403: Acronis Backup & Recovery 11.5: Powershell Log Runs Full after...
Creating backups from MS Exchange using the Acronis Exchange Agent causes log entries in PowerShell. This can be solved by deleting the PowerShell subkey under Event Log in Windows Registry. Read More
View ArticleWhy does a PowerShell command run fine locally, but not remotely?
It's great to see folks using PowerShell's Remoting features to run commands on remote machines. It's definitely the way of the future, but it can be a bit tricky. Read More
View ArticleUpdate Security Group with CSV file / Multiple Domains
Hello, I am currently trying to update a security group with the following script. import-module ActiveDirectory $members = Import-CSV C:\temp\test.csv $members | ForEach-Object {add-Adgroupmember...
View Articleget-service from multiple computers from the AD
Hi, Im back with another formating issue =/ the code below selects all computers from a single OU, picks up their name and then tests the connection to them and searches for the VM ware tools service...
View ArticleQuery Users with Specific Description, export to CSV, and Include Manager?
I have a script to query AD users with a specific word in their description and export to a CSV file. I am trying to add a manager field to the exported file; however, the manager field contains the...
View ArticleGet-member not listing all properties
Hello All, I'm a little rusty on powershell and theres something bugging me so its no doubt a simple answer. If I run the following command, it doesn't show me all the properties i could select:...
View ArticleAutomatic deletion of mailbox
hi experts, I want to know can we delete the mailbox using Excel or CSV, suppose if i mention the Initials,email address,displayName,UPN in Excel , so can we make the script that it checks the UPN and...
View ArticlePowerShell script to install SQL Server
Sometime in the last 16 months or so I was listening to a lunch and learn on PowerShell. The gentleman spoke about using his PowerShell script (with modifications) to do a full stand alone SQL...
View ArticleClose modal message box with same process name as executable
I have a modal message box that I want to close programmatically but it has the same process name as the executable. In windows task manager under the applications tab the message box has a different...
View ArticleBasic Else not working
This is a very basic script but I cannot get the Else to launch notepad. I have tried: & “C:\windows\notepad.exe"Invoke-Item “C:\Windows\notepad.exe"But it refuses to work when the condition is...
View ArticleParsing from one .csv into another
I'm trying to parse a live log file and pull only the current months info out of it, and create a new file from that parsed data. I can get the output I want to the screen with this. $strGetDate =...
View ArticleUninstall Program through PS
hi there, please to help with my case.what i want to do is to search for certain program uninstall string in registry - hklm:\ software\wow6432node\microsoft\windows\currentversion\uninstall On each...
View ArticleSet-Acl Access denied
Hy all I created a powershellscript, which delete folder permissions and set new ones on the userprofile folder, which is stored on a fileserver. The permissions of the user are not inherited, they are...
View Article