Can someone help with script to change multiple users SIP Domain in their...
Hello. we deployed OCS a couple of years ago. when we did we used our company's domain namespace as the SIP domain (i.e user@companycorp.com) and not the users email address (i.e. user@companycc.com)....
View ArticleMicrosoft Changing Mailbox Restore Method for Exchange Online
Microsoft added another recovery method that IT pros can try when they need to restore accidentally deleted Exchange Online mailboxes.Read More
View Articlewant to display computername, serviceName and status
I want to get lanmanserver status for all servers with "*equ*" in the name, the get-adcomputer returns proper server values (before the pipe) once i put in foreach i get the following error with the...
View ArticleSearch and Move files with powershell
Thank you all for helping me in this issue.Experts, I have large database of files, let's say more than 50,000.I need to search a 7,000 thousands files which is listed in csv.I need to search and move...
View ArticleHow To Use PowerShell's $PsBoundParameters Variable
Automatic variables save you time and provide a more consistent approach at figuring out what's going on under the hood of your PowerShell session. Automatic variables are always available and always...
View Articlehow to get CMDLET in script to take String array parameters?
gurus....any idea why this the code below didn't work as intended?I see the parameters highlighted can accept string array. but when used in script below, it doesn't work, would someone please provide...
View Articleproblem with a simple batch file
Helloin my test lab, I am creating a cmd batch file which first sets the system execution policy to bypass & then continues into command prompt & does some stuff there. so I need the following...
View ArticleInstall Programs based on User Input
I'm just starting to get my feet wet in PowerShell. I'm working on a powershell script that simplifies an install for another department. At one point in the script I need to install one or more...
View ArticleGet-ADPrincipalGroupMembership error The operation being requested was not...
I have a script the leverages the cmd-let Get-ADPrincipalGroupMembership. It was working fine for several months. Recently, the cmd-let started generating the error: Get-ADPrincipalGroupMembership :...
View ArticleHow To Ping the Serves From List and Parse the Output to Store Selected...
Hi there!Would you be so kind to compose a PowerShell script which does the following? I am trying to do it by myself, but having really hard time with it :(1.There is a file which contains a list of...
View Articlecheck for available hard drive space on a Virtual machine
I'm trying to create a powershell script that will show me how much available HD space is left on each VMSo far i have a text file call machines.txt that have a list off all the VM machines, The below...
View ArticleConsolidating multiple scripts into one
Hello Everyone, I need help consolidating these 3 scripts into a single script with a single global function section, and a separate function for each file download, the order of which is not a...
View Articleremote Dos command
Hi , i want to remote configure the ILo interface , it is done via a dos command, so i want to remote run cmd.exe in administrative mode "command.exe -m" and get back the value i tried invoke-command...
View ArticleTrying to restore a mail file from a recovery database
I am trying to recover an exchange mail file from a recovery database, I tried to browse the database but got no results[PS] C:\>Get-MailboxDatabase rdbName Server...
View ArticleI always get error when creating users with a script.
Hello,this is the script that I use :Import-Module ActiveDirectory $Users = Import-Csv -Delimiter ";" -Path "C:\Users\pdj\Documents\ADImportList.csv" foreach ($User in $Users) { $OU =...
View Articleselect-item to select a cartain range of items
hi friendsI googled the subject of these threat but no result after minutes of searchthe question is quit simple:for example we need to get the 5th service to 10th service. so what would be the...
View Articletrouble with ACL
I'm trying to write a script that will connect to a remote computer and check for permissions on a specific folder looking for particular user groups.After a lot of googling I came up with the...
View ArticlePowerShell Nuget Feed Issue
We are having an issue with the Team City build pulling the Nuget packages from the cache reather than getting the latest from the Nuget Feed. To resolve the issue we want to make a powershell script...
View ArticleWMI issues with PowerShell Modules still present after removal of Windows...
Hey all,I've just come across this issue with Windows 8.1; I installed the Windows Management Framework November 2014 preview so that I could take advantage of the OneGet/PowerShellGet benefits....
View ArticleScripts for getting user information
Hi,I am trying to write a script wherein based on the input of username, it should list the user's attributes list displayname, department, manager, employeeid, etc.
View Article