-
This script will give you a nice object with ComputerName, ProductName (tested on Office and Visio), and ProductKey. Works against the local and a remote computer. You can pass an array of computer names. function Get-MSOfficeProductKey { param ( [ string []] $computerName = "." ) $product...
-
MSOffice has some addons wich can be installed extra. (For example : the calendar ActiveX Object). Is it possible to REMOTE install a MSOffice option. Is this also possible via WMI-Object ? This question can be deleted. I solve this by using loading an ADM-file.
Posted to
General
(Forum)
by
Bernard
on
07-20-2009
Filed under: remote, extra, MSOffice, installed components
-
I am a powersheel rookie and I need help with a powershell command to delete the C:\Windows\$NTUninstall* folders from remote computers that are listed on a text file. I have all my script stuff under C:\Scripts and I have a text file called computers.txt that has all the names of the computers on my...
Posted to
General
(Forum)
by
shramj
on
06-30-2010
Filed under: remote, Remove Folders, Delete Folder, remove
-
I have to call a PowerShell script from outside PowerShell (using a batch file). How do I read the exit code returned by the script after accessing a remote system? C:\gdp>powershell Get-Content ./test15.ps1 param($name) Get-Process -Name $name exit 82 ----- Example 1 (local): C:\gdp>powershell...
Posted to
General
(Forum)
by
rockstar
on
09-16-2010
Filed under: Scripting, Remote host, remote, Command Line Script Execution, powershell 2.0
-
Hi All, I am trying to run cmdlets from VB.NET. I managed to create a session to a remote session and to run either basic powershell commands or Exchange 2010 cmdlets. However I have a problem when trying to run more complex scripts, like "Get-Mailbox | Where-Object {$_.database -match "database"...
-
Hi All. The list of operations which to me need to be fulfilled in PowerShell 2.0: *************************************** 1. To receive the list of all domain groups. 2. To receive all the user logins who are a part of certain domain group. 3. To receive all computer names whish is accessible on a network...