App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
Please Vote if you find this to be helpful!
App-V PowerShell: Script to Query XenApp Servers for App-V Publishing Errors and Output an Excel Document with the Results
Just posted this to the wiki:
http://social.technet.microsoft.com/wiki/contents/articles/25323.app-v-powershell-script-to-query-xenapp-servers-for-app-v-publishing-errors-and-output-an-excel-document-with-the-results.aspx
Hi petro_jemes,
Just a little claritification, you need to add the value to the variable "[string]$ou", and also change the language in the variable "$emailbody" in the function "Get-ADUserPasswordExpirationDate".
I hope this helps.
Similar Messages
-
I changed my Apple ID and password, but when I attempt to update Apps I am prompted to enter my Password for my OLD Apple ID, and I am unable to override the Old Apple ID. How to proceed ?
Delete everything bought with the old Apple ID and buy it again.
Content and Apple IDs -
Content is forever tied to the Apple ID that bought it. Apple does not transfer content from one Apple ID to another. Apple does not merge Apple IDs. You will never be able to access your content bought with one Apple ID with a new Apple ID. -
my mail app on I phone 4s crashes every time when i try to open, and i can see it thru the setting>general. also phone is overheating and spending battery fast. does any one has some answer on this or same issue? what to do did any has same issue? if i do an complete phone restore what will hapend ?
You can call Verizon to replace it or go to an applestore to replace it since it won't even power on with multiple chargers.
-
C# Script to open and read an Excel spreadsheet with multiple worksheets
Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out and then
store as a .csv file that will then be read to pump data into our SQL Server Database.
Thanks for your review and am hopeful for a reply.
PSULionRPI think this code originally came from Joel, who comes here quite a bit. I'm not a C# expert, like Joe is, but I think this is pretty close to what you want.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Excel = Microsoft.Office.Interop.Excel;
using Microsoft.Office.Interop.Excel;
using System.IO;
namespace WindowsFormsApplication2
public partial class Form1 : Form
public Form1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
Main();
public void Main()
string filePath = "C:\\Users\\Ryan\\Desktop\\MainExcel.xlsx";
Microsoft.Office.Interop.Excel.Application xlobj = new Microsoft.Office.Interop.Excel.Application();
Workbook w = default(Workbook);
Workbook w1 = default(Workbook);
Worksheet s = default(Worksheet);
Worksheet s1 = default(Worksheet);
Worksheet xlsht = default(Worksheet);
xlobj.Visible = true;
int intItem = 1;
DirectoryInfo dirSrc = new DirectoryInfo(@"C:\Users\Ryan\Desktop\Test_Folder\");
foreach (FileInfo ChildFile in dirSrc.GetFiles())
try
// Renaming the excel sheet
w = xlobj.Workbooks._Open(ChildFile.FullName,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing);
w1 = xlobj.Workbooks._Open(filePath,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing,
Type.Missing, Type.Missing);
//this doesn't make any sense
//w1 = xlobj.Workbooks.Open(filePath);
//if (intItem > 3)
Excel.Worksheet lastSht =
(Excel.Worksheet)w1.Worksheets[w1.Worksheets.Count];
xlsht = (Excel.Worksheet)w1.Worksheets.Add(Type.Missing,
lastSht,
Type.Missing, Type.Missing);
s = (Excel.Worksheet)w.Worksheets[1];
s1 = (Excel.Worksheet)w1.Worksheets[intItem];
s1.Name = ChildFile.Name;
// it will copy and paste sheet from one to another with formula
s.UsedRange.Copy(Type.Missing);
Excel.Range r = s1.get_Range("A1", Type.Missing);
r.PasteSpecial(Excel.XlPasteType.xlPasteValues,
Excel.XlPasteSpecialOperation.xlPasteSpecialOperationNone,
Type.Missing, Type.Missing);
s1.UsedRange.Formula = s.UsedRange.Formula;
// Renaming the excel sheet
//w.Save();
w.Close(false, Type.Missing, Type.Missing);
w1.Close(false, Type.Missing, Type.Missing);
catch (Exception ex)
//w.Save();
w1.Save();
w.Close(false, Type.Missing, Type.Missing);
w1.Close(false, Type.Missing, Type.Missing);
intItem = intItem + 1;
//Dts.TaskResult = ScriptResults.Success
Do you need help getting everything into a CSV, or can you take it from here???
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
I try and buy in app purchases but it won't let me and gives me the above error message: "iTunes password and account is not synced with the email address"! How can I fix this?
Are you running modified software on your phone? This error seems to be common if the firmware has been modified and you're trying to restore the phone again.
-
Question
when I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, PeterSee this. <br />
https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit -
Question
When I log into Firefox, the screen scrolls down and I have to use the side-bar to go back up to type my query into the 'search' window. How can I stop that and get Firefox to start with the 'search' window accessible? With thanks, PeterSee this. <br />
https://support.mozilla.com/en-US/kb/Firefox+hangs#Hang_at_exit -
my ipod says it is updated to most current 6.1.6, i use the rdio app and it worked but now with the update it needs 7.0 but i do not get option to update to this what do i do?
See the chart below to determine whether you can upgrade your device and what you can upgrade to. If you do not have a Software Update option present on your iDevice, then you are trying to upgrade to iOS 5 or higher. You will have to connect your device to your computer and open iTunes in order to upgrade.
IPhone, iPod Touch, and iPad iOS Compatibility Chart
Device iOS Verson
iPhone 1 iOS 3.1.3
iPhone 3G iOS 4.2.1
iPhone 3GS iOS 6.1.x
iPhone 4 iOS 7.1.x
iPhone 4S iOS 8.x.x
iPhone 5 iOS 8.x.x
iPhone 5c iOS 8.x.x
iPhone 5s iOS 8.x.x
iPod Touch 1 iOS 3.1.3
iPod Touch 2 iOS 4.2.1
iPod Touch 3 iOS 5.1.1
iPod Touch 4 iOS 6.1.x
iPod Touch 5 iOS 8.x.x
iPad 1 iOS 5.1.1
iPad 2 iOS 8.x.x
iPad 3 iOS 8.x.x
iPad 4 iOS 8.x.x
iPad Mini & Mini Retina iOS 8.x.x
iPad Air iOS 8.x.x
=====================================
Select the method most appropriate for your situation.
Upgrading iOS
1. How to update your iPhone, iPad, or iPod Touch
2. iPhone Support
3. iPod Touch Support
4. iPad Support
a. Updating Your iOS from iOS 5
Tap Settings > General > Software Update
If an update is available there will be an active Update button. If you are current,
then you will see a gray screen with a message saying your are up to date.
b. If you are still using iOS 4 — Updating your device to iOS 5 or later.
c. Resolving update problems
1. iOS - Unable to update or restore
2. iOS- Resolving update and restore alert messages -
When I connect my iPad or iPod to my compuer running iTunes I get the following message for most of the apps. "A newer version of app "5-0 Radio" exists in your iTunes library. Are you sure you want to replace it with the one you are moving?"
How can I fix this?
Many thanks
BMWrattThere is nothing to fix, let it update.
-
I just bought an iphone4 and is connected to my wifi at home but I can't bring anything up in the app store, itunes, etc. My husband has a droid 2 and he has no problems with the wifi? Any ideas?
If you look at the top left of your screen you will either see a 3G (or 4G if you have AT&T) or you will see the wi-fi symbol. If you don't see the wi-fi symbol you are connecting to Gmail through your cellular data plan, not via wi-fi.
To answer your question, it doesn't happen often but when it does the steps I mentioned above will normally resolve it. Hopefully you won't have any further problem with this. -
Query 0: Runtime error There is already a line with the same key. with para
Dear all,
I have a query with several variables. One of the variables is Version. When I use certain values e.g. 1,2 or 3, I can generate the query without any problem. However, when I use the other values e,g, 4, 5, or 6, the query gives me with the following error messages :
1. Query 0: Runtime error There is already a line with the same key. with parallel processing via RFC
2. Error while reading data; navigation is possible
3. >> Row: 174 Inc: LRSDRPU02 Prog: SAPLRSDRP
Error 1
Query 0: Runtime error There is already a line with the same key. with parallel processing via RFC
Message no. DBMAN428
Error 2
Error while reading data; navigation is possible
Message no. BRAIN289
Diagnosis
An error occurred while reading the data. The query result is therefore empty or inconsistent and is not buffered in the OLAP cache.
Procedure
You can continue to navigate or return to the last navigation step.
Error 3
>> Row: 174 Inc: LRSDRPU02 Prog: SAPLRSDRP
Message no. RS_EXCEPTION301
Diagnosis
En error has been triggered. This message specifies where in the coding the error occurred. This helps you to localize the error quickly.
May I know what causes this error and how to troubleshoot it?
Thank you.Venkat,
You are either a genius or working for SAP.
In any case, your solution solved my problem.
Thanks heaps! -
when I use voice over to read an epub in my Ibooks app, which is in Dutch, sometimes he start reading a book with an English Female voice and some books he reads with the Dutch male voice (which is good). All my epubs are Dutch books so the English voice sound terrible trying to pronounce Dutch. Can i fix this problem? Thanks, Tom
It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
http://www.adwaremedic.com/kb/baddns.php
http://www.adwaremedic.com/kb/hackedrouter.php
If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
(Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.) -
I am new to Neu.Annotate and need step by step instructions on transferring, viewing, and editing (if necessary) my Pages and/or Word documents with the Neu.Annotate App - thanks. These documents are presently on my MacBook (onto which I just installed Lion) but I want to put them on my IPad and edit them there.
Hi,
Hussein Sawwan-Oracle, Thanks for your input. Your effort too helped a lot in having this post here, thanks a lot
Anar Godjaev, Thanks brother, for your kind words!!!
Best Regards,
Asif -
I recently bought the iPad 2 and never really did anything with the cloud on my iPhone 4s and was wondering if I can sync the apps and music on my phone to the iPad wirelessly ?
Metldr wrote:
I recently bought the iPad 2 and never really did anything with the cloud on my iPhone 4s and was wondering if I can sync the apps and music on my phone to the iPad wirelessly ?
Yes, but that has nothing to do with the cloud.
It is simply wifi syncing between your computer and iPad over your local wifi network -
I need script which will filter a set of groups by name, and then give a CSV with direct members
say it like,
$groupitems = Get-ADGroup -SearchBase "DC=fincaint,DC=local" -Filter {Name -like "*AppUsers"}
ForEach ($groupitem in $groupitems)
IF ($groupitem.objectClass -eq 'user')
Get-ADUser $groupitem | FT Name, Email, City, Title | Export-Csv c:\member.csv
IF ($groupitem.objectClass -eq 'group')
Get-ADgroup $groupitem | FT GroupName, GroupDN | Export-Csv c:\member.csvHi Dhiravia,
It's been a while. How is it going? If the suggestion provided by ThmsRynr doesn't help, for scripting questions, in order to get better help, it's recommended that we ask for advice in the following scripting forum.
The Official Scripting Guys Forum
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
Best regards,
Frank Shen
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]
Maybe you are looking for
-
I need to know how to stop losing / adding music I like/ dont like to my and my brothers ipod. I gave him my older ipod(2nd Gen) with music on it already. I bought a ipod (3rd Gen) also. Both devices are registered to me; but I gave my brother the o
-
How do I do that?
-
Must be very simple. Although, I do not where else to check. A java application allows opening the OS shell and executing programs. For Windows (without further details) a "cmd /c" prefix is recomended in the config file. None for Linux. The applicat
-
is a flash plug in necessary for effectiveness on the newest edition
-
Can anyone edit title fonts and sizes in iMovie 10?
Trying to edit title fonts and sizes in iMovie 10 but font drop down does not respond. Tried a couple of different style titles with same results. Anyone else have this problem?