how to Install Integration service from hyper-v host to a virtual machine ?
i have around 100 Virtual Machine distributed on a cluster hyper-v cluster so i need to know how to install the upgraded version of integration service from the hyper-v host to all virtual machines...
View ArticleImporting a Certificate to global "Server Certificate" list in IIS using...
Hi,I am trying to add a Certificate to the global "Server Certificates" section in IIS using Power Shell, the operating system being Windows Server 2008. But I haven't been able to figure out a Power...
View ArticleHow to Get User Account Information Through Powershell Script in Active...
Dears, I wants to get LDAB user account information for example Department, company, office, email account fields information through PowerShell script, is thee some scripts showing me all above...
View ArticlePowershell cmdlet Update-TfsWorkspace: how to capture error message?
I'm writing a PS script to update my tfs workspace. However, Update-TfsWorkspace doesn't throw an exception when it fails. e.g. when the user doesn't have permission to write the workspace, or the...
View ArticleFiltering XML from Powershell
I have the below XML<!-- XML Configuration File to check standard of SQL Server Build --> <serverInstances> <InstanceConfiguration>SMALL_SERVER...
View Articleproblem with the powershell pipline parameter process
Hi, I'm confused with the pipeline processing of object-property-parameter association.Here my Cmdlet example Function test-psboundbug{ [CmdletBinding(DefaultParameterSetName='Parameter')] param(...
View ArticleGet Sitecollection and Sub Sites Data Base Size Using PowerShell
Hi All,Currently i am getting the Site collection database size using this powershell$SiteCollurl = @{Expression={$_.url};Label="Site Collection URL"} $size =...
View ArticleError by DQSUERY
Hi,I'm trying to get the First, last, display name and employeeID from all users from our AD.But when i try limit 0 I get an error: dsget failed: Directory object not found.I use this command in...
View ArticleGet-ADUser Format-Table not working as expected
Hi Everyone,I'm using the following code:Import-module ActiveDirectory $USERS = Import-Csv C:\temp\R12_Active_Users.csv $USERS|foreach {Get-ADUser -Identity $_.samaccountname -properties * | FT...
View ArticleError handling refinement
I am looking to refine my error handling a bit, and hoping for some best practice advice. What I have now, in this Network Location code, is a big Try wrapper on everything. This is working so far, but...
View ArticleBuilding a string from a Get-ADComputer output adds @{Name= to the computer name
I am creating a script to collect all the machines with certificates installed on them. After gathering what type of computer I want (based on a character in the name) I run Get-ADComputer to get my...
View ArticleLogical Disk Performance counter for cluster shared volume on Hyper-V
Hello All,I am trying to collect counters like latency, queuelength from Win32_PerfFormattedData_PerfDisk_LogicalDisk WMI class.Output of "Name" attribute for logical disks in this class as below:...
View ArticleHow do I get Email Addreses of Group members?
Hi,Using the command: $a = Get-QADGroupMember $Group | select LogonName | Out-File "c:\temp\menu.txt"I can get the logon names of the members of an AD group.And using the command: $a = Get-QADUser...
View ArticleTask scheduler with powershell Error, need help
I want to use powershell to create a task and getting an error below:Exception calling "RegisterTaskDefinition" with "6" argument(s): "The filename, directory name, or volume label syntax is incorrect....
View ArticleHow to Bulk Modify User's attributes in Office 365 ??
HiHow to Bulk Modify User's attributes in Office 365... ?? What all user Attributes are there on Office 365...???Please suggest with a sample CSV file to import user attributes on office 365.Thanks
View ArticlePowershell script for creating local users and write details to XML file
Dear Experts,I've created a little script for creating Windows Local users and their environment for FTP access. The script is working well except it should write the details to an XML file. The script...
View ArticleUse the Get-Service cmdlet to display just the status (Running, Stopped) of a...
Hello - I have the following hw assignment, was hoping for some help. Thanks!Use the Get-Service cmdlet to display just the status (Running, Stopped) of the Configuration Manager Remote Control...
View Articlechange default logon page title for Windows PowerShell Web Access
I've installed Windows PowerShell Web Access on Server 2012 and it's working perfectly. However, I would like to change the default header on the logon page so that it reads 'My Company PowerShell Web...
View Articleexport list of Group names listed in MemberOf property
Hi All,I need help writing a powershell script that will export a list of all groups listed in the MemberOf property of a specific group to csv or txt.I messed around a bit and tried the following...
View ArticlePowershell and security control
Do you know of a way to add the security control “read group membership” via Powershell?I need to add it to all of our Citrix users for a vendors software to work correctly and I do not want to give...
View Article