
Problem with Invoke-Command and functions
Functions have scope. When you invoke a function, a new scope is created and the function is ran in that scope (unless it was dot-sourced into the current scope). When the function ends, …
2013 Excel Slow To Open Files When Double Clicked.
It's a wise thing to export the original registry settings for the Excel.Sheet.12, Excel.Sheet.8 and Excel.Sheet.5. Then the original Excel path can be copied from the exported .reg file into the …
Embed VBA (Excel macro) in Powershell script
The issue I have is having to include the Excel macro-enabled spreadsheet in the script location so I can access it from the script. Is there a way to somehow embed the VBA script in the …
Remove Email Addresses With a Specific Domain Name Function
I get Excel documents every day with email addresses in it. There are some emails at specific domain names that need to have the row deleted. Can I make a function or something like …
Extract Data from Word into Excel 2013
Learning question: If I wanted to add a third column for description purposes (two columns in the original file), but still have the excel sheet only pull data from the last column, where would I …
Disable Bing Maps and people graph in Excel
If you enable the option "Don't allow web add-ins from the Office Store to start" from Trust Center in Excel options, you will disable all web add-ins from the Office store.: In addition, according …
prevent Excel random generator from generating repeating …
I am using excel for some monte carlo analysis. I am finding that Excel is generating repeating sequences of numbers.
Add Attributes to AD using Powershell
need to move notes field to employee id field for some users.having trouble figuring out the -replace switch for set-adobject.
Passing objects into functions - social.technet.microsoft.com
I'm trying to do what I thuink should be a simple thing but it's just not working. I wrote a sample function and I'm passing an object and then referencing the properties of it. But the output only …
How to convert a vbs file to exe file? - social.technet.microsoft.com
Outp.WriteLine "Line number and column not available for runtime errors" wscript.quit End If outp.writeline temp Loop End Sub Function NumberScript (Text) Text = Replace (Text, vbcr, …