Monday, February 28, 2022

Powershell Script to Create Virtual Machines without SCVMM

Powershell Script to Create Virtual Machines without SCVMM

Hello,

I am on the lookout for a method of creating Hyper-V Virtual Machines using Powershell with the following criteria.

Without the Use of SCVMM.

Fixed disks - not differencing

Using the External ethernet card (the hosts own).

I would like to be able to initiate these scripts from an MDT Task sequence then start with PXE boot.

Can anyone point me in the right direction?

thanks

Andy


  • Edited by Andrew_ Thursday, March 29, 2012 12:24 PM

Reply:

------------------------------------
Reply:

ok cheers.

Does anyone know where Get-VMBuildScript outputs the 'build scripts' ?

thanks

Andrew


------------------------------------
Reply:

Is there a way of compiling the powershell commands below to run from one powershell or batch file?

1) Create VM &Prompt for Name - new-vm
2) PXE Boot order - Set-vm -bootorder net,CD,IDE,Floppy
3) 80GB Fixed Disk - Add-VMNewHardDisk -fixed -size 80gb
4) Memory -  Set-VMMemory -Memory 1473741824
5) External Network - Select-VMExternalEthernet - | New-VMExternalSwitch -VirtualSwitchName "Wired virtual Network"  **I Assume this should bind VMNic to Hosts Physical VM?**

Any help would be appreciated!

Thanks

Andy


------------------------------------

Group Policy client deployment issues

Greetings,

   This is not a question - just an observation. We are doing pilot rollouts to desktops using GPOs.

   While most machines install fine there are a number that return two sorts of errors during sccm client install.

  The first is trying to install wimgapi.msi - The error is "another process is installing". The install stops and there are no retries. I would have thought it would be written to retry under these circumstances. The reason its occurring is that other software is being installed during the machine build at the time it gets the GPO - and no we cannot tell people to build machines first and then move computer accounts to an OU targeted by GPO.

   The second is client.msi fails due to system shutting down. Again I thought it would retry when the machine starts up but it does not.

So the only solution we have is once a week we have to "redeploy" the GPO application. This is a small problem for all the machines with the client already installed (we use the /logon switch to cope with those) but it is the only way we can get the client onto machines that experience the above two errors.

Cheers

David Z


Reply:

Hi,

I would recommend that instead of using the GPO to deploy the SCCM client I would use a startup script instead, like this excellent one from Jason Sandys:http://blogs.catapultsystems.com/jsandys/archive/2010/12/30/updated-configmgr-startup-script.aspx

It will solve the problems you are seeing with the GPO based install and give you more control and more features.

Regards,
Jörgen


-- My System Center blog ccmexec.com -- Twitter @ccmexec


------------------------------------
Reply:

That looks like the solution for us. Sadly, in our environment they will not accept scripts to install anything if there is a native msi.

Cheers

David Z


------------------------------------
Reply:
What I do is combining multiple clientdeployment methods to get to those 100%. Jörgen has a good suggestion. Another might be to use client push on those computers who failed the GPO deployment.

Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund


------------------------------------
Reply:

Thanks. We actually discussed this yesterday and it appears that our best option is a manual client push.

cheers

david z


------------------------------------

Problems with linking tables....

I am pretty new to the PowerPivot worls and I have a little problem.  I have 2 excel files.  I have imported both files into PowerPivot and a relationship was established.  The 2 data files are titled Emails and ExecBu and I am trying to retreive the emails of the Execs.  The data is set up is as follows:

 

       Emails                                                                                     ExecBu

PERNR                      Email                                                                PERNR                  Name

 1001                      joeblack@work.com                                      1111                       Ed Green

 1002                      donred@work.com                                        1222                       Mike Smith

 1111                      edgreen@work.com                                      1333                       Eric Small

 1222                      mikesmith@work.com 

 1333                      ericsmall@work.com

 1334                       tinafey@work.com

 1336                       roypoindexter@work.com

 1385                       garygrey@work.com     

I had to manually create a relationship using PERNR and I did get the relaionship icon on both PERNR columns from both tables.  When I run a flat pivot table I keep getting the wrong result.  I place the Names in the row labels and when I put the email under the row label I get the entire listing of emails as opposed to only seeing the emails of the Executives.  Can someone assist me ?

  • Moved by Mike Kinsman Thursday, March 29, 2012 5:41 PM off topic (From:MSDN Subscriptions Feedback)

Reply:

Chris,

This isn't the Excel forum, this is the MSDN Subscriptions forum.  Unfortunately your post is off topic here, in the MSDN Subscriptions Feedback forum, because it is not Feedback regarding the MSDN Subscription.

For technical questions, one great source of info is http://answers.microsoft.com, which has sections for Windows, Office, IE, and a few others.  Based on your question I'd recommend looking here first.

If you're not sure where to post your question, you can try the "Where is the forum for…?" forum at: http://social.msdn.microsoft.com/forums/en-us/whatforum/

Please review the topic of the forum you're posting in before posting your question.  Moving your post to the off topic forum.

Thanks,
Mike


MSDN and TechNet Subscriptions Support
Read the Subscriptions Blog!


------------------------------------
Reply:
Thank you very much for the direction.

------------------------------------

Variable Frequency and Perfmon

Hi,

Does prfmon CPU percentage counters take in account the real frequncy of the CPU ; i.e. if CPU is throttled to half of nominal speed or turbo-boosted hugher that nominal frequency , is the precentage computed with the current frequency ?

Thanks for help.

Regards,

Jean-Pierre


Reply:

Hi Jean-Pierre,

so fare I know you don't need to be careful with this point.
If the cpu is limited for some reasons --> the xperf will provide the information based on the current available source power.

Best regards 


RPA


------------------------------------

sql server agent is needed on the following database instances to enable replication

Hello,
I`m trying to install forefront protection server management console 2010 (fpsmc) on Windows server 2008 R2. I have Central SQL server 2008 R2.
Setup get to point when i have to add account and define DB server, i write correct information and test connection  says  OK,  I click next.  And now setup fails with error :
sql server agent is needed on the following database instances to enable replication****** please install or start SQL Server Agent and try again
I Can see that  both databases are created (FPSMCData and FPSMCReport).
User that I use to install fpsmc is domain admin, it is local admin on bot machine, I add user to sysadmin role, server admin role, dbcreator ….
SQL agent run with different account, but i add it to local admin group, but error is the same. Agent service is running.
I use SQL alias on the default port 1433. I does not help if i define in fpsmc setup SQL or SQLAlias.


Reply:
 

Hi,

Thank you for the post.

Have you reviewed this page: http://technet.microsoft.com/en-us/library/gg507706.aspx? Do you receive any error message in the event viewer?

Regards,

   


Nick Gu - MSFT


------------------------------------
Reply:

I did, but

I have install fpsmc console to different SQL server, and it worked perfectly. But on particular SQL server that Agent run under different credentials as sql service, it does not install.


------------------------------------
Reply:

Hi,

did you make any progress with this, as I have exactly the same issue


------------------------------------

Downloadable samples for Power View

Hi,

I need to find the downloadable files of Power View samples, as Contoso or Tailspin Toys.

I've already seen these samples published and a related blank report, but I'm searching the downloadable files (PowerPivot file, Power View files, etc.).

Thanks

  • Changed type Lola Wang Monday, April 2, 2012 4:47 AM

Reply:

Hi,

The following link contains the samples for power view with work book. You can download from here. The second link contains images used in the sample.

http://www.microsoft.com/download/en/details.aspx?id=26718

http://www.microsoft.com/download/en/details.aspx?id=26719

========================

Please mark as answer if helpful


------------------------------------
Reply:

Hi, thanks, but I already know the Hello World Picnic sample and I've alread downloaded and installed it!

I've talked about Contoso and Tailspin Toys. Where can I download the related files? Other downloadable samples?

Many thanks.


------------------------------------

How to ask a question efficiently in TechNet forum

Thank you for posting in TechNet forum. The online problem solving can be relatively time consuming because it may demand several messages back and force to fully understand the symptom and background, especially at the very beginning. Here are a few suggestions that help you get the best answer to your question as quickly as possible.

 

When You Ask

 

1. Selecting a good title which summarizes the specific problem you have. It will be the one of the main driving forces for others to want to actually read your item. Choosing a badly-formatted title will drive people away, thinking that since the title is so badly written, so must be the information and the question within the thread.

 

2. Provide all the necessary information in your initial post. The following information would be very helpful:

- Symptom description: Detailed description of the problem. If you receive any error messages, please let us know the exact error WORD BY WORD.

- Environment: The system environment, such as your OS/application version, your network topology, and your domain environment, etc.

- Any recent relevant configuration change(s): If the issue started to occur after installing any application/updates or changing the configuration, please let us know.

- Any additional information. Tell what you have done prior to asking your question. This will help us understand that you've done so far.

 

3. Write in a clear language. Avoiding spelling mistakes or grammatical errors. Don't type IN ALL CAPS, which in most cases is read as shouting and considered rude.

 

4. Keep with the same thread. Do not refer to a post you made last year, and above all, Please come back. There are hundreds and thousands of posts where we have seen people given great and wonderfully long answers yet no reply from the original poster.

 

5. Be courteous to reply, even if it's to say. "I've given up" or thanks that worked. (This helps the whole community when you do this, and makes the people who donate time, warm and fuzzies.)

 

When answered

 

Give Positive Feedback. Once you've received a correct answer to your question, either from a Microsoft employee, an MVP, or the community in general, pleases replies that the issue or question has been answered. And if possible mark the solution as answered: This step is important, since it lets other people benefit from your posts.


Reply:
Sure !!!

------------------------------------
Reply:
So where is the link to ask a question?

pfcjt@hotmail.com


------------------------------------
Reply:

Just click on the Top Right Orange Strip about "Ask a question in the forums"


------------------------------------
Reply:
Why doesnt the bloody Title work in the forums.  Bloody hell am not able to post any questions because of this stupid Titile is not taking any statements. What the heck is goin on.. grrrrrr..

ronald


------------------------------------

Find a specific attachment

Another user has shared his mailbox (as he is soon to leave the company). I need to find email attachments in his mailbox containing the word 'transmittal'. How do I do this without opening every email that has attachments?


Richard Using Office 2007 on Windows 7.


Reply:

You havent mentioned Exchange version, but if this Exchange 2010:

http://technet.microsoft.com/en-us/library/dd335072.aspx

Outlook 2007 itself can find them:

http://technet.microsoft.com/en-us/library/cc178983(v=office.12).aspx

as well as Desktop search engines if they are in a pst or cached.


------------------------------------
Reply:

You havent mentioned Exchange version

I don't which Exchange version - assuming 2007.

Outlook 2007 can find specific attachments in my own mailbox, but not in a shared mailbox. I have Reviewer permissions for the shared mailbox. Outlook 2007 cannot search sub-folders in the shared mailbox either.

As a backup, I have asked the other user to put his .ost file on a shared drive.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

You mean his pst?

If you can get  full access to the mailbox, you can create a new Outlook Profile and open it directly or add to your existing profile and once in the folder view, you should be able to search.


------------------------------------
Reply:

You mean his pst?

I thought his messages were stored in the ost and then archived to the pst?

I'll try changing the mailbox access settings.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:
Yes, the ost. is simply the cache of the live mailbox, but it cant be accessed by more than one client when in use and only by the authenticated mailbox user unless you copy it to a .pst

------------------------------------
Reply:

If you can get  full access to the mailbox, you can create a new Outlook Profile and open it directly or add to your existing profile and once in the folder view, you should be able to search.

I now have full access - specifically, the sharing permissions have been set to Owner (previously Reviewer).

I tested the Instant Search facilities within one of the shared folders. The From, Subject, Body and To criteria work okay but the Attachment Contains and the Attachments (Yes or No) criteria don't. I identified a specific attachment in the folder (a docx) and Instant Search does not find text within that attachment, nor does it find text in the filename of the attachment.

Instant Search finds text within attachments in my own Inbox.

The available attachment criteria do not help me to find attachments containing specific text nor with a filename containing specific text. The current workaround is to sort the folder using the attachment paperclip icon which groups the emails as having attachments and not having them. I open the first email with attachments and examine the attachment filenames, then click Next and continue until all such emails have been checked.


Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

Is the shared mailbox cached? If not, I would try that.

Another option is to ensure its cached and try something like


------------------------------------
Reply:

Is the shared mailbox cached? If not, I would try that.


How do I find out whether a mailbox is cached? And how can I change it (without Admin privileges)?

Richard Using Office 2007 on Windows 7.


------------------------------------
Reply:

It would be cached within your Outlook profile. If it already is, uncache and test as well just for giggles  :P

See:

A shared folder is unexpectedly cached to the Offline Folder file in Outlook 2007


------------------------------------

Remote Desktop MMC console to Remote Desktop Connection Manager Windows 7

I am trying to find out if anyone knows a way to get my .msc file to work with the Remote Desktop Connection Manager V2.2. I already have all my servers saved in a .msc file, is there any way to get the new connection manager to read it or maybe to convert it to the new format? 
  • Changed type Niki Han Tuesday, April 3, 2012 1:44 AM

Reply:

Hi,

Regarding this kind of issue, I suggest you post in Remote Desktop Services forum. Sorry for the inconvenience.
http://social.technet.microsoft.com/Forums/en-US/winserverTS/threads


Niki Han

TechNet Community Support


------------------------------------
Reply:

Niki,

Thanks, I wasn't sure if this was a RD issue or a windows 7 issue, but will post it there, thank you for the suggestion and have a great day.


------------------------------------

Exchange 2003

 Hi

   could send emails from any email address   from any mailbox they wanted internally without authentication.

    Our Exchange servers allow relaying internally without authentication, which is not good

    This is for exchange 2003 environment


Reply:
Well if you have annonymus permission set on the connector than it will do...
What are you trying to do?

Gulab Prasad,
MCITP: Exchange Server 2010 | MCITP: Exchange Server 2007
MCITP: Lync Server 2010 | MCITP: Windows Server 2008
My Blog | Z-Hire Employee Provisioning App


------------------------------------

sending data from custom web part to OOB web part

Hi,

am having a  taxonomy-custom web part- in the form off a treeview, in which i want to send some data to a OOB BLOG's Post Webpart. is that possible in SP 2010?

or can we transfer infor,. from a custom web part to a OOB web part.

any help is appreciated.


shankar
  • Edited by DADasRF Thursday, March 29, 2012 5:36 PM

Back to parent button missing from report when published

A rather strange instance in that all my reports are missing the back to parent button when I published my reports.  i have googled and everyone says to use the IE back button, but there is a mojor flaw with this in that you loose the report parameters and they have to pick over agian.  Am I missing something here or was this a major oops on MS part.

Reply:

This is quite annoying and shuold have been inlcuded in the report renderer, a work round is to create a textbox which has textbox actio of go to url with following code, this will take the user back to the last screen with the parameters:

javascipt:history.back(1)


------------------------------------

Migrate SharePoint 2003 InfoPath form in to SharePoint 2007

Hi

I have planed to migrate sharepoint 2003 environment into 2007 server. I have planed to achieve this by database upgrate approach.

I have one infoPath form library in source server(2003). Is there any speatial apprach to do to migrate infopath forms or it will automatically

upgrade to 2007 once database upgrade done. Since i dont have 2003 environment to test this. So i am expecting some valuable guide lines

Thanks

Arvind :-)




Reply:
Hi, if you're migrating Infopath form libraries, you may need to consider relinking the forms otherwise they won't open. See this article:Relink Infopath forms

------------------------------------

Exchange 2010 Sp1 retention policy tag at database level

Hi,

Can we apply retention policy at datbase level. If yes then if I create new email on same database then this email will get this policy or I have to apply manually.

Regards,

Hakim. B


Hakim


Reply:

Hi Hakim,

You cannot set a retention policy on a database. You need to set the policy on the mailbox. It's only possible to set one policy on a mailbox. Please seehttp://technet.microsoft.com/en-us/library/ff715341.aspx for more information.

Maybe it suits your need to play around with Retention Policy Tags? See http://technet.microsoft.com/en-us/library/ff715339.aspx.

Hope my answer was helpful to you.

Good luck

Cor


Technical Consultant Exchange | MCP, MCSA, MCSE, MCTS, MCITP | Blog: http://www.reinhard-online.nl | Follow me on twitter: correinhard | Please, feel free to nominate me for MVP @ https://mvp.support.microsoft.com/gp/mvpnominate



------------------------------------
Reply:
Cor is correct, Retention Policies are applied at a mailbox basis.

Microsoft Premier Field Engineer, Exchange
MCSA 2000/2003
MCTS: Win Server 2008 AD, Configuration MCTS: Win Server 2008 Network Infrastructure, Configuration
MCITP: Enterprise Messaging Administrator 2010
Former Microsoft MVP, Exchange Server

NOTICE: My posts are provided "AS IS" without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


------------------------------------
Reply:

Hi Hakim,

Please update us on this question. Is your question answered?

Also give credits to the people who answer the questions by selecting "Mark as answer". Appreciate it.

Cor


Technical Consultant Exchange | MCP, MCSA, MCSE, MCTS, MCITP | Blog: http://www.reinhard-online.nl | Follow me on twitter: correinhard | Please, feel free to nominate me for MVP @ https://mvp.support.microsoft.com/gp/mvpnominate


------------------------------------

This item is no longer available. It may have been deleted by another user. Click 'OK' to refresh the page message intermittently

When we tried to click on document item menu,few times it is showing below message:

This item is no longer available. It may have been deleted by another user. Click 'OK' to refresh the page.

If we tried the same again,it is showing the menu with out any issue.

On this basis it is a false alert.

If anyone have more information,please share it.

Thanks,

Harini


Reply:

Hello,

Did you upgrade from Sharepoint 2007?


  • Edited by Michael_Kk Monday, March 5, 2012 10:45 PM spelling error

------------------------------------
Reply:

Does this usually happen around the same time each day?

What is your current Farm Configuration?


Brian T. Shell


------------------------------------
Reply:

Yes we did upgrade this application from sharepoint 2007 to sharepoint 2010.

Thanks,

Harini


------------------------------------
Reply:

Brian,

This is happening intermittently.But I am facing it frequently.

Farm configuration is two web front ends and one index box.

Thanks,

Harini


------------------------------------
Reply:

Hello,

It is a known bug, an hotfix already exists

http://support.microsoft.com/kb/2405789/en-us

Christopher.


Best regards, Christopher. Blog French Blog English


------------------------------------
Reply:
The hotfix (http://support.microsoft.com/kb/2405789/en-us) didn't fix it for me.  Still getting the "This item is no longer available." error.  Are there any other reliable, Microsoft supported fixes for this issue?

------------------------------------
Reply:

Hi Christopher,

This hotfix is related to Sharepoint Foundation 2010.

Will it applcable to MOSS 2010 also?

Thanks,Harini


------------------------------------
Reply:

Hello Harini Alla,

please find here all the download links for sharepoint foundation and server

http://technet.microsoft.com/en-us/sharepoint/ff800847 

Instead of SharePoint 2007,  you don't have to install the foundation package before the server package since the server now contains the foundation release .

hope this help

Christopher.


Best regards, Christopher. Mon Blog My Blog


------------------------------------

SCCM remote control

When we use SCCM remote control,  client user has to permit admin to connect  to his computer.

Is it possible that no need for client user to permit admin's remote access when using SCCM remote control?


Reply:
Sure, it can be set in Site Settings -> Client Agents -> Remote Tools Client Agent

Torsten Meringer | http://www.mssccmfaq.de


------------------------------------

The File Share Witness (FSW) on a DC is a Single Point of Failure for Exchange Server 2010!

The File Share Witness (FSW) located on a DC is a single point of failure for Exchange Server 2010 in my lab environment. When I take down the server hosting the FSW, Exchange falls apart. I can't even get into the Exchange Management Console as the DAG cluster has failed without the FSW.  This is a simple two node DAG configuration. Has anyone else tested this FSW failure scenario?

Reply:

Thank You for your Post on Partner Forum.

Can you Please go on the Servers hosting Exchange 2010 DAG go on FailOver Clutering Snap In and check that the quorum is Set to MAJORITY NODE SET

Also Can you tell that have you Placed the FSW on a 3rd machine besides the 2 DAG NODEs(I know the question sounds stupid but just want to confirm things)

can you please change the QUESTION TYPE from disscussion to question

Regards

Fazal M Khan


------------------------------------
Reply:

I agree with Fazal, from one of the servers that is in the DAG, run add the "Failover Cluster Manager" mmc snap-in, if you click on the root of the DAG in the left-hand tree structure, you should get a summary page on the right window, next to Quorum Configuration it should say "Node Majority".

In "Node Majority" mode, the DAG can sustain one node failure.  I think this is the default.  

The other 3 options, "Node and Disk Majority", "Node and File Share Majority", and "No Majority: Disk Only" will fail if the FSW is unavailable.


Shon

------------------------------------
Reply:

Yes, the FSW is on a separate machine with the appropriate rights configured. (http://www.thecabal.org/2009/12/busting-the-exchange-trusted-subsystem-myth/) It works well as long as the FSW is up. The Quorum Configuration is set to "Node and File Share Majority" Exchange Server 2010 configures it this way to utilize the File Share Witness.

The quorum model is automatically adjusted by Exchange Server:
A Node Majority quorum model is used for DAGs with an odd number of members.
A Node and File Share Majority quorum is used for DAGs with an even number of members. (Mine is a simple two node DAG cluster.)
The witness directory and share are automatically created by Exchange when needed.
http://www.shudnow.net/2009/11/18/exchange-2010-rtm-dag-using-server-2008-r2-%E2%80%93-part-4/

In "Node Majority" mode, the DAG can sustain one node failure.  I think this is the default.

This statement is correct only in a DAG cluster with an odd number of members. Node Majority quorum configuration does not need a witness directory.  I tested this two node DAG cluster with Node Majority quorum configuration and it is unable to use an FSW and since there are only two nodes, if one goes down the whole thing fails.

So in other words, According to Microsoft, in a model with only two Exchange servers requiring a witness, the FSW is a single point of failure. This is not good for smaller implementations that can't afford more than two Exchange servers.

--------------------------------------------------------------------------------

Josiah


------------------------------------
Reply:

When you have two servers in the DAG, the cluster model is supposed to use the File Share Witness (aka Node and File Share Majority). You can confirm if this is true by opening up cluadmin and looking at 'Cluster Core Resources'. There should be both a Cluster Name that's online (with dependent IP resources) and a File Share Witness resource that's online.

When the second server is added, the quorum model should have been changed to use the FSW. If this failed, the whole Add operation will still succeed, but it prints out a warning. I felt that this was better than failing the entire Add operation. To fix up the quorum automatically, you can use the `set-databaseavailabilitygroup` cmdlet.

In a 2-server+1-FSW model, the FSW server can be rebooted and the DAG remains up. Or you can reboot one of the servers and if the FSW is up, then the DAG remains up. I've done this many times. I've never seen it act as a single point of failure. If you reboot the FSW server and one of the servers, then you will lose quorum and ActiveManager will dismount the databases.

-martin


Legal Stuff: This posting is provided "AS IS" with no warranties, and confers no rights.

------------------------------------
Reply:
Is your FSW your DC?

------------------------------------
Reply:

Can you Please Answere to the question of jader3rd

It seems Relevant because there are certain issue when FSW is placed on a DC

Regards

Fazal M Khan


------------------------------------
Reply:

yes, the FSW is on a DC. What are the known issues when it's on a DC? If that is the case, I can easily move it off the DC.

Martin, what you are explaining is exactly how I expected things were suppossed to work. I'll try using the `set-databaseavailabilitygroup` cmdlet.


------------------------------------
Reply:

I can confirm that having the FSW on a DC is not recommended. I figured this out the hard way (no mention of this in the technet documentation). To increase reliability of your FSW, if possible, put it on a server at a 3rd site. I put mine in my datacenter site on a server that is never rebooted (Win 2008 Ent, not a DC, just member server). Both Exchange nodes at Site A and Site B can independantly reach my Site C FSW via VPN either directly or by hopping over another VPN tunnel. The FSW is small, so not much bandwidth is required. So far, this has proved to be a very viable solution. Its also possible to define an alternate FSW with the Shell...but I didn't have much luck with that feature.

There certainly are some challenges with a 2 node Exchange 2010 DAG System. I figured out how to get mine to work based on the company needs in an Active/Active configuration for MailBox and CAS roles. It was very tricky and required a lot of trial and error. My best suggestion is to 1) Read all of the DAG and Site Resiliency documentation about ten times to fully understand all of the capabilities, then pick and choose what you need. 2) Create a test mailbox database and migrate or create just one or two accounts to it. You can use that account to test your failover scenarios and get it set up right before you migrate all users and put the system in production. Also, the configuration scenarios that are documented in the literature may not explicitly cover your exact need. I ended up having to take bits and pieces from the MSFT supported scenarios. In the end...its working beautifully. A bit of a Frankenstein...but works nevertheless. =)

Good luck!

-Brad


------------------------------------
Reply:

There are no issues when your FSW is on your DC. I've seen plenty of Exchange admins post blog entries about how that's how they do it.

The single point of failure in your topology isn't the FSW, it's having one DC, and taking down that DC.


------------------------------------
Reply:
You wouldn't catch me recommending a DC for the FSW outside of a lab.
Neil Hobson, Exchange MVP

------------------------------------
Reply:

Thank you for your post

Well I have Seen FSW on DCs and trust me not one of them is Without issues.

So i would Suggest If you have an Opyion try to Place it on Some other Machine and see if the issue Appears

I am  Positive that the issue would be Resolved

Regards

Fazal M Khan


------------------------------------
Reply:

The single point of failure in your topology isn't the FSW, it's having one DC, and taking down that DC.

My lab topology was suppossed to eliminate as many known SPOF as possible. I have two DC's in the lab and taking down the one with the FSW still causes Exchange to fail, so not sure if it's the DC or the FSW that's causing the SPOF failure. 

How does an Alternate Witness server work? Is it automatic failover to the alternate witness share or would that have to be done manually? There's not much documentation in technet on this.


------------------------------------
Reply:

I moved the FSW off the DC to another member server which is not a DC. Now the FSW is not a single point of failure (SPOF).

Now when I disable the network adapter on DC01, my first reaction was that DC01 is the SPOF. My DC02 must not be working correctly, however I think it is just the way the EMC is acting after changing from DC01 to DC02

When I launch the EMC with DC01 down is gives the following Microsoft Exchange errors: "An error caused a change in the current set of domain controllers. It was running the command 'Get-FederationTrust'."

"An error caused a change in the current set of domain controllers. It was running the command 'Get-OrganizationConfig'."

"An IIS directory entry couldn't be created. The error message is Access is denied. HResult = -2147024891 It was running the command 'Get-OwaVirtualDirectory'.

Some things do not display correctly in the EMC with DC01 down, but under Server Configuration | Mailbox | Database copies, they are all either Mounted or Healthy.

Also Get-MailboxDatabaseCopyStatus cmdlet in the EMS yields the same results. The only issue is it's not happy with the DC01 being down even though DC02 is up.


------------------------------------
Reply:

Have you specificed the Domain Controller settings in EMC? Click on each server and click Modify Configuration Domain Controller in the upper right action pane. Make sure it is set to default instead of one specific DC. If you force it to one and that one does down then you're screwed. Settings to default allows it to use any available DC.

-Brad


------------------------------------
Reply:
Thanks, I confirmed it is already set to "Use a default domain controller"

------------------------------------
Reply:
If you open up an instance of PowerShell and run Add-PSSnapin *e2010, does Get-MailboxDatabaseCopyStatus work then?

------------------------------------
Reply:
Get-MailboxDatabaseCopyStatus cmdlet is showing mounted or healthy, so on that part we're good.

------------------------------------
Reply:

Hi Josiah,

 

I was willing to put a WFS on DC for a test ride (yes, i know it is not the recomended scenario), but I'm uncertan if that works when you reboot DC/WFS server. Have you succeeded to isolate the problem ? Right now I have one DAG member beeing DC, antoher DAG memeber and a WTS server. When I turn off the WFS, DAG is still online and everything is working. 

 

Cheers,

 

Andrija


Of all the things I lost, I miss my mind the most...

------------------------------------
Reply:

Sorry for answering it today as this is an old thread but I am just looking at the question. Is the 2nd DC a GC too?


Abdul Ali Khan Systems Consultant Premier Systems (Pvt.) Ltd


------------------------------------

NTFS folder permissions

Hi

Is there any IP og smart way so set ntfs folder permission and share permissions, from orhcestrator.
Or is powershell the option to use ?

/Kristoffer  

  • Changed type Robert_Hearn Wednesday, May 9, 2012 5:08 AM general query

Reply:
Hi, I have not seen a integration pack for that, sorry. But it is possible to do with Powershell. I think I have some ideas for that too, was working on a IP like that some time ago. If I find it I will upload it to my blog.

Anders Bengtsson | Microsoft PFE | blog at http://www.contoso.se


------------------------------------
Reply:

Hi, I also needed an activity to deal with permission, but never found any IP to do so.

I did it with PowerShell and my runbook works fine like that. It creates a user, then creates a folder on a network share, then runs my .NET script and finally updates the user with this folder as his Home Direcotry.

But if someone knows something about a IP that would do the job, I'm also interested to hear about it !


------------------------------------

logshipping

in which scenario logshipping becomes out of sync?


Reply:

It is possible that you set a frequency of interval to apply log files to the standby server . If job is scheduled for every 30 minutes  it is possible to be out of sync for 30 minutes till you apply all log file backups manually (in terms of failure)

http://sqlcat.com/sqlcat/b/technicalnotes/archive/2009/02/24/scheduling-sub-minute-log-shipping-in-sql-server-2008.aspx


Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/


------------------------------------

How may I check redirected access ??

Hi,

I've built a two nodes cluster on Hyper-V Windows 2008 R2 SP1 , by using Cluster Shared Volumes.

Storage is an MS ISCSI Target 3.3 ; the nodes are connected to iSCSI server via a dedicated network.
I'm able to force redirected accesses via Failover Cluster Manager menu.
Now , I want to force redirected accesses by disabling the iSCSI network adapter on one node since the CSV is owned by this node.

I'm not able to see the CSV status changed to redirect access  ; the VMs hosted by this node are still running fine.
I notice that it takes a long time ( 2 minutes at least) before the iSCSI network is shown as down in the Network part of the Failover Cluster Manager menu.

Nevertheless the status of the iSCSI network on this node is down , no redirected access .

Am I right to hope getting redirected accesses with such a test ?

Below , networks Metric and roles.

Name                   Metric                   Role
----                       ------                   ----
CSV                    1000                      1
iSCSI                  10100                    0
LAN_Access         10300                    3

Thanks for help.

Regards,

J.P.


  • Edited by ribeauville Tuesday, March 27, 2012 8:24 PM

Reply:
Hi,
 
Please have a look at the following links.
 
 
 
How cluster shared volumes Direct and Redirected IO works
http://itinfras.blogspot.com/2010/04/cluster-shared-volume-csv-is-great.html
 
Important Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
 

Vincent Hu

TechNet Community Support


------------------------------------

The ‘DisplayName’ attribute is not declared.

The ‘DisplayName’ attribute is not declared.

When I attempt to activate a solution in SharePoint 2010 I get an error that reads   “The ‘DisplayName’ attribute is not declared.”  This error occurs when I save a site as a template and in the site I have a site column of type choice.   For some reason when you add a column and make its type MultiChoice the wsp writer adds the attribute DisplayName. 
<CHOICES> <CHOICE DisplayName="one">one</CHOICE> <CHOICE DisplayName="two">two</CHOICE> <CHOICE DisplayName="three">three</CHOICE> </CHOICES>
The DisplayName attribute is not part of the wss.xsd so when you try to activate the solution you receive an error.
I opened the wss.xsd from the system folder “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML\wss.xsd” and made the following changes.
<!-- added by Marcellus Duffy to fix the error -->
 <xs:complexType name="CHOICEDEF" mixed="true"> <xs:attribute name="DisplayName" type="xs:string"/> </xs:complexType> <!-- end addition --> <!-- modified by Marcellus Duffy--> <xs:complexType name="CHOICEDEFINITIONS" mixed="true"> <xs:sequence> <xs:element name="CHOICE" type="CHOICEDEF" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence> </xs:complexType> <!-- end modification -->
After saving these changes and doing an iisreset I was able to active the solutions with choice columns that were written by the save as template wizard.
http://duffyconsultingllc.com/SharePoint2010.aspx

Reply:

Marcellus,

It looks by your post you solved the issue.  Am I correct.


Keep Moving Forward, Scott Ellis CFP,MCP,MCTS,L.L.M. Solutions Architect


------------------------------------

DPM 2010 Service Pack 1 Wish List

Well, DPM 2010 has been out long enough that we consumers can dream up a "wish list" for new features in DPM 2010 Service Pack 1. So, here goes...

1) Item-level Restore from Bare Metal Backups. Just like ILR is available for backups of Hyper-V VHDs, IRL should be available from the VHD files made from BMR backups. This functionality is already available using Windows Server Backup in WinSrv 2008 R2.

2) Co-location of Bare Metal Backups. Just like with co-location of Hyper-V VHDs, this would simplify the storage of BMR backups and significantly reduce the amount of disk space used for BMR backups of numerous servers.

3) Provide an Option in the Administrator Console GUI to Manually Delete Specific Recovery Points. This is sorely needed because the steps required in the DPM Management Shell to manually delete a recovery point are way too cumbersome.

4) Support for Search and Other Services Used in SharePoint 2010. As this TechNet article shows, DPM 2010 cannot protect the search in SharePoint 2010. This, among other reasons, led our SharePoint admins to decide not to use DPM 2010 to protect SharePoint 2010. Instead, they'll just use SharePoint's native backup and restore functionality. (http://technet.microsoft.com/en-us/library/cc261687.aspx#ChooseWhatProtect)

5) Support for SQL Server 2008 R2 for the DPM Database. Needed obviously for support of this latest edition of SQL Server.

These are just my main "wishes." Please feel free post comments to this thread and add your own wish list items. Perhaps we just may get one or two of these wishes answered in DPM 2010 SP1...

-Taylorbox

  • Edited by Taylorbox Tuesday, August 10, 2010 1:48 AM

Reply:

Hi,

 

Some nice ideas, please fill out the following survey, however, the SP will be limited to fixing bugs and most likely will not contain any new features / capabilities.

Please take some time to complete the survey (Future Enhancements to DPM) and share your future needs with the DPM Product Team.

 

Survey Link: http://connect.microsoft.com/site840/Survey/Survey.aspx?SurveyID=11130


Regards, Mike J [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

------------------------------------
Reply:

Interesting. I'm surprised to hear that there may not be new features in DPM 2010 SP1. DPM 2007 SP1 introduced support for protecting Hyper-V, Exchange 2007 SCR, mirrored SQL Server databases, cross-forest data protection with two-way trust, SharePoint 2007 search, and more. Similarly, Windows Server 2008 R2 SP1 will introduce Dynamic Memory and RemoteFX. Thus, one can understand why customers are used to expecting new features/capabilities in Service Packs nowadays.

I was under the impression that the bi-monthly hotfix rollups/cumulative updates/QFE's handle the bug fixes, and the Service Pack takes all of those bug fixes and adds new features also. But, perhaps I should instead be hoping for DPM 2010 R2.  :o)  It would really be a disappointment to have to wait until DPM 2013 before getting new features.

I've already filled out that survey, but there's more to add now...

-Taylorbox


------------------------------------
Reply:

Long term backup to disks and USBs.


------------------------------------
Reply:

I totally agree with Taylorbox and especially points 1) and 2) are major issues (at least for our company).

After months of using DPM 2010, I would add few more things (beside what has been mentioned here or is in the survey which I've filled in the past):

a) more clear error/alert messages - spitting out 3 error codes in one message is nice, but not so nice if you can't really understand/decypher what's wrong from message. DPM should also be able to translate the WSB errors to readable format, so that we don't have to go digging to target machine and search for WSB errors in the eventlog when it's DPM that has a problem.

b) overall better product "integrity" - by this I mean that DPM is very dependant on WSB and VSS and especially VSS seems to be very fragile component in Windows and when we encounter a problem with VSS during backup and DPM team says something along the lines of "oh, it's a problem in VSS? ... erm ok, please go contact the support for VSS, it's not our problem", then that's not so cool.

c) not sure if this will ever change, but the idea of creating a disk volume for every protected datasource (except for co-located SQL as of now) is terrible IMO - currently DPM has created 111 dynamic volumes on our 5TB backup disk and we're only backing up half of the servers with DPM so far... You don't usually have to mess with those volumes at all, but if you ever DO, then it's a mess. Using the windows GUI is plainly impossible (even if to get information on the volumes), so the only option is using command-line diskpart or some other command-line tool. Also, if protection groups or disk allocation changes frequently, this also subsequently creates even more volumes (I call this volume-level fragmentation :D)

Note: this post is NOT meant as negative criticism


------------------------------------
Reply:
I'd also like to see a change in the recovery interface that would allow the admin to change the recovery point date (or time) without requiring searching down through the folders and sub-folders to find the file to recover a second time. Sometimes the user does not know when the file was last changed and it can take some trial and error to locate the right information the way it is today.

------------------------------------
Reply:
long term backup to RDX drives

------------------------------------
Reply:

I would like to see changes on the end user recovery.
The users shouldn't need to be admin of their workstation and even if they should we should be able to add a group to the Local Administrator group.

 

I'd like to see real time bandwidth inside the console.


------------------------------------
Reply:

I think the reporting interface needs some work. We should be able to create custom reports and I think the format of the reports is not all that great. I also agree that the error codes and troubleshooting needs help. DPM usually works flawless for me but when it doesnt work it can be a huge pain figuring out what is wrong from the cryptic error codes.

 

 


------------------------------------
Reply:

Better integration of standalone tape drives and Superloaders e.g. automatically eject tapes after successfull backups, notification if tape drives needs cleaning.

We are running dpm servers at different customer sites where there is no need to have ultra big tape drives because the amount of data written to tape and retention policies for tape backup aren't really big. One Tape-Backup per week to LTO4 or LTO5 Tapedrives is mostly enough at the amount of data point of view. Non-IT on-site staff is changing tapes the day after tape backup day. It would be helpfull for the non-it staff to easily take the tape and put in a new one.

 


------------------------------------
Reply:

Microsoft is already thinking about the next release (Vnext).
Share your thoughts on the Future Enhancements to DPM with the DPM Product Team.

Survey Link: http://connect.microsoft.com/site840/Survey/Survey.aspx?SurveyID=11130


------------------------------------
Reply:

I would like to see a wizard to manually create and restore replicas.

The process in the following kb could be made into an easy to follow wizard.

http://technet.microsoft.com/en-us/library/ff399552.aspx

Kevin


------------------------------------
Reply:
darcko, I guess you posted to a wrong forum,  this is Data Protection Manager 2010 SP1 wish list.

------------------------------------
Reply:
didn't know sorry

------------------------------------
Reply:

Wishlist:

1. Running DPM on Hyper-V with the ability to backup other hyper-v machines

2. Long term backup to disk (iSCSI and external SATA/USB)

3. Mailbox Level Restore on Exchange 2010

4. Backup of Exhange 2010 Mailboxes as PST Files

5. Export a self contained backup to external disk. store the recovery point together with an executable that can be started and shows the content on the disk, and allows the extraction of items (files/folders, SQL Backups, Exchange Backups) to another disk. Or the files on the external disk are stored in the primary backup format of the application, files as files, sql DBs as SQL Backups, Exchange Mailboxes as PSTs, ...

This feature will allow the long term storage of a complete backup in an external location, like a secondary Datacenter or a banksafe.


------------------------------------
Reply:

+1 for automatically ejecting tapes after backup.

We have just switched to DPM from Ultrabac and are still using the old skool method of daily tape rotation.
Every night we backup to tape and then replace the tape in the morning.
When we were using Ultrabac we just needed to swap the tape in the morning. Took 30 seconds.
Now we have to press the eject button and wait a few minutes for the tape to spit out.


------------------------------------
Reply:

I need to be able to better manage my tape media

I have described it in http://social.technet.microsoft.com/Forums/en-CA/dpmpowershell/thread/1f906fad-6ba2-4cfd-a8ef-b8d8459240f8?prof=required

From PowerShell I would like to know when a specific tape is going to "expire" so that I can schedule its safe return into the Library :-)

 


------------------------------------
Reply:

Support for TFS 2010

In DPM gui, ability to recover selected databases instead of individual database at a time.


------------------------------------
Reply:

Hi,

1. better memory management (we have some DPM servers that consume huge amounts of memory because of VSS

2. better performance when several tape backups are running at the same time

3. brick level restore for exchange items

4. more reports, customized reports

5. GUI integration for maintenance jobs (library inventory)

6. ability to see scheduled jobs in one view

regards

/bkpfast


------------------------------------
Reply:

Hi,

not sure if MSFT is still following this thread, but it might be worth pointing out that DPM 2012 is in beta stage now, so it would be nice telling us if these requested changes will (if at all) implemented in 2010 SP1 (will it even be released?) or 2012.


------------------------------------
Reply:

Hi,

We are actively monitoring this thread, and some good ideas have been suggested.  We will not have a formal SP1 for DPM 2010, but instead we're just releasing rollup patches for bugs.  We will not be releasing any new features in DPM 2010, and DPM 2012 is currently feature complete, so some of these ideas will need to be considered for DPM V-next.   However, I encourage you to please keep the ideas coming and if we see enought requests for the same feature that will have an impact on the decision to include it or not.

 


Regards, Mike J. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights.

------------------------------------
Reply:
Thanks for the update Mike.

------------------------------------
Reply:
1)  Continually retry synchronisation/rec point failures
2)  Backup-To-Tape management totally reworked/rethought. (Whole different thread here!)
3)  Ability to mount/boot backups in a sandbox HyperV environment on the DPM server.  Proves that backups are sound and could also be used for business continuity in a DR scenario especially if 2nd DPM server is in a the DR datacentre.
4)  BMR for Windows 7 - why not there already??
5)  Better (full) support for Workgroup/Untrusted/Perimeter networks.
6)  message level recovery for Exchange straight into live database(albeit using RSG in the background and all run by scripts).
7)  Ability to mount replica volumes on the DPM Server.

------------------------------------
Reply:

To add to what has already been suggested here.

1. An option to enable tape jobs to automatically retry every x minutes if the drive "needs cleaning". Our tape library auto-cleans itself, but DPM just fails the job rather than retrying. Very annoying.

2. Better disk allocation. The auto grow volume option can become a nightmare because you can't shrink the replica volume once it has grown.

3. Easier management of protection groups. For example, if I want to add a member to a PG I shouldn't have to click next through the whole wizard. 


------------------------------------
Reply:
XenServer support would great!

------------------------------------

Handy Microsoft Tools

Microsoft has a bunch of hidden tools that i find time and time again, but no one seems to talk about them much.

I've recently discovered Remote Desktop Connection Manager, and think its wonderful.

http://www.microsoft.com/download/en/details.aspx?id=21101

What tools do you use on a day to day basis that you've found just sitting quietly on the Microsoft site?


Reply:

The sysinternals suite is invaluable for both developing new systems & troubleshooting existing ones...

http://technet.microsoft.com/en-us/sysinternals/bb545021


Douks


------------------------------------
Reply:
The SysInternal Tools are great. Win7 has a bunch of little known features like SecEdit and PSR. Also they have developed a few APP-V Add-ons if that's your thing like DSC Tool

Blog: rorymon.com Twitter: @Rorymon


------------------------------------
Reply:

@Rorymon - thanks for PSR, glad i found that out. I can't even begin to describe how helpful that is.

@Douks - Oldies but Goldies


------------------------------------
Reply:

Hello,

Thanks for the link


------------------------------------
Reply:

Microsoft Baseline Security Analyzer 2.2

Nice tool to determine the state of security on your devices

Robert Mann MCSE, MCSA, HP ASE


  • Edited by RobertMann Saturday, March 31, 2012 5:01 PM

------------------------------------

ASP.NET to Sharepoint developer transition.

Hi,

When I first started developing sharepoint as a developer coming fro ASP.NET backgraound I had difficulties in understanding sharepoint development. A few days ago I found the fallowing blogpost (by Peter Vogel) which shows the big picture as a whole but in a summary format  and I wanted to share. I think it will be of great help for new beginners.

http://visualstudiomagazine.com/Articles/2011/02/01/Making-the-SharePoint-Transition.aspx?Page=1

Thank you.


Our motto ist bonum Facimus.

DNS Issues?

Hi, i am having some issues with DNS. I have the domain megahosting.co.nz and am trying to point it to my name servers ns1.megahosting.co.nz. My problem is i cannot get my name servers to resolve my public IP. I have forwarded port 53 TCP and UDP to my server hosting the DNS records.

I have created a zone called megahosting.co.nz, and in that zone have created a new A record called NS1 with my PUBLIC IP. I have also created 4 MX records.

My questions are,

What would be my SOA server? also, how long after i make zone changes does it take to update it on the internet. I find sometimes if i try refresh the zones it says its locked for update.

Im stuck sonewhere in the middle on this DNS thing. I updated the domain to point to my name servers via my domain hosts control panel, and have created the zone and records on my server to match that of the domain. Is there anything else i need to do in the middle to get DNS to work?? like register my domains with the root hint servers or anything like that?

Below is my current configuration to zone megahosting.co.nz

Thanks!

  • Edited by deanfourie Thursday, March 22, 2012 8:30 AM

Reply:

Hi, this is not a console in which you can enter random commands and expect the androids to obey your command. If you have a question then state your problem and describe where you are stuck exactly. For the time being:

DNS HELP: Domain Name System 

The Domain Name System (DNS) is a hierarchical, distributed database that contains mappings of DNS domain names to various types of data, such as Internet Protocol (IP) addresses. DNS allows you to use friendly names, such as www.microsoft.com, to easily locate computers and other resources on a TCP/IP-based network. DNS is an Internet Engineering Task Force (IETF) standard.

Featured Content


------------------------------------
Reply:

Hi,

DNS HELP

Hello,

please describe real problems with facts and detailed inforamtion from event viewer, error messages etc. Also include use OS versions SP/patch level and how your network is built.


Best regards

Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


------------------------------------
Reply:

haha sorry guys, ive been having problems posting so i needed to make sure it would save before i wrote the whole post.

Sorry :S


------------------------------------
Reply:

Hello,

to understand this correct, the domain internal and external DNS names are the same?

Then you have to configure split brain DNS:

http://www.techrepublic.com/blog/networking/set-up-split-brain-dns-with-active-directory-integrated-zones/1362

http://msdn.microsoft.com/en-us/library/ms954396.aspx

http://support.microsoft.com/kb/300679 http://technet.microsoft.com/library/Cc959282

Also see: http://technet.microsoft.com/en-us/library/cc759036.aspx


Best regards

Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


------------------------------------
Reply:

Thanks for the reply!

No, not local and external. External only. I am not using this DNS server locally. I just want to set it up so my domain name www.megahosting.co.nz points to my server.

So i go to my the company that hosts my domain, in this case onlydomains.com, and edit the DNS records to point to MY name servers. So i enter ns1.megahosting.co.nz and ns2.megahosting.co.nz as it requires atleast 2 name servers.

I need to setup my servers DNS so that ns1.megahosting.co.nz can be resolved externally.

IE, if i do a NSLOOKUP on my IP 122.xx.55.xxx, i get hostname ns1.megahosting.co.nz, then if i visit my domain (megahosting.co.nz) it resolves to my IP, where i have my site hosted.

Im pretty sure im close, im just stuck somewhere in the middle? maybe not sure exactly what records to create, whether or not to enter external IPs in the NS and A records etc.

Thanks heaps!


------------------------------------
Reply:

Hello,

please contact your ISP as your ISP has to configure its own DNS servers also, to make sure your domain name could be resolved.


Best regards

Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://msmvps.com/blogs/mweber/

Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.


------------------------------------
Reply:

Hi,

I agree with Meinolf. You need register your External DNS domain name first, then configure your Internet facing DNS server to host the zone with the domain name.

For more detailed information, please refer to article and a same question answered at the following thread.

Creating an Internet DNS Domain Name
http://technet.microsoft.com/en-us/library/cc787342(WS.10).aspx

Host your own DNS server on the Internet   (Check Answers)
http://social.technet.microsoft.com/Forums/en-US/winserverNIS/thread/64d0b0eb-620a-4b82-9fbe-dbeeaf5c2ada/


Best Regards,
Aiden


Aiden Cao

TechNet Community Support


------------------------------------
Reply:

Guys thanks so much for your help!

I thought there was something in the middle i was missing. So my ISP needs to create a entry to forward DNS for that domain to my server.

Im not the ISP account holder :( ill see what i can do

Thanks!


------------------------------------
Reply:

So apparently i have to delegate the new name servers in my DOMAIN host control panel, which i did.

I delegated to the name servers

ns1.megahosting.co.nz and ns2.megahosting.co.nz and supplied IPs, and then those name servers are registered with the Domain Registrars.

It appears to have worked. ns1.megahosting.co.nz now resolves my public IP.

My questions are

1. My DNS records dont seem to UPDATE? when i create MX and A records for mail ie. A - smtp.megahosting.co.nz and A: pop3.megahosting.co.nz and MX: mx1.megahosting.co.nz etc etc, they are not updated when i do a nslookup.

2. whatsmydns.net shows that my domain is not registered with any registrars

3. for ns2.megahosting.co.nz, i need to set it up as a SECONDARY ZONE correct?

4. and finally, my DNS is currently set to do not allow updates. This is unsafe correct?

Thanks guys!


------------------------------------
Reply:

Guys, please help me with this as this is the biggest problem right now, as i have never done this before. Its new to me!

Thanks!


------------------------------------
Reply:
Thanks for your help guys! Really.....!

------------------------------------

PdhComputeCounterStatistics - Can performance counters be reset, rather than removed and added again?

Hi,

Is it possible to reset PDH Performance counters, rather than removing and adding again? My scenario is the need to capture min,mean and max statistics every hour from various active performance counters using PdhComputeCounterStatistics e.g. output the average %CPU usage for a specific process every hour, resetting the statistics each hour.

One other option I'm considering is using PdhSetQueryTimeRange, however I'm trying to avoid the need for re-adding counters every hour. Is using PdhSetQueryTimeRange a recommended option for the above scenario?

Any feedback greatly appreciated.

Regards,

d4rcy

  • Changed type d4rcy Tuesday, May 8, 2012 9:25 AM No longer a question

Reply:

Hi,

my apologize, not sure if I understand the question right.

In the past I think I work on a simular senario. In this case we build a simple task and let run them per hour. So may be you can buil a smal, own cmd incl. your performance counter query. And let run them by using the windows taskmgr.

Best regards

Rainer


RPA


------------------------------------

Looking for a good way to store successful and failed processing in one place for logging

I am writing a script to reset passwords on a set of services on multiple servers. Ideally, the script will

  1. connect to the server
  2. validate the service exists
  3. if it exists check to see if it's disabled
  4. if it's not disabled, reset the password and restart the service
  5. if it is disabled, reset the password and not restart the service
  6. whether it succeeds or fails I need to log the results

I have a series of built in checks, but, I am not sure how to handle the logging. My first thought it to write to an object for each result (all the errors and the one success).  So far I have the following (pretty long):

<# .AUTHOR Will Steele (wlsteele@gmail.com) .NOTES To get parameters for the Win32_Service change method visit the following link: http://msdn.microsoft.com/en-us/library/windows/desktop/aa384901(v=vs.85).aspx This function passes $null for all but three parameters: Argument 1: DisplayName Argument 7: StartName Argument 8: StartPassword .LINKS #> #region Parameters [CmdletBinding()] param( [Parameter( Mandatory = $false )] [ValidateScript({Test-Path $_})] [String] $serverfile = 'C:\test\server.txt', [Parameter( Mandatory = $false )] [String[]] $servicedisplaynames = @("Print Spooler"),

[Parameter( Mandatory = $false )] [String] $serviceaccount = 'someuser', [Parameter( Mandatory = $false )] [String] $servicepassword = 'somepassword', Parameter( )] [String] $logpath = 'C:\updateservicepassword.log' )

Setup is Split Across Multiple CDs

Setup is Split Across Multiple CDs Lately I've seen a bunch of people hitting installation errors that have to do with the fact th...